DayZ 1.24
|
Protected Member Functions | |
void | HeatComfortAnimHandler (PlayerBase player) |
void | Update (float delta_time, HumanMovementState hms) |
float | GetEventTime (float hc_value, float threshold_low, float threshold_high, float low_min, float high_min, float low_max, float high_max) |
void | Process (float delta_time) |
Private Attributes | |
const float | TICK_INTERVAL = 2 |
float | m_TimeSinceLastTick |
float | m_ProcessTimeAccuFreeze |
float | m_ProcessTimeAccuHot |
PlayerBase | m_Player |
float | m_EventTimeFreeze = -1 |
float | m_EventTimeHot = -1 |
Definition at line 1 of file HeatComfortAnimHandler.c.
|
inlineprotected |
Definition at line 19 of file HeatComfortAnimHandler.c.
References m_Player.
|
inlineprotected |
Definition at line 35 of file HeatComfortAnimHandler.c.
References Math::InverseLerp(), Math::Lerp(), and Math::RandomFloatInclusive().
Referenced by Process().
Definition at line 45 of file HeatComfortAnimHandler.c.
References GetEventTime(), GetGame(), m_EventTimeFreeze, m_EventTimeHot, m_Player, m_ProcessTimeAccuFreeze, m_ProcessTimeAccuHot, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_EMPTY, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING, PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_EMPTY, PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_WARNING, TIME_INTERVAL_HC_MINUS_HIGH_MAX, TIME_INTERVAL_HC_MINUS_HIGH_MIN, TIME_INTERVAL_HC_MINUS_LOW_MAX, TIME_INTERVAL_HC_MINUS_LOW_MIN, TIME_INTERVAL_HC_PLUS_HIGH_MAX, TIME_INTERVAL_HC_PLUS_LOW_MAX, and TIME_INTERVAL_HC_PLUS_LOW_MIN.
Referenced by Update().
|
inlineprotected |
Definition at line 24 of file HeatComfortAnimHandler.c.
References m_TimeSinceLastTick, Process(), and TICK_INTERVAL.
|
private |
Definition at line 9 of file HeatComfortAnimHandler.c.
Referenced by Process().
|
private |
Definition at line 10 of file HeatComfortAnimHandler.c.
Referenced by Process().
|
protected |
Definition at line 11 of file HeatComfortAnimHandler.c.
|
private |
Definition at line 8 of file HeatComfortAnimHandler.c.
Referenced by HeatComfortAnimHandler(), and Process().
|
private |
Definition at line 5 of file HeatComfortAnimHandler.c.
Referenced by Process().
|
private |
Definition at line 6 of file HeatComfortAnimHandler.c.
Referenced by Process().
|
private |
Definition at line 4 of file HeatComfortAnimHandler.c.
Referenced by Update().
Definition at line 3 of file HeatComfortAnimHandler.c.
Referenced by Update().
Definition at line 14 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 14 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 13 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 13 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 17 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 17 of file HeatComfortAnimHandler.c.
Definition at line 16 of file HeatComfortAnimHandler.c.
Referenced by Process().
Definition at line 16 of file HeatComfortAnimHandler.c.
Referenced by Process().