DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | SoundHandlerBase |
class | StaminaSoundHandlerBase |
Enumerations | |
enum | eStaminaZones { ZONE0 , ZONE1 , ZONE2 } |
Functions | |
void | Update () |
eSoundHandlers | GetID () |
void | SoundHandlerBase (PlayerBase player) |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
void | SetStaminaZoneOffset (int zone_offset) |
eStaminaZones | GetZone (float stamina) |
Enumerator | |
---|---|
ZONE0 | |
ZONE1 | |
ZONE2 |
Definition at line 6 of file StaminaSoundHandler.c.
eSoundHandlers GetID | ( | ) |
Definition at line 39 of file StaminaSoundHandler.c.
References m_Id.
eStaminaZones GetZone | ( | float | stamina | ) |
Definition at line 137 of file StaminaSoundHandler.c.
References Math::Clamp(), Math::InverseLerp(), m_Player, STAMINA_SOUND_TR1, and STAMINA_SOUND_TR2.
Referenced by Update().
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
pre-init arrays
Definition at line 120 of file DayZGame.c.
void SoundHandlerBase | ( | PlayerBase | player | ) |
Definition at line 44 of file StaminaSoundHandler.c.
References SoundHandlerBase::Init(), and m_Player.
enum eStaminaZones DOWN |
enum eStaminaZones m_Id = 1 |
Referenced by GetID(), and SoundHandlerBase::Init().
PlayerBase m_Player |
Definition at line 35 of file StaminaSoundHandler.c.
Referenced by SoundHandlerBase().
class StaminaSoundHandlerBase extends SoundHandlerBase m_Stamina |
Referenced by Hud::Init(), Hud::SetStamina(), Hud::SetStaminaBarVisibility(), and Update().
StaminaHandler m_StaminaHandler |
Definition at line 96 of file StaminaSoundHandler.c.
Referenced by ManBase::CommandHandler(), ManBase::EEHitBy(), ManBase::GetStaminaHandler(), ManBase::Init(), ManBase::OnSyncJuncture(), and ManBase::ResetPlayer().
float m_StaminaLastValue |
Definition at line 97 of file StaminaSoundHandler.c.
Referenced by Update().
int m_StaminaZoneOffset |
Definition at line 98 of file StaminaSoundHandler.c.
Referenced by SetStaminaZoneOffset(), and Update().
Definition at line 3 of file StaminaSoundHandler.c.
Referenced by GetZone().
Definition at line 4 of file StaminaSoundHandler.c.
Referenced by GetZone().
Definition at line 1 of file StaminaSoundHandler.c.
enum eStaminaZones ZONE0_DOWN = 1 |
enum eStaminaZones ZONE0_UP = 1 |
enum eStaminaZones ZONE1_DOWN = 1 |
enum eStaminaZones ZONE1_UP = 1 |
enum eStaminaZones ZONE2_DOWN = 1 |
enum eStaminaZones ZONE2_UP = 1 |