Dayz Explorer 1.29.162510
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 378 of file undergroundhandlerclient.c.

◆ CalculateBreadCrumbs()

void CalculateBreadCrumbs ( )
protected

Definition at line 96 of file undergroundhandlerclient.c.

◆ CalculateEyeAcco()

bool CalculateEyeAcco ( float timeSlice)
protected

Definition at line 407 of file undergroundhandlerclient.c.

◆ CalculateEyeAccoTarget()

void CalculateEyeAccoTarget ( )
protected

Definition at line 81 of file undergroundhandlerclient.c.

◆ CalculateLinePointFade()

void CalculateLinePointFade ( )
protected

Definition at line 200 of file undergroundhandlerclient.c.

◆ EnableLights()

void EnableLights ( bool enable)
protected

Definition at line 486 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 429 of file undergroundhandlerclient.c.

◆ OnTriggerLeave()

void OnTriggerLeave ( UndergroundTrigger trigger)
protected

Definition at line 72 of file undergroundhandlerclient.c.

◆ OnUndergroundPresenceUpdate()

void OnUndergroundPresenceUpdate ( EUndergroundPresence newPresence,
EUndergroundPresence oldPresence )
protected

Definition at line 546 of file undergroundhandlerclient.c.

◆ OnUpdateTimerEnd()

void OnUpdateTimerEnd ( )
protected

◆ OnUpdateTimerIn()

void OnUpdateTimerIn ( )
protected

Definition at line 496 of file undergroundhandlerclient.c.

◆ OnUpdateTimerOut()

void OnUpdateTimerOut ( )
protected

Definition at line 506 of file undergroundhandlerclient.c.

◆ PlayAmbientSound()

void PlayAmbientSound ( )
protected

Definition at line 515 of file undergroundhandlerclient.c.

◆ ProcessEyeAcco()

void ProcessEyeAcco ( float timeSlice)
protected

Definition at line 314 of file undergroundhandlerclient.c.

◆ ProcessLighting()

void ProcessLighting ( float timeSlice)
protected

Definition at line 329 of file undergroundhandlerclient.c.

◆ ProcessSound()

void ProcessSound ( float timeSlice)
protected

Definition at line 345 of file undergroundhandlerclient.c.

◆ SetUndergroundPresence()

void SetUndergroundPresence ( UndergroundTrigger trigger)
protected

Definition at line 464 of file undergroundhandlerclient.c.

◆ StopAmbientSound()

void StopAmbientSound ( )
protected

Definition at line 535 of file undergroundhandlerclient.c.

◆ Tick()

void Tick ( float timeSlice)
protected

Definition at line 360 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 402 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.