Dayz Explorer 1.28.160049
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 (PlayerBase player)
 
void ~UndergroundHandlerClient ()
 
PPERUndergroundAcco GetRequester ()
 
void OnTriggerEnter (UndergroundTrigger trigger)
 
void OnTriggerLeave (UndergroundTrigger trigger)
 
void CalculateEyeAccoTarget ()
 
void CalculateBreadCrumbs ()
 
void CalculateLinePointFade ()
 
void ProcessEyeAcco (float timeSlice)
 
void ProcessLighting (float timeSlice)
 
void ProcessSound (float timeSlice)
 
void Tick (float timeSlice)
 
void ApplyEyeAcco ()
 
void UpdateNVGRequester (float value)
 
bool CalculateEyeAcco (float timeSlice)
 
void OnTriggerInsiderUpdate ()
 
void SetUndergroundPresence (UndergroundTrigger trigger)
 
void EnableLights (bool enable)
 
void OnUpdateTimerEnd ()
 
void OnUpdateTimerIn ()
 
void OnUpdateTimerOut ()
 
void PlayAmbientSound ()
 
void StopAmbientSound ()
 
void OnUndergroundPresenceUpdate (EUndergroundPresence newPresence, EUndergroundPresence oldPresence)
 

Variables

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

Enumeration Type Documentation

◆ EUndergroundPresence

Enumerator
NONE 
OUTER 
TRANSITIONING 
FULL 

Definition at line 1 of file undergroundhandlerclient.c.

Function Documentation

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
protected

Definition at line 357 of file undergroundhandlerclient.c.

◆ CalculateBreadCrumbs()

void CalculateBreadCrumbs ( )
protected

Definition at line 98 of file undergroundhandlerclient.c.

◆ CalculateEyeAcco()

bool CalculateEyeAcco ( float timeSlice)
protected

Definition at line 386 of file undergroundhandlerclient.c.

◆ CalculateEyeAccoTarget()

void CalculateEyeAccoTarget ( )
protected

Definition at line 83 of file undergroundhandlerclient.c.

◆ CalculateLinePointFade()

void CalculateLinePointFade ( )
protected

Definition at line 181 of file undergroundhandlerclient.c.

◆ EnableLights()

void EnableLights ( bool enable)
protected

Definition at line 473 of file undergroundhandlerclient.c.

◆ GetRequester()

PPERUndergroundAcco GetRequester ( )
protected

Definition at line 56 of file undergroundhandlerclient.c.

◆ OnTriggerEnter()

void OnTriggerEnter ( UndergroundTrigger trigger)
protected

Definition at line 66 of file undergroundhandlerclient.c.

◆ OnTriggerInsiderUpdate()

void OnTriggerInsiderUpdate ( )
protected

Definition at line 408 of file undergroundhandlerclient.c.

◆ OnTriggerLeave()

void OnTriggerLeave ( UndergroundTrigger trigger)
protected

Definition at line 73 of file undergroundhandlerclient.c.

◆ OnUndergroundPresenceUpdate()

void OnUndergroundPresenceUpdate ( EUndergroundPresence newPresence,
EUndergroundPresence oldPresence )
protected

Definition at line 524 of file undergroundhandlerclient.c.

◆ OnUpdateTimerEnd()

void OnUpdateTimerEnd ( )
protected

◆ OnUpdateTimerIn()

void OnUpdateTimerIn ( )
protected

Definition at line 483 of file undergroundhandlerclient.c.

◆ OnUpdateTimerOut()

void OnUpdateTimerOut ( )
protected

Definition at line 493 of file undergroundhandlerclient.c.

◆ PlayAmbientSound()

void PlayAmbientSound ( )
protected

Definition at line 502 of file undergroundhandlerclient.c.

◆ ProcessEyeAcco()

void ProcessEyeAcco ( float timeSlice)
protected

Definition at line 293 of file undergroundhandlerclient.c.

◆ ProcessLighting()

void ProcessLighting ( float timeSlice)
protected

Definition at line 308 of file undergroundhandlerclient.c.

◆ ProcessSound()

void ProcessSound ( float timeSlice)
protected

Definition at line 324 of file undergroundhandlerclient.c.

◆ SetUndergroundPresence()

void SetUndergroundPresence ( UndergroundTrigger trigger)
protected

Definition at line 443 of file undergroundhandlerclient.c.

◆ StopAmbientSound()

void StopAmbientSound ( )
protected

Definition at line 513 of file undergroundhandlerclient.c.

◆ Tick()

void Tick ( float timeSlice)
protected

Definition at line 339 of file undergroundhandlerclient.c.

◆ UndergroundHandlerClient()

void UndergroundHandlerClient ( PlayerBase player)
protected

Definition at line 37 of file undergroundhandlerclient.c.

◆ UpdateNVGRequester()

void UpdateNVGRequester ( float value)
protected

Definition at line 381 of file undergroundhandlerclient.c.

◆ ~UndergroundHandlerClient()

void ~UndergroundHandlerClient ( )
protected

Definition at line 44 of file undergroundhandlerclient.c.

Variable Documentation

◆ ACCO_MODIFIER

const float ACCO_MODIFIER = 1

Definition at line 16 of file undergroundhandlerclient.c.

◆ DEFAULT_INTERPOLATION_SPEED

const float DEFAULT_INTERPOLATION_SPEED = 7

Definition at line 17 of file undergroundhandlerclient.c.

◆ DISTANCE_CUTOFF

const float DISTANCE_CUTOFF = 5

Definition at line 15 of file undergroundhandlerclient.c.

◆ LIGHT_BLEND_SPEED_IN

enum EUndergroundPresence LIGHT_BLEND_SPEED_IN = 5

◆ LIGHT_BLEND_SPEED_OUT

const float LIGHT_BLEND_SPEED_OUT = 1.75

Definition at line 12 of file undergroundhandlerclient.c.

◆ m_AccoInterpolationSpeed

float m_AccoInterpolationSpeed
protected

Definition at line 27 of file undergroundhandlerclient.c.

◆ m_AmbientController

string m_AmbientController
protected

Definition at line 31 of file undergroundhandlerclient.c.

◆ m_AmbientSound

EffectSound m_AmbientSound
protected

Definition at line 32 of file undergroundhandlerclient.c.

◆ m_AnimTimerLightBlend

ref AnimationTimer m_AnimTimerLightBlend
protected

Definition at line 19 of file undergroundhandlerclient.c.

◆ m_BestTrigger

UndergroundTrigger m_BestTrigger
protected

Definition at line 34 of file undergroundhandlerclient.c.

◆ m_EyeAcco

float m_EyeAcco = 1
protected

Definition at line 28 of file undergroundhandlerclient.c.

◆ m_EyeAccoTarget

float m_EyeAccoTarget = 1
protected

Definition at line 26 of file undergroundhandlerclient.c.

◆ m_InsideTriggers

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

Definition at line 24 of file undergroundhandlerclient.c.

◆ m_LightingLerp

float m_LightingLerp
protected

Definition at line 30 of file undergroundhandlerclient.c.

◆ m_LightingLerpTarget

float m_LightingLerpTarget
protected

Definition at line 29 of file undergroundhandlerclient.c.

◆ m_NVRequester

PPERequester_CameraNV m_NVRequester
protected

Definition at line 23 of file undergroundhandlerclient.c.

◆ 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.

◆ m_TransitionalTrigger

UndergroundTrigger m_TransitionalTrigger
protected

Definition at line 35 of file undergroundhandlerclient.c.

◆ MAX_RATIO

const float MAX_RATIO = 0.9

Definition at line 13 of file undergroundhandlerclient.c.

◆ RATIO_CUTOFF

const float RATIO_CUTOFF = 0

Definition at line 14 of file undergroundhandlerclient.c.

◆ UNDERGROUND_LIGHTING

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

Definition at line 18 of file undergroundhandlerclient.c.