![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Static Protected Member Functions | |
| static void | CheckValues () |
| range 0..180, randomized offset of direction to make it less acurate | |
| static | GetCurrentType () |
Static Protected Attributes | |
| static float | m_BreakPointBase |
| static float | m_DistanceAdjust |
| range 0..1, a point where the fading starts | |
| static float | m_DurationMax |
| static int | m_RotationOverride |
| static float | m_Scatter |
| m_Type | |
Private Member Functions | |
| void | HitDirectionEffectBase () |
| void | ~HitDirectionEffectBase () |
| void | CalculateArrowPosition (float timeslice=-1.0) |
| bool | DurationCheck () |
| override void | FinalizePositionCalculation () |
| void | FinalizePositionCalculation () |
| specific handling on individual indicator type | |
| override void | FinalizePositionCalculation () |
| override void | FinalizePositionCalculation () |
| override HitDirectionImagesBase | GetImageData () |
| HitDirectionImagesBase | GetImageData () |
| override HitDirectionImagesBase | GetImageData () |
| override HitDirectionImagesBase | GetImageData () |
| void | Init (DayZPlayer player, float hit_direction, float intensity_max) |
| Called manually after object spawn. | |
| void | SetIndicatorPositon (float timeslice=-1.0) |
| override void | SetIndicatorRotation (float timeslice=-1.0) |
| void | SetIndicatorRotation (float timeslice=-1.0) |
| override void | SetIndicatorRotation (float timeslice=-1.0) |
| override void | SetIndicatorRotation (float timeslice=-1.0) |
| void | Update (float timeslice) |
Private Attributes | |
| const float | DURATION_COEF_MIN = 0.6 |
| const float | INTENSITY_MIN = 0.6 |
| float | m_AngleRad |
| float | m_AngleRadPrev |
| float | m_BreakPoint |
| float | m_Duration |
| float | m_HitDirection |
| Widget | m_Image |
| ref HitDirectionImagesBase | m_ImageData |
| bool | m_Initialized |
| float | m_IntensityMax |
| Widget | m_LayoutRoot |
| DayZPlayer | m_Player |
| float | m_PosX |
| float | m_PosXScreenEdge |
| float | m_PosY |
| float | m_PosYScreenEdge |
| int | m_SizeXEnf |
| int | m_SizeYEnf |
| float | m_SmoothVel [1] |
| float | m_TimeActive |
Static Private Attributes | |
| static int | m_Color |
| static int | m_ID |
| static int | m_Mode |
| static bool | m_ServerOverrideEnabled |
Definition at line 2 of file hitdirectionarrow.c.
|
inlineprivate |
Definition at line 32 of file hitdirectionbase.c.
References GetImageData(), m_AngleRad, m_Image, m_ImageData, m_Initialized, m_LayoutRoot, m_PosX, m_PosY, and m_SmoothVel.
|
inlineprivate |
Definition at line 75 of file hitdirectionbase.c.
References m_LayoutRoot.
|
inlineprivate |
Definition at line 123 of file hitdirectionbase.c.
References Math::Clamp(), Math::Cos(), Math::DEG2RAD, FinalizePositionCalculation(), g_Game, GetScreenSize(), m_AngleRad, m_AngleRadPrev, m_DistanceAdjust, m_HitDirection, m_Initialized, m_Player, m_PosX, m_PosXScreenEdge, m_PosY, m_PosYScreenEdge, m_SizeXEnf, m_SizeYEnf, m_SmoothVel, Math::ModFloat(), Math::NormalizeAngle(), Math::PI, Math::PI2, Math::Sin(), and Math::SmoothCD().
|
inlinestaticprotected |
range 0..180, randomized offset of direction to make it less acurate
sets override values, or defaults
Definition at line 181 of file hitdirectionbase.c.
References CfgGameplayHandler::GetHitIndicationBreakPoint(), CfgGameplayHandler::GetHitIndicationIndicatorColor(), CfgGameplayHandler::GetHitIndicationMaxDuration(), CfgGameplayHandler::GetHitIndicationMode(), CfgGameplayHandler::GetHitIndicationOverrideEnabled(), CfgGameplayHandler::GetHitIndicationScatter(), CfgGameplayHandler::GetHitIndicationTypeID(), m_BreakPointBase, m_Color, m_DistanceAdjust, m_DurationMax, m_ID, m_Mode, m_RotationOverride, m_Scatter, and m_ServerOverrideEnabled.
Referenced by PlayerBase::UpdateHitDirectionValues().
|
inlineprivate |
Definition at line 81 of file hitdirectionbase.c.
References m_Duration, and m_TimeActive.
|
inlineprivate |
Definition at line 11 of file hitdirectionarrow.c.
References Math::Cos(), m_AngleRad, m_DistanceAdjust, m_PosX, m_PosY, m_SizeXEnf, m_SizeYEnf, and Math::Sin().
Referenced by CalculateArrowPosition().
|
inlineprivate |
specific handling on individual indicator type
Definition at line 158 of file hitdirectionbase.c.
|
inlineprivate |
Definition at line 11 of file hitdirectionspike.c.
References Math::Cos(), m_AngleRad, m_DistanceAdjust, m_PosX, m_PosY, m_SizeXEnf, m_SizeYEnf, and Math::Sin().
|
inlineprivate |
Definition at line 11 of file hitdirectionsplash.c.
References m_PosX, m_PosXScreenEdge, m_PosY, and m_PosYScreenEdge.
|
inlinestaticprotected |
Definition at line 206 of file hitdirectionbase.c.
References ErrorEx, m_ID, and m_Type.
Referenced by Hud::SpawnHitDirEffect().
|
inlineprivate |
Definition at line 4 of file hitdirectionarrow.c.
Referenced by HitDirectionEffectBase().
|
inlineprivate |
Definition at line 73 of file hitdirectionbase.c.
|
inlineprivate |
Definition at line 4 of file hitdirectionspike.c.
|
inlineprivate |
Definition at line 4 of file hitdirectionsplash.c.
|
inlineprivate |
Called manually after object spawn.
Definition at line 45 of file hitdirectionbase.c.
References CalculateArrowPosition(), Math::Clamp(), DURATION_COEF_MIN, INTENSITY_MIN, m_BreakPoint, m_BreakPointBase, m_Color, m_Duration, m_DurationMax, m_HitDirection, m_Image, m_Initialized, m_IntensityMax, m_LayoutRoot, m_Player, m_Scatter, Math::Pow(), Math::RandomFloatInclusive(), Math::RandomIntInclusive(), SetIndicatorPositon(), and SetIndicatorRotation().
Referenced by Hud::SpawnHitDirEffect().
|
inlineprivate |
Definition at line 161 of file hitdirectionbase.c.
References m_LayoutRoot, m_PosX, and m_PosY.
|
inlineprivate |
Definition at line 20 of file hitdirectionarrow.c.
References m_AngleRad, m_LayoutRoot, m_RotationOverride, and Math::RAD2DEG.
|
inlineprivate |
Definition at line 159 of file hitdirectionbase.c.
|
inlineprivate |
Definition at line 20 of file hitdirectionspike.c.
References m_AngleRad, m_LayoutRoot, m_RotationOverride, and Math::RAD2DEG.
|
inlineprivate |
Definition at line 18 of file hitdirectionsplash.c.
References m_LayoutRoot, m_RotationOverride, and Math::RandomIntInclusive().
|
inlineprivate |
Definition at line 90 of file hitdirectionbase.c.
References CalculateArrowPosition(), Math::Clamp(), Math::InverseLerp(), Math::Lerp(), m_BreakPoint, m_Duration, m_IntensityMax, m_LayoutRoot, m_Mode, m_TimeActive, SetIndicatorPositon(), and SetIndicatorRotation().
|
private |
Definition at line 5 of file hitdirectionbase.c.
Referenced by Init().
|
private |
Definition at line 6 of file hitdirectionbase.c.
Referenced by Init().
|
private |
Definition at line 26 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), CalculateArrowPosition(), FinalizePositionCalculation(), and SetIndicatorRotation().
|
private |
Definition at line 27 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition().
|
private |
Definition at line 10 of file hitdirectionbase.c.
|
staticprotected |
Definition at line 175 of file hitdirectionbase.c.
Referenced by CheckValues(), and Init().
|
staticprivate |
Definition at line 172 of file hitdirectionbase.c.
Referenced by CheckValues(), and Init().
|
staticprotected |
range 0..1, a point where the fading starts
Definition at line 176 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), CheckValues(), and FinalizePositionCalculation().
|
private |
Definition at line 9 of file hitdirectionbase.c.
Referenced by DurationCheck(), Init(), and Update().
|
staticprotected |
Definition at line 174 of file hitdirectionbase.c.
Referenced by CheckValues(), and Init().
|
private |
Definition at line 8 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and Init().
|
staticprivate |
Definition at line 171 of file hitdirectionbase.c.
Referenced by CheckValues(), and GetCurrentType().
|
private |
Definition at line 15 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), and Init().
|
private |
Definition at line 30 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase().
|
private |
Definition at line 19 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), CalculateArrowPosition(), and Init().
|
private |
Definition at line 12 of file hitdirectionbase.c.
|
private |
Definition at line 14 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), ~HitDirectionEffectBase(), Init(), SetIndicatorPositon(), SetIndicatorRotation(), and Update().
|
staticprivate |
Definition at line 170 of file hitdirectionbase.c.
Referenced by CheckValues(), Hud::SpawnHitDirEffect(), and Update().
|
private |
Definition at line 17 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and Init().
|
private |
Definition at line 22 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), CalculateArrowPosition(), FinalizePositionCalculation(), and SetIndicatorPositon().
|
private |
Definition at line 24 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and FinalizePositionCalculation().
|
private |
Definition at line 23 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), CalculateArrowPosition(), FinalizePositionCalculation(), and SetIndicatorPositon().
|
private |
Definition at line 25 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and FinalizePositionCalculation().
|
staticprotected |
Definition at line 177 of file hitdirectionbase.c.
Referenced by CheckValues(), and SetIndicatorRotation().
|
staticprotected |
Definition at line 178 of file hitdirectionbase.c.
Referenced by CheckValues(), and Init().
|
staticprivate |
Definition at line 169 of file hitdirectionbase.c.
Referenced by CheckValues().
|
private |
Definition at line 20 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and FinalizePositionCalculation().
|
private |
Definition at line 21 of file hitdirectionbase.c.
Referenced by CalculateArrowPosition(), and FinalizePositionCalculation().
|
private |
Definition at line 28 of file hitdirectionbase.c.
Referenced by HitDirectionEffectBase(), and CalculateArrowPosition().
|
private |
Definition at line 11 of file hitdirectionbase.c.
Referenced by DurationCheck(), and Update().
|
staticprotected |
Definition at line 173 of file hitdirectionbase.c.
Referenced by GetCurrentType().