DayZ 1.24
|
Static Protected Member Functions | |
static void | CheckValues () |
range 0..180, randomized offset of direction to make it less acurate | |
static | GetCurrentType () |
Static Protected Attributes | |
m_Type | |
static float | m_DurationMax |
static float | m_BreakPointBase |
static float | m_DistanceAdjust |
range 0..1, a point where the fading starts | |
static int | m_RotationOverride |
static float | m_Scatter |
Private Member Functions | |
override HitDirectionImagesBase | GetImageData () |
override void | FinalizePositionCalculation () |
override void | SetIndicatorRotation (float timeslice=-1.0) |
void | HitDirectionEffectBase () |
void | Init (DayZPlayer player, float hit_direction, float intensity_max) |
Called manually after object spawn. | |
HitDirectionImagesBase | GetImageData () |
void | ~HitDirectionEffectBase () |
bool | DurationCheck () |
void | Update (float timeslice) |
void | CalculateArrowPosition (float timeslice=-1.0) |
void | FinalizePositionCalculation () |
specific handling on individual indicator type | |
void | SetIndicatorRotation (float timeslice=-1.0) |
void | SetIndicatorPositon (float timeslice=-1.0) |
override HitDirectionImagesBase | GetImageData () |
override void | FinalizePositionCalculation () |
override void | SetIndicatorRotation (float timeslice=-1.0) |
override HitDirectionImagesBase | GetImageData () |
override void | FinalizePositionCalculation () |
override void | SetIndicatorRotation (float timeslice=-1.0) |
Static Private Attributes | |
static bool | m_ServerOverrideEnabled |
static int | m_Mode |
static int | m_ID |
static int | m_Color |
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.
Definition at line 117 of file HitDirectionBase.c.
References Math::Clamp(), Math::Cos(), Math::DEG2RAD, FinalizePositionCalculation(), GetGame(), 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().
range 0..180, randomized offset of direction to make it less acurate
sets override values, or defaults
Definition at line 175 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.
Definition at line 11 of file HitDirectionArrow.c.
References Math::Cos(), and Math::Sin().
Referenced by CalculateArrowPosition().
|
inlineprivate |
specific handling on individual indicator type
Definition at line 152 of file HitDirectionBase.c.
Definition at line 11 of file HitDirectionSpike.c.
References Math::Cos(), and Math::Sin().
Definition at line 11 of file HitDirectionSplash.c.
|
inlinestaticprotected |
Definition at line 200 of file HitDirectionBase.c.
References ErrorEx, m_ID, and m_Type.
Referenced by Hud::SpawnHitDirEffect().
|
inlineprivate |
|
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().
Definition at line 155 of file HitDirectionBase.c.
References m_LayoutRoot, m_PosX, and m_PosY.
Definition at line 153 of file HitDirectionBase.c.
Definition at line 18 of file HitDirectionSplash.c.
References Math::RandomIntInclusive().
Definition at line 88 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().
Definition at line 5 of file HitDirectionBase.c.
Referenced by Init().
Definition at line 6 of file HitDirectionBase.c.
Referenced by Init().
|
private |
Definition at line 26 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition(), and HitDirectionEffectBase().
|
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 169 of file HitDirectionBase.c.
Referenced by CheckValues(), and Init().
|
staticprivate |
Definition at line 166 of file HitDirectionBase.c.
Referenced by CheckValues(), and Init().
|
staticprotected |
range 0..1, a point where the fading starts
Definition at line 170 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition(), and CheckValues().
|
private |
Definition at line 9 of file HitDirectionBase.c.
Referenced by DurationCheck(), Init(), and Update().
|
staticprotected |
Definition at line 168 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 165 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 CalculateArrowPosition(), HitDirectionEffectBase(), and Init().
|
private |
Definition at line 12 of file HitDirectionBase.c.
|
private |
Definition at line 14 of file HitDirectionBase.c.
Referenced by HitDirectionEffectBase(), Init(), SetIndicatorPositon(), Update(), and ~HitDirectionEffectBase().
|
staticprivate |
Definition at line 164 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 CalculateArrowPosition(), HitDirectionEffectBase(), and SetIndicatorPositon().
|
private |
Definition at line 24 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition().
|
private |
Definition at line 23 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition(), HitDirectionEffectBase(), and SetIndicatorPositon().
|
private |
Definition at line 25 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition().
|
staticprotected |
Definition at line 171 of file HitDirectionBase.c.
Referenced by CheckValues().
|
staticprotected |
Definition at line 172 of file HitDirectionBase.c.
Referenced by CheckValues(), and Init().
|
staticprivate |
Definition at line 163 of file HitDirectionBase.c.
Referenced by CheckValues().
|
private |
Definition at line 20 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition().
|
private |
Definition at line 21 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition().
|
private |
Definition at line 28 of file HitDirectionBase.c.
Referenced by CalculateArrowPosition(), and HitDirectionEffectBase().
|
private |
Definition at line 11 of file HitDirectionBase.c.
Referenced by DurationCheck(), and Update().
|
staticprotected |
Definition at line 167 of file HitDirectionBase.c.
Referenced by GetCurrentType().