Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
staminasoundhandler.c File Reference

Go to the source code of this file.

Data Structures

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) More...
 
void SetStaminaZoneOffset (int zone_offset)
 
eStaminaZones GetZone (float stamina)
 

Variables

const float TICK_INTERVAL = 1
 
const float STAMINA_SOUND_TR1 = 0.55
 
const float STAMINA_SOUND_TR2 = 0.25
 
enum eStaminaZones UP
 
enum eStaminaZones DOWN
 
enum eStaminaZones ZONE0_UP = 1
 
enum eStaminaZones ZONE0_DOWN = 1
 
enum eStaminaZones ZONE1_UP = 1
 
enum eStaminaZones ZONE1_DOWN = 1
 
enum eStaminaZones ZONE2_UP = 1
 
enum eStaminaZones ZONE2_DOWN = 1
 
enum eStaminaZones m_Id = 1
 
PlayerBase m_Player
 
class StaminaSoundHandlerBase extends SoundHandlerBase m_Stamina
 
StaminaHandler m_StaminaHandler
 
float m_StaminaLastValue
 
int m_StaminaZoneOffset
 

Enumeration Type Documentation

◆ eStaminaZones

Enumerator
ZONE0 
ZONE1 
ZONE2 

Definition at line 6 of file staminasoundhandler.c.

Function Documentation

◆ GetID()

eSoundHandlers GetID ( )

Definition at line 39 of file staminasoundhandler.c.

◆ GetZone()

eStaminaZones GetZone ( float  stamina)

Definition at line 153 of file staminasoundhandler.c.

◆ Init()

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

Definition at line 46 of file uihintpanel.c.

◆ SetStaminaZoneOffset()

void SetStaminaZoneOffset ( int  zone_offset)

Definition at line 112 of file staminasoundhandler.c.

◆ SoundHandlerBase()

void SoundHandlerBase ( PlayerBase  player)

Definition at line 44 of file staminasoundhandler.c.

Variable Documentation

◆ DOWN

enum eStaminaZones DOWN

◆ m_Id

enum eStaminaZones m_Id = 1

◆ m_Player

PlayerBase m_Player

Definition at line 35 of file staminasoundhandler.c.

◆ m_Stamina

class StaminaSoundHandlerBase extends SoundHandlerBase m_Stamina

◆ m_StaminaHandler

StaminaHandler m_StaminaHandler

Definition at line 108 of file staminasoundhandler.c.

◆ m_StaminaLastValue

float m_StaminaLastValue

Definition at line 109 of file staminasoundhandler.c.

◆ m_StaminaZoneOffset

int m_StaminaZoneOffset

Definition at line 110 of file staminasoundhandler.c.

◆ STAMINA_SOUND_TR1

const float STAMINA_SOUND_TR1 = 0.55

Definition at line 3 of file staminasoundhandler.c.

◆ STAMINA_SOUND_TR2

const float STAMINA_SOUND_TR2 = 0.25

Definition at line 4 of file staminasoundhandler.c.

◆ TICK_INTERVAL

const float TICK_INTERVAL = 1

Definition at line 1 of file staminasoundhandler.c.

◆ UP

enum eStaminaZones UP

◆ ZONE0_DOWN

enum eStaminaZones ZONE0_DOWN = 1

◆ ZONE0_UP

enum eStaminaZones ZONE0_UP = 1

◆ ZONE1_DOWN

enum eStaminaZones ZONE1_DOWN = 1

◆ ZONE1_UP

enum eStaminaZones ZONE1_UP = 1

◆ ZONE2_DOWN

enum eStaminaZones ZONE2_DOWN = 1

◆ ZONE2_UP

enum eStaminaZones ZONE2_UP = 1