DayZ 1.24
|
Manages all bleeding indicators and their updates. More...
Protected Attributes | |
bool | m_Initialized |
bool | m_Visible |
ref map< int, ref BleedingIndicator > | m_RegisteredInstances |
ref array< int > | m_CleanupQueue |
ref array< int > | m_RunningIndicators |
int | m_LastDropIdx |
int | m_ImageWidgetCount |
ref map< int, ref array< float > > | m_ProbabilityMap |
ref array< Widget > | m_PositioningFramesArray |
Widget | m_BloodDropsFrame |
int | m_LastPositionFrameUsed |
Manages all bleeding indicators and their updates.
Definition at line 3 of file GEWidgetsMetaDataBleeding.c.
|
inlineprotected |
Definition at line 228 of file GEWidgetsMetaDataBleeding.c.
Referenced by Init().
Definition at line 207 of file GEWidgetsMetaDataBleeding.c.
References Math::Poisson(), and BleedingIndicationConstants::SEQUENCE_STEPS.
Referenced by Init().
Definition at line 97 of file GEWidgetsMetaDataBleeding.c.
References PlayerConstants::BLEEDING_SOURCE_FLOW_MODIFIER_HIGH, PlayerConstants::BLEEDING_SOURCE_FLOW_MODIFIER_LOW, PlayerConstants::BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM, BleedingIndicationConstants::INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants::INDICATOR_SEVERITY_LOW, and BleedingIndicationConstants::INDICATOR_SEVERITY_MEDIUM.
Referenced by RegisterBleedingIndicatorInstance().
|
inlineprotected |
Definition at line 139 of file GEWidgetsMetaDataBleeding.c.
Referenced by Update().
stops and re-sets indicators and images even out of sequence. Should still be tied to the 'player' update, though!
Definition at line 198 of file GEWidgetsMetaDataBleeding.c.
References m_RunningIndicators, and Update().
|
inlineprotected |
|
inlineprotected |
Definition at line 245 of file GEWidgetsMetaDataBleeding.c.
References Math::RandomFloatInclusive(), Math::RandomInt(), Vector(), x, y, and vector::Zero.
Referenced by SpawnBleedingIndicator().
|
inlineprotected |
Definition at line 113 of file GEWidgetsMetaDataBleeding.c.
Definition at line 220 of file GEWidgetsMetaDataBleeding.c.
References ErrorEx.
Definition at line 44 of file GEWidgetsMetaDataBleeding.c.
|
inlineprotected |
Definition at line 26 of file GEWidgetsMetaDataBleeding.c.
References BuildPositioningData(), BuildProbabilityData(), g_Game, BleedingIndicationConstants::INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants::INDICATOR_SEVERITY_LOW, BleedingIndicationConstants::INDICATOR_SEVERITY_MEDIUM, m_Visible, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_LOW, and BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_MEDIUM.
|
inlineprotected |
Definition at line 80 of file GEWidgetsMetaDataBleeding.c.
References CalculateSeverity().
Referenced by RegisterData().
Definition at line 54 of file GEWidgetsMetaDataBleeding.c.
References Class::CastTo(), ErrorEx, Debug::Log(), m_Initialized, and RegisterBleedingIndicatorInstance().
Definition at line 87 of file GEWidgetsMetaDataBleeding.c.
References GenerateSequenceRandomPosition().
Referenced by Update().
|
inlineprotected |
Definition at line 122 of file GEWidgetsMetaDataBleeding.c.
Referenced by Update().
|
inlineprotected |
Definition at line 146 of file GEWidgetsMetaDataBleeding.c.
References Class::CastTo(), CleanupBleedingIndicators(), GetGame(), m_Visible, SpawnBleedingIndicator(), StopBleedingIndicator(), and UpdateBleedingIndicators().
Definition at line 127 of file GEWidgetsMetaDataBleeding.c.
Referenced by Update().
Definition at line 185 of file GEWidgetsMetaDataBleeding.c.
References g_Game, m_BloodDropsFrame, and m_Visible.
|
protected |
Definition at line 14 of file GEWidgetsMetaDataBleeding.c.
Referenced by UpdateVisibility().
Definition at line 8 of file GEWidgetsMetaDataBleeding.c.
|
protected |
Definition at line 11 of file GEWidgetsMetaDataBleeding.c.
|
protected |
Definition at line 5 of file GEWidgetsMetaDataBleeding.c.
Referenced by DataInitialized().
|
protected |
Definition at line 10 of file GEWidgetsMetaDataBleeding.c.
|
protected |
Definition at line 16 of file GEWidgetsMetaDataBleeding.c.
Definition at line 13 of file GEWidgetsMetaDataBleeding.c.
Definition at line 12 of file GEWidgetsMetaDataBleeding.c.
Definition at line 7 of file GEWidgetsMetaDataBleeding.c.
Definition at line 9 of file GEWidgetsMetaDataBleeding.c.
Referenced by ForceStop().
|
protected |
Definition at line 6 of file GEWidgetsMetaDataBleeding.c.