PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BleedingIndicatorDropData Class Reference

Private Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

◆ BleedingIndicatorDropData()

void BleedingIndicatorDropData ( ImageWidget  image,
int  severity 
)
inlineprivate

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 ( )
inlineprivate

Member Function Documentation

◆ AdjustColorSaturation()

◆ GetImage()

ImageWidget GetImage ( )
inlineprivate

References m_Widget.

◆ InitImageScale()

◆ IsRunning()

bool IsRunning ( )
inlineprivate

References m_IsRunning.

◆ ScatterPosition()

◆ SetBasePosition()

void SetBasePosition ( vector  pos)
inlineprivate

◆ StartDrop()

◆ StopDrop()

void StopDrop ( )
inlineprivate

References m_ImageBaseSizeX, m_ImageBaseSizeY, m_IsRunning, and m_Widget.

Referenced by Update().

◆ Update()

◆ UpdateAlpha()

void UpdateAlpha ( float  progress,
float  progressFade 
)
inlineprivate

◆ UpdateTransform()

void UpdateTransform ( float  progress,
float  progressFade 
)
inlineprivate

Field Documentation

◆ m_BasePosition

protected vector m_BasePosition
private

Referenced by SetBasePosition(), and StartDrop().

◆ m_ColorAlphaCurrent

protected float m_ColorAlphaCurrent
private

Referenced by UpdateAlpha().

◆ m_ColorAlphaEnd

protected float m_ColorAlphaEnd
private

◆ m_ColorAlphaStart

protected float m_ColorAlphaStart
private

◆ m_Duration

protected float m_Duration
private

◆ m_EndSizeCoef

protected float m_EndSizeCoef
private

◆ m_ImageBaseRotation

protected float m_ImageBaseRotation
private

◆ m_ImageBaseSizeX

protected float m_ImageBaseSizeX
private

Referenced by InitImageScale(), and StopDrop().

◆ m_ImageBaseSizeY

protected float m_ImageBaseSizeY
private

Referenced by InitImageScale(), and StopDrop().

◆ m_ImageEndSizeX

protected float m_ImageEndSizeX
private

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageEndSizeY

protected float m_ImageEndSizeY
private

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageMaxSizeX

protected float m_ImageMaxSizeX
private

◆ m_ImageMaxSizeY

protected float m_ImageMaxSizeY
private

◆ m_ImageStartingSizeX

protected float m_ImageStartingSizeX
private

Referenced by InitImageScale(), and UpdateTransform().

◆ m_ImageStartingSizeY

protected float m_ImageStartingSizeY
private

Referenced by InitImageScale(), and UpdateTransform().

◆ m_IsRunning

protected bool m_IsRunning
private

◆ m_PosX

protected float m_PosX
private

◆ m_PosY

protected float m_PosY
private

◆ m_ProgressBreakpoint

protected float m_ProgressBreakpoint
private

◆ m_ProgressBreakpointTime

protected float m_ProgressBreakpointTime
private

◆ m_ProgressFadingDuration

protected float m_ProgressFadingDuration
private

◆ m_RandomSizeMax

protected float m_RandomSizeMax
private

◆ m_RandomSizeMin

protected float m_RandomSizeMin
private

◆ m_ScatterPx

protected int m_ScatterPx
private

◆ m_ScreenSizeX

protected int m_ScreenSizeX
private

◆ m_ScreenSizeY

protected int m_ScreenSizeY
private

◆ m_Severity

protected int m_Severity
private

◆ m_SlideDistance

protected float m_SlideDistance
private

◆ m_SpeedCoef

protected float m_SpeedCoef
private

◆ m_StartSizeCoef

protected float m_StartSizeCoef
private

◆ m_TimeTotal

protected float m_TimeTotal
private

◆ m_Widget


The documentation for this class was generated from the following file: