DayZ 1.24
|
Protected Member Functions | |
void | BleedingIndicatorDropData (ImageWidget image, int severity) |
void | ~BleedingIndicatorDropData () |
void | InitImageScale () |
void | ScatterPosition (vector pos) |
void | StartDrop () |
void | StopDrop () |
void | SetBasePosition (vector pos) |
bool | IsRunning () |
ImageWidget | GetImage () |
void | AdjustColorSaturation () |
void | UpdateAlpha (float progress, float progressFade) |
void | UpdateTransform (float progress, float progressFade) |
scaling and transformation | |
void | Update (float timeSlice) |
Definition at line 2 of file BleedingDrop.c.
|
inlineprotected |
Definition at line 39 of file BleedingDrop.c.
References AdjustColorSaturation(), BleedingIndicationConstants::DROP_COLOR_ALPHA_END, BleedingIndicationConstants::DROP_COLOR_ALPHA_START, BleedingIndicationConstants::DROP_DURATION_HIGH, BleedingIndicationConstants::DROP_DURATION_LOW, BleedingIndicationConstants::DROP_DURATION_MEDIUM, BleedingIndicationConstants::DROP_PROGRESS_THRESHOLD, BleedingIndicationConstants::DROP_SCATTER_HIGH, BleedingIndicationConstants::DROP_SCATTER_LOW, BleedingIndicationConstants::DROP_SCATTER_MEDIUM, BleedingIndicationConstants::DROP_SIZE_END_HIGH, BleedingIndicationConstants::DROP_SIZE_END_LOW, BleedingIndicationConstants::DROP_SIZE_END_MEDIUM, BleedingIndicationConstants::DROP_SIZE_START_HIGH, BleedingIndicationConstants::DROP_SIZE_START_LOW, BleedingIndicationConstants::DROP_SIZE_START_MEDIUM, BleedingIndicationConstants::DROP_SIZE_VARIATION_MAX_HIGH, BleedingIndicationConstants::DROP_SIZE_VARIATION_MAX_LOW, BleedingIndicationConstants::DROP_SIZE_VARIATION_MAX_MEDIUM, BleedingIndicationConstants::DROP_SIZE_VARIATION_MIN_HIGH, BleedingIndicationConstants::DROP_SIZE_VARIATION_MIN_LOW, BleedingIndicationConstants::DROP_SIZE_VARIATION_MIN_MEDIUM, BleedingIndicationConstants::DROP_SLIDE_DISTANCE_HIGH, BleedingIndicationConstants::DROP_SLIDE_DISTANCE_LOW, BleedingIndicationConstants::DROP_SLIDE_DISTANCE_MEDIUM, GetScreenSize(), BleedingIndicationConstants::INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants::INDICATOR_SEVERITY_LOW, BleedingIndicationConstants::INDICATOR_SEVERITY_MEDIUM, InitImageScale(), m_ColorAlphaEnd, m_ColorAlphaStart, DbgBleedingIndicationStaticInfo::m_DbgDropColorAlphaEnd, DbgBleedingIndicationStaticInfo::m_DbgDropColorAlphaStart, DbgBleedingIndicationStaticInfo::m_DbgDropDurationBase, DbgBleedingIndicationStaticInfo::m_DbgDropEndSize, DbgBleedingIndicationStaticInfo::m_DbgDropProgressTreshold, DbgBleedingIndicationStaticInfo::m_DbgDropScatter, DbgBleedingIndicationStaticInfo::m_DbgDropSizeVariationMax, DbgBleedingIndicationStaticInfo::m_DbgDropSizeVariationMin, DbgBleedingIndicationStaticInfo::m_DbgDropSlideDistance, DbgBleedingIndicationStaticInfo::m_DbgDropStartSize, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_Duration, m_EndSizeCoef, m_IsRunning, m_ProgressBreakpoint, m_ProgressBreakpointTime, m_ProgressFadingDuration, m_RandomSizeMax, m_RandomSizeMin, m_ScatterPx, m_ScreenSizeX, m_ScreenSizeY, m_Severity, m_SlideDistance, m_SpeedCoef, m_StartSizeCoef, m_TimeTotal, m_Widget, and Math::Max().
|
inlineprotected |
Definition at line 122 of file BleedingDrop.c.
|
inlineprotected |
Definition at line 195 of file BleedingDrop.c.
References ARGB(), BleedingIndicationConstants::DROP_COLOR_BLUE, BleedingIndicationConstants::DROP_COLOR_DESATURATIONEND, BleedingIndicationConstants::DROP_COLOR_GREEN, BleedingIndicationConstants::DROP_COLOR_RED, Easing::EaseOutSine(), PPEManagerStatic::GetPPEManager(), Math::Lerp(), DbgBleedingIndicationStaticInfo::m_DbgDesaturationEnd, DbgBleedingIndicationStaticInfo::m_DbgDropColorBlue, DbgBleedingIndicationStaticInfo::m_DbgDropColorGreen, DbgBleedingIndicationStaticInfo::m_DbgDropColorRed, DbgBleedingIndicationStaticInfo::m_DbgDropDesaturate, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_Widget, Math::Min(), and PPEGlow::PARAM_SATURATION.
Referenced by BleedingIndicatorDropData().
|
inlineprotected |
Definition at line 190 of file BleedingDrop.c.
References m_Widget.
|
inlineprotected |
Definition at line 126 of file BleedingDrop.c.
References m_EndSizeCoef, m_ImageBaseSizeX, m_ImageBaseSizeY, m_ImageEndSizeX, m_ImageEndSizeY, m_ImageStartingSizeX, m_ImageStartingSizeY, m_RandomSizeMax, m_RandomSizeMin, m_StartSizeCoef, m_Widget, and Math::RandomFloatInclusive().
Referenced by BleedingIndicatorDropData().
|
inlineprotected |
Definition at line 185 of file BleedingDrop.c.
References m_IsRunning.
Definition at line 137 of file BleedingDrop.c.
References Math::Cos(), DbgBleedingIndicationStaticInfo::m_DbgDropScatter, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_PosX, m_PosY, m_ScatterPx, Math::PI2, Math::RandomFloatInclusive(), and Math::Sin().
Referenced by StartDrop().
Definition at line 178 of file BleedingDrop.c.
References m_BasePosition, m_ScreenSizeX, and m_ScreenSizeY.
|
inlineprotected |
Definition at line 152 of file BleedingDrop.c.
References m_BasePosition, DbgBleedingIndicationStaticInfo::m_DbgDropRotationRandom, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_IsRunning, m_PosX, m_PosY, m_TimeTotal, m_Widget, Math::RandomFloatInclusive(), and ScatterPosition().
|
inlineprotected |
Definition at line 171 of file BleedingDrop.c.
References m_ImageBaseSizeX, m_ImageBaseSizeY, m_IsRunning, and m_Widget.
Referenced by Update().
Definition at line 263 of file BleedingDrop.c.
References m_Duration, m_IsRunning, m_ProgressBreakpointTime, m_ProgressFadingDuration, m_SpeedCoef, m_TimeTotal, StopDrop(), UpdateAlpha(), and UpdateTransform().
Definition at line 233 of file BleedingDrop.c.
References Math::Lerp(), m_ColorAlphaCurrent, m_ColorAlphaEnd, m_ColorAlphaStart, m_ProgressBreakpoint, and m_Widget.
Referenced by Update().
|
inlineprotected |
scaling and transformation
Definition at line 244 of file BleedingDrop.c.
References Math::Clamp(), Math::InverseLerp(), Math::Lerp(), m_ImageEndSizeX, m_ImageEndSizeY, m_ImageStartingSizeX, m_ImageStartingSizeY, m_PosX, m_PosY, m_ProgressBreakpoint, m_SlideDistance, and m_Widget.
Referenced by Update().
|
protected |
Definition at line 29 of file BleedingDrop.c.
Referenced by SetBasePosition(), and StartDrop().
|
protected |
Definition at line 17 of file BleedingDrop.c.
Referenced by UpdateAlpha().
|
protected |
Definition at line 16 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and UpdateAlpha().
|
protected |
Definition at line 15 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and UpdateAlpha().
|
protected |
Definition at line 10 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and Update().
|
protected |
Definition at line 34 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and InitImageScale().
|
protected |
Definition at line 27 of file BleedingDrop.c.
|
protected |
Definition at line 19 of file BleedingDrop.c.
Referenced by InitImageScale(), and StopDrop().
|
protected |
Definition at line 20 of file BleedingDrop.c.
Referenced by InitImageScale(), and StopDrop().
|
protected |
Definition at line 23 of file BleedingDrop.c.
Referenced by InitImageScale(), and UpdateTransform().
|
protected |
Definition at line 24 of file BleedingDrop.c.
Referenced by InitImageScale(), and UpdateTransform().
|
protected |
Definition at line 25 of file BleedingDrop.c.
|
protected |
Definition at line 26 of file BleedingDrop.c.
|
protected |
Definition at line 21 of file BleedingDrop.c.
Referenced by InitImageScale(), and UpdateTransform().
|
protected |
Definition at line 22 of file BleedingDrop.c.
Referenced by InitImageScale(), and UpdateTransform().
|
protected |
Definition at line 28 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), IsRunning(), StartDrop(), StopDrop(), and Update().
|
protected |
Definition at line 32 of file BleedingDrop.c.
Referenced by ScatterPosition(), StartDrop(), and UpdateTransform().
|
protected |
Definition at line 32 of file BleedingDrop.c.
Referenced by ScatterPosition(), StartDrop(), and UpdateTransform().
|
protected |
Definition at line 9 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), UpdateAlpha(), and UpdateTransform().
|
protected |
Definition at line 7 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and Update().
|
protected |
Definition at line 8 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and Update().
|
protected |
Definition at line 36 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and InitImageScale().
|
protected |
Definition at line 35 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and InitImageScale().
|
protected |
Definition at line 12 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and ScatterPosition().
|
protected |
Definition at line 30 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and SetBasePosition().
|
protected |
Definition at line 31 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and SetBasePosition().
|
protected |
Definition at line 5 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData().
|
protected |
Definition at line 13 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and UpdateTransform().
|
protected |
Definition at line 11 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and Update().
|
protected |
Definition at line 33 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), and InitImageScale().
|
protected |
Definition at line 6 of file BleedingDrop.c.
Referenced by BleedingIndicatorDropData(), StartDrop(), and Update().
|
protected |
Definition at line 4 of file BleedingDrop.c.
Referenced by AdjustColorSaturation(), BleedingIndicatorDropData(), GetImage(), InitImageScale(), StartDrop(), StopDrop(), UpdateAlpha(), and UpdateTransform().