Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
undergroundhandlerclient.c File Reference

Go to the source code of this file.

Enumerations

enum  EUndergroundPresence { NONE , OUTER , TRANSITIONING , FULL }

Functions

void ~UndergroundHandlerClient ()
void ApplyEyeAcco ()
void CalculateBreadCrumbs ()
bool CalculateEyeAcco (float timeSlice)
void CalculateEyeAccoTarget ()
void CalculateLinePointFade ()
void EnableLights (bool enable)
PPERUndergroundAcco GetRequester ()
void OnTriggerEnter (UndergroundTrigger trigger)
void OnTriggerInsiderUpdate ()
void OnTriggerLeave (UndergroundTrigger trigger)
void OnUndergroundPresenceUpdate (EUndergroundPresence newPresence, EUndergroundPresence oldPresence)
void OnUpdateTimerEnd ()
void OnUpdateTimerIn ()
void OnUpdateTimerOut ()
void PlayAmbientSound ()
void ProcessEyeAcco (float timeSlice)
void ProcessLighting (float timeSlice)
void ProcessSound (float timeSlice)
void SetUndergroundPresence (UndergroundTrigger trigger)
void StopAmbientSound ()
void Tick (float timeSlice)
void UndergroundHandlerClient (PlayerBase player)
void UpdateNVGRequester (float value)

Variables

const float ACCO_MODIFIER = 1
const float DEFAULT_INTERPOLATION_SPEED = 7
const float DISTANCE_CUTOFF = 5
enum EUndergroundPresence LIGHT_BLEND_SPEED_IN = 5
const float LIGHT_BLEND_SPEED_OUT = 1.75
float m_AccoInterpolationSpeed
string m_AmbientController
EffectSound m_AmbientSound
ref AnimationTimer m_AnimTimerLightBlend
UndergroundTrigger m_BestTrigger
float m_EyeAcco = 1
float m_EyeAccoTarget = 1
ref set< UndergroundTrigger > m_InsideTriggers = new set<UndergroundTrigger>()
float m_LightingLerp
float m_LightingLerpTarget
PPERequester_CameraNV m_NVRequester
PlayerBase m_Player
PPERUndergroundAcco m_Requester
UndergroundTrigger m_TransitionalTrigger
const float MAX_RATIO = 0.9
const float RATIO_CUTOFF = 0
const string UNDERGROUND_LIGHTING = "dz\\data\\lighting\\lighting_underground.txt"

Enumeration Type Documentation

◆ EUndergroundPresence

Enumerator
NONE 
OUTER 
TRANSITIONING 
FULL 

Definition at line 1 of file undergroundhandlerclient.c.

Function Documentation

◆ ~UndergroundHandlerClient()

void ~UndergroundHandlerClient ( )
protected

Definition at line 44 of file undergroundhandlerclient.c.

References g_Game, and m_AmbientSound.

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
protected

◆ CalculateBreadCrumbs()

◆ CalculateEyeAcco()

bool CalculateEyeAcco ( float timeSlice)
protected

◆ CalculateEyeAccoTarget()

void CalculateEyeAccoTarget ( )
protected

◆ CalculateLinePointFade()

◆ EnableLights()

void EnableLights ( bool enable)
protected

Definition at line 486 of file undergroundhandlerclient.c.

Referenced by OnUndergroundPresenceUpdate().

◆ GetRequester()

PPERUndergroundAcco GetRequester ( )
protected

Definition at line 56 of file undergroundhandlerclient.c.

References m_Requester.

Referenced by ApplyEyeAcco(), ProcessEyeAcco(), and Managed::RegisterRequester().

◆ OnTriggerEnter()

void OnTriggerEnter ( UndergroundTrigger trigger)
protected

Definition at line 66 of file undergroundhandlerclient.c.

References m_InsideTriggers, and OnTriggerInsiderUpdate().

◆ OnTriggerInsiderUpdate()

◆ OnTriggerLeave()

void OnTriggerLeave ( UndergroundTrigger trigger)
protected

Definition at line 72 of file undergroundhandlerclient.c.

References m_InsideTriggers, and OnTriggerInsiderUpdate().

◆ OnUndergroundPresenceUpdate()

◆ OnUpdateTimerEnd()

void OnUpdateTimerEnd ( )
protected

◆ OnUpdateTimerIn()

void OnUpdateTimerIn ( )
protected

◆ OnUpdateTimerOut()

void OnUpdateTimerOut ( )
protected

◆ PlayAmbientSound()

void PlayAmbientSound ( )
protected

◆ ProcessEyeAcco()

void ProcessEyeAcco ( float timeSlice)
protected

◆ ProcessLighting()

void ProcessLighting ( float timeSlice)
protected

Definition at line 329 of file undergroundhandlerclient.c.

References g_Game, DiagMenu::GetBool(), and m_LightingLerp.

Referenced by Tick().

◆ ProcessSound()

void ProcessSound ( float timeSlice)
protected

◆ SetUndergroundPresence()

void SetUndergroundPresence ( UndergroundTrigger trigger)
protected

Definition at line 464 of file undergroundhandlerclient.c.

References OnUndergroundPresenceUpdate().

Referenced by OnTriggerInsiderUpdate().

◆ StopAmbientSound()

void StopAmbientSound ( )
protected

◆ Tick()

void Tick ( float timeSlice)
protected

◆ UndergroundHandlerClient()

void UndergroundHandlerClient ( PlayerBase player)
protected

◆ UpdateNVGRequester()

void UpdateNVGRequester ( float value)
protected

Definition at line 402 of file undergroundhandlerclient.c.

References m_NVRequester.

Referenced by ApplyEyeAcco(), and ProcessEyeAcco().

Variable Documentation

◆ ACCO_MODIFIER

const float ACCO_MODIFIER = 1

Definition at line 16 of file undergroundhandlerclient.c.

Referenced by CalculateBreadCrumbs(), and CalculateLinePointFade().

◆ DEFAULT_INTERPOLATION_SPEED

const float DEFAULT_INTERPOLATION_SPEED = 7

Definition at line 17 of file undergroundhandlerclient.c.

Referenced by OnTriggerInsiderUpdate().

◆ DISTANCE_CUTOFF

const float DISTANCE_CUTOFF = 5

Definition at line 15 of file undergroundhandlerclient.c.

Referenced by CalculateBreadCrumbs().

◆ LIGHT_BLEND_SPEED_IN

enum EUndergroundPresence LIGHT_BLEND_SPEED_IN = 5

◆ LIGHT_BLEND_SPEED_OUT

const float LIGHT_BLEND_SPEED_OUT = 1.75

◆ m_AccoInterpolationSpeed

float m_AccoInterpolationSpeed
protected

Definition at line 27 of file undergroundhandlerclient.c.

Referenced by CalculateEyeAcco(), and OnTriggerInsiderUpdate().

◆ m_AmbientController

string m_AmbientController
protected

Definition at line 31 of file undergroundhandlerclient.c.

Referenced by PlayAmbientSound(), and StopAmbientSound().

◆ m_AmbientSound

EffectSound m_AmbientSound
protected

◆ m_AnimTimerLightBlend

ref AnimationTimer m_AnimTimerLightBlend
protected

◆ m_BestTrigger

UndergroundTrigger m_BestTrigger
protected

◆ m_EyeAcco

float m_EyeAcco = 1
protected

Definition at line 28 of file undergroundhandlerclient.c.

Referenced by ApplyEyeAcco(), CalculateEyeAcco(), and ProcessSound().

◆ m_EyeAccoTarget

float m_EyeAccoTarget = 1
protected

◆ m_InsideTriggers

ref set<UndergroundTrigger> m_InsideTriggers = new set<UndergroundTrigger>()
protected

◆ m_LightingLerp

◆ m_LightingLerpTarget

float m_LightingLerpTarget
protected

Definition at line 29 of file undergroundhandlerclient.c.

Referenced by CalculateBreadCrumbs(), and CalculateLinePointFade().

◆ m_NVRequester

PPERequester_CameraNV m_NVRequester
protected

Definition at line 23 of file undergroundhandlerclient.c.

Referenced by UndergroundHandlerClient(), and UpdateNVGRequester().

◆ m_Player

PlayerBase m_Player
protected

Definition at line 21 of file undergroundhandlerclient.c.

◆ m_Requester

PPERUndergroundAcco m_Requester
protected

Definition at line 22 of file undergroundhandlerclient.c.

Referenced by GetRequester().

◆ m_TransitionalTrigger

UndergroundTrigger m_TransitionalTrigger
protected

◆ MAX_RATIO

const float MAX_RATIO = 0.9

Definition at line 13 of file undergroundhandlerclient.c.

Referenced by CalculateBreadCrumbs().

◆ RATIO_CUTOFF

const float RATIO_CUTOFF = 0

Definition at line 14 of file undergroundhandlerclient.c.

Referenced by CalculateBreadCrumbs().

◆ UNDERGROUND_LIGHTING

const string UNDERGROUND_LIGHTING = "dz\\data\\lighting\\lighting_underground.txt"

Definition at line 18 of file undergroundhandlerclient.c.

Referenced by UndergroundHandlerClient().