Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
BleedingIndicatorDropData Class Reference

Protected Member Functions

void BleedingIndicatorDropData (ImageWidget image, int severity)
void ~BleedingIndicatorDropData ()
void AdjustColorSaturation ()
ImageWidget GetImage ()
void InitImageScale ()
bool IsRunning ()
void ScatterPosition (vector pos)
void SetBasePosition (vector pos)
void StartDrop ()
void StopDrop ()
void Update (float timeSlice)
void UpdateAlpha (float progress, float progressFade)
void UpdateTransform (float progress, float progressFade)
 scaling and transformation

Protected Attributes

vector m_BasePosition
float m_ColorAlphaCurrent
float m_ColorAlphaEnd
float m_ColorAlphaStart
float m_Duration
float m_EndSizeCoef
float m_ImageBaseRotation
float m_ImageBaseSizeX
float m_ImageBaseSizeY
float m_ImageEndSizeX
float m_ImageEndSizeY
float m_ImageMaxSizeX
float m_ImageMaxSizeY
float m_ImageStartingSizeX
float m_ImageStartingSizeY
bool m_IsRunning
float m_PosX
float m_PosY
float m_ProgressBreakpoint
float m_ProgressBreakpointTime
float m_ProgressFadingDuration
float m_RandomSizeMax
float m_RandomSizeMin
int m_ScatterPx
int m_ScreenSizeX
int m_ScreenSizeY
int m_Severity
float m_SlideDistance
float m_SpeedCoef
float m_StartSizeCoef
float m_TimeTotal
ImageWidget m_Widget

Detailed Description

Definition at line 2 of file bleedingdrop.c.

Constructor & Destructor Documentation

◆ BleedingIndicatorDropData()

void BleedingIndicatorDropData ( ImageWidget image,
int severity )
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().

◆ ~BleedingIndicatorDropData()

void ~BleedingIndicatorDropData ( )
inlineprotected

Definition at line 122 of file bleedingdrop.c.

Member Function Documentation

◆ AdjustColorSaturation()

◆ GetImage()

ImageWidget GetImage ( )
inlineprotected

Definition at line 194 of file bleedingdrop.c.

References m_Widget.

◆ InitImageScale()

◆ IsRunning()

bool IsRunning ( )
inlineprotected

Definition at line 189 of file bleedingdrop.c.

References m_IsRunning.

◆ ScatterPosition()

◆ SetBasePosition()

void SetBasePosition ( vector pos)
inlineprotected

Definition at line 182 of file bleedingdrop.c.

References m_BasePosition, m_ScreenSizeX, and m_ScreenSizeY.

Referenced by Managed::TrySpawnNextDrop().

◆ StartDrop()

◆ StopDrop()

void StopDrop ( )
inlineprotected

Definition at line 175 of file bleedingdrop.c.

References m_ImageBaseSizeX, m_ImageBaseSizeY, m_IsRunning, and m_Widget.

Referenced by Update().

◆ Update()

void Update ( float timeSlice)
inlineprotected

◆ UpdateAlpha()

void UpdateAlpha ( float progress,
float progressFade )
inlineprotected

◆ UpdateTransform()

void UpdateTransform ( float progress,
float progressFade )
inlineprotected

Field Documentation

◆ m_BasePosition

vector m_BasePosition
protected

Definition at line 29 of file bleedingdrop.c.

Referenced by SetBasePosition(), and StartDrop().

◆ m_ColorAlphaCurrent

float m_ColorAlphaCurrent
protected

Definition at line 17 of file bleedingdrop.c.

Referenced by UpdateAlpha().

◆ m_ColorAlphaEnd

float m_ColorAlphaEnd
protected

Definition at line 16 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and UpdateAlpha().

◆ m_ColorAlphaStart

float m_ColorAlphaStart
protected

Definition at line 15 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and UpdateAlpha().

◆ m_Duration

float m_Duration
protected

Definition at line 10 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and Update().

◆ m_EndSizeCoef

float m_EndSizeCoef
protected

Definition at line 34 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and InitImageScale().

◆ m_ImageBaseRotation

float m_ImageBaseRotation
protected

Definition at line 27 of file bleedingdrop.c.

◆ m_ImageBaseSizeX

float m_ImageBaseSizeX
protected

Definition at line 19 of file bleedingdrop.c.

Referenced by InitImageScale(), and StopDrop().

◆ m_ImageBaseSizeY

float m_ImageBaseSizeY
protected

Definition at line 20 of file bleedingdrop.c.

Referenced by InitImageScale(), and StopDrop().

◆ m_ImageEndSizeX

float m_ImageEndSizeX
protected

Definition at line 23 of file bleedingdrop.c.

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageEndSizeY

float m_ImageEndSizeY
protected

Definition at line 24 of file bleedingdrop.c.

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageMaxSizeX

float m_ImageMaxSizeX
protected

Definition at line 25 of file bleedingdrop.c.

◆ m_ImageMaxSizeY

float m_ImageMaxSizeY
protected

Definition at line 26 of file bleedingdrop.c.

◆ m_ImageStartingSizeX

float m_ImageStartingSizeX
protected

Definition at line 21 of file bleedingdrop.c.

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageStartingSizeY

float m_ImageStartingSizeY
protected

Definition at line 22 of file bleedingdrop.c.

Referenced by InitImageScale(), and UpdateTransform().

◆ m_IsRunning

bool m_IsRunning
protected

Definition at line 28 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), IsRunning(), StartDrop(), StopDrop(), and Update().

◆ m_PosX

float m_PosX
protected

Definition at line 32 of file bleedingdrop.c.

Referenced by ScatterPosition(), StartDrop(), and UpdateTransform().

◆ m_PosY

float m_PosY
protected

Definition at line 32 of file bleedingdrop.c.

Referenced by ScatterPosition(), StartDrop(), and UpdateTransform().

◆ m_ProgressBreakpoint

float m_ProgressBreakpoint
protected

Definition at line 9 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), UpdateAlpha(), and UpdateTransform().

◆ m_ProgressBreakpointTime

float m_ProgressBreakpointTime
protected

Definition at line 7 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and Update().

◆ m_ProgressFadingDuration

float m_ProgressFadingDuration
protected

Definition at line 8 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and Update().

◆ m_RandomSizeMax

float m_RandomSizeMax
protected

Definition at line 36 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and InitImageScale().

◆ m_RandomSizeMin

float m_RandomSizeMin
protected

Definition at line 35 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and InitImageScale().

◆ m_ScatterPx

int m_ScatterPx
protected

Definition at line 12 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and ScatterPosition().

◆ m_ScreenSizeX

int m_ScreenSizeX
protected

Definition at line 30 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and SetBasePosition().

◆ m_ScreenSizeY

int m_ScreenSizeY
protected

Definition at line 31 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and SetBasePosition().

◆ m_Severity

int m_Severity
protected

Definition at line 5 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData().

◆ m_SlideDistance

float m_SlideDistance
protected

Definition at line 13 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and UpdateTransform().

◆ m_SpeedCoef

float m_SpeedCoef
protected

Definition at line 11 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and Update().

◆ m_StartSizeCoef

float m_StartSizeCoef
protected

Definition at line 33 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), and InitImageScale().

◆ m_TimeTotal

float m_TimeTotal
protected

Definition at line 6 of file bleedingdrop.c.

Referenced by BleedingIndicatorDropData(), StartDrop(), and Update().

◆ m_Widget

ImageWidget m_Widget
protected

The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/5_mission/mission/gameplayeffectwidgets/bleedingindicators/bleedingdrop.c