PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
UndergroundHandlerClient.c File Reference

Enumerations

enum  EUndergroundPresence { NONE , OUTER , TRANSITIONING , FULL }
 

Functions

void UndergroundHandlerClient (PlayerBase player)
 
void ~UndergroundHandlerClient ()
 
protected PPERUndergroundAcco GetRequester ()
 
void OnTriggerEnter (UndergroundTrigger trigger)
 
void OnTriggerLeave (UndergroundTrigger trigger)
 
protected void CalculateEyeAccoTarget ()
 
protected void CalculateBreadCrumbs ()
 
protected void CalculateLinePointFade ()
 
protected void ProcessEyeAcco (float timeSlice)
 
protected void ProcessLighting (float timeSlice)
 
protected void ProcessSound (float timeSlice)
 
void Tick (float timeSlice)
 
protected void ApplyEyeAcco ()
 
protected void UpdateNVGRequester (float value)
 
protected bool CalculateEyeAcco (float timeSlice)
 
protected void OnTriggerInsiderUpdate ()
 
protected void SetUndergroundPresence (UndergroundTrigger trigger)
 
protected void EnableLights (bool enable)
 
void OnUpdateTimerEnd ()
 
void OnUpdateTimerIn ()
 
void OnUpdateTimerOut ()
 
protected void PlayAmbientSound ()
 
protected void StopAmbientSound ()
 
protected 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"
 
protected ref AnimationTimer m_AnimTimerLightBlend
 
protected PlayerBase m_Player
 
protected PPERUndergroundAcco m_Requester
 
protected PPERequester_CameraNV m_NVRequester
 
protected ref set< UndergroundTrigger > m_InsideTriggers = new set<UndergroundTrigger>()
 
protected float m_EyeAccoTarget = 1
 
protected float m_AccoInterpolationSpeed
 
protected float m_EyeAcco = 1
 
protected float m_LightingLerpTarget
 
protected float m_LightingLerp
 
protected string m_AmbientController
 
protected EffectSound m_AmbientSound
 
protected UndergroundTrigger m_BestTrigger
 
protected UndergroundTrigger m_TransitionalTrigger
 

Enumeration Type Documentation

◆ EUndergroundPresence

Enumerator
NONE 
OUTER 
TRANSITIONING 
FULL 

Function Documentation

◆ ApplyEyeAcco()

protected void ApplyEyeAcco ( )

◆ CalculateBreadCrumbs()

◆ CalculateEyeAcco()

protected bool CalculateEyeAcco ( float  timeSlice)

◆ CalculateEyeAccoTarget()

protected void CalculateEyeAccoTarget ( )

◆ CalculateLinePointFade()

◆ EnableLights()

protected void EnableLights ( bool  enable)

◆ GetRequester()

protected PPERUndergroundAcco GetRequester ( )

◆ OnTriggerEnter()

void OnTriggerEnter ( UndergroundTrigger  trigger)

◆ OnTriggerInsiderUpdate()

◆ OnTriggerLeave()

void OnTriggerLeave ( UndergroundTrigger  trigger)

◆ OnUndergroundPresenceUpdate()

◆ OnUpdateTimerEnd()

void OnUpdateTimerEnd ( )

◆ OnUpdateTimerIn()

◆ OnUpdateTimerOut()

◆ PlayAmbientSound()

protected void PlayAmbientSound ( )

◆ ProcessEyeAcco()

protected void ProcessEyeAcco ( float  timeSlice)

◆ ProcessLighting()

protected void ProcessLighting ( float  timeSlice)

◆ ProcessSound()

◆ SetUndergroundPresence()

protected void SetUndergroundPresence ( UndergroundTrigger  trigger)

◆ StopAmbientSound()

protected void StopAmbientSound ( )

◆ Tick()

◆ UndergroundHandlerClient()

◆ UpdateNVGRequester()

protected void UpdateNVGRequester ( float  value)

References m_NVRequester.

Referenced by ApplyEyeAcco(), and ProcessEyeAcco().

◆ ~UndergroundHandlerClient()

Variable Documentation

◆ ACCO_MODIFIER

const float ACCO_MODIFIER = 1

◆ DEFAULT_INTERPOLATION_SPEED

const float DEFAULT_INTERPOLATION_SPEED = 7

Referenced by OnTriggerInsiderUpdate().

◆ DISTANCE_CUTOFF

const float DISTANCE_CUTOFF = 5

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

protected float m_AccoInterpolationSpeed

◆ m_AmbientController

protected string m_AmbientController

◆ m_AmbientSound

◆ m_AnimTimerLightBlend

◆ m_BestTrigger

protected UndergroundTrigger m_BestTrigger

◆ m_EyeAcco

◆ m_EyeAccoTarget

◆ m_InsideTriggers

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

◆ m_LightingLerp

◆ m_LightingLerpTarget

protected float m_LightingLerpTarget

Referenced by CalculateLinePointFade().

◆ m_NVRequester

protected PPERequester_CameraNV m_NVRequester

◆ m_Player

protected PlayerBase m_Player

◆ m_Requester

◆ m_TransitionalTrigger

◆ MAX_RATIO

const float MAX_RATIO = 0.9

Referenced by CalculateBreadCrumbs().

◆ RATIO_CUTOFF

const float RATIO_CUTOFF = 0

Referenced by CalculateBreadCrumbs().

◆ UNDERGROUND_LIGHTING

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