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

Go to the source code of this file.

Data Structures

class  Land_Underground_WaterReservoir_Water
class  WaterLevelSettings
class  WaterLevelSnapshot

Functions

void ~Land_Underground_WaterReservoir ()
PressureLevelSettings ActualPressureLevelStageSettings (int pValveIndex, bool pDeanimationRequest=false)
WaterLevelSettings ActualWaterLevelStageSettings (int pValveIndex)
float AdjustTime (float originalTime)
void AdvanceToNextPressureLevelStageSettings (int pValveIndex)
void AdvanceToNextWaterLevelStageSettings (int pValveIndex)
void AnimateValve (int pValveIndex, float pPhase)
void CleanSoundEffects ()
void CleanVisualEffects ()
void ConfigureValvesAndGaugesCourse ()
override void EOnPostSimulate (IEntity other, float timeSlice)
vector GetMemoryPointPosition (string pMemoryPoint)
override int GetTurnableValveIndex (int pComponentIndex)
array< vectorGetValveAligningPointsWS (int pValveIndex)
 for the animation aligning returns data in order: start point; direction point
float GetValvePressureLevelGauge (int pValveIndex)
void HandleSoundEffects ()
void HandleSoundEffectsPipeCreaking ()
void HandleSoundEffectsPipeSprinkling ()
void HandleSoundEffectsUnderwaterPipeSounds ()
void HandleSoundEffectsWaterLevelMovementSounds ()
void HandleVisualEffects ()
override bool HasTurnableValveBehavior ()
int HeightToWaterLevel (float pHeight)
void Init ()
bool IsAnyValveActive ()
bool IsValveActive (int pValveIndex)
bool IsValvePressureLevelGaugeAtBase (int pValveIndex)
override bool IsValveTurnable (int pValveIndex)
void Land_Underground_WaterReservoir ()
void LateInit ()
void OnValveManipulationCanceled (int pValveIndex)
void OnValveManipulationEnd (int pValveIndex)
void OnValveManipulationStart (int pValveIndex)
override void OnVariablesSynchronized ()
int PackArrayOfBoolStatesIntoBits (array< bool > pStates)
void PlayPipeCreakingSoundOnLocation ()
void PlayValveManipulationSound ()
void PressureLevelSettings (int pPressureLevel, float pDuration)
float PressureLevelToValue (int pPressureLevel)
PressureLevelSettings PreviousPressureLevelStageSettings (int pValveIndex, bool pDeanimationRequest=false)
WaterLevelSettings PreviousWaterLevelStageSettings (int pValveIndex)
void RegisterValve (string pCompName, int pIndex)
void ResetState ()
override void SetActions ()
void SetDefaultPressureLevelStageSettings (int pValveIndex)
void SetLastActiveValve (int pValveIndex)
void SetValvePressureLevelGauge (int pValveIndex, float pValue)
void SetWaterLevelHeight (float pHeight)
void SyncValveVariables ()
void TranslateMemoryPointsToWaterLevels ()
array< boolUnpackBitsToArrayOfBoolStates (int pPackedBits, int pArrayLength)
float WaterLevelToHeight (int pWaterLevel)

Variables

const string ANIM_PHASE_VALVE_DRAIN = "Valve1"
const string ANIM_PHASE_VALVE_FILL = "Valve2"
const string ANIM_PHASE_VALVE_GAUGE_DRAIN = "ValveGauge1"
 tighter broken pipe
const string ANIM_PHASE_VALVE_GAUGE_FILL = "ValveGauge2"
float Duration
ref array< ref PressureLevelSettingsm_DrainValvePressureDeanimationSettings
int m_DrainValvePressureLevelStageIndex
ref array< ref PressureLevelSettingsm_DrainValvePressureStageSettings
int m_DrainValveWaterLevelStageIndex
 pointing to specific stage for each valve/pipe
ref array< ref WaterLevelSettingsm_DrainValveWaterStageSettings
 valve/pipe stages for water and pressure levels
ref array< ref PressureLevelSettingsm_FillValvePressureDeanimationSettings
int m_FillValvePressureLevelStageIndex
ref array< ref PressureLevelSettingsm_FillValvePressureStageSettings
int m_FillValveWaterLevelStageIndex
ref array< ref WaterLevelSettingsm_FillValveWaterStageSettings
 for deanimation purposes
int m_LastActiveValve
ref ParticleSourceArray m_PipeBrokenParticles
bool m_PipeCreakingSoundRequested
ref EffectSound m_PipeCreakingSounds
ref array< EffectSoundm_PipeSounds
ref EffectSound m_PipeUnderwaterSound
ref array< boolm_PressureAnimationRequests
ref array< boolm_PressureDeanimationRequests
ref array< floatm_PressureTimesAccumulated
Object m_SpawnedWaterObject
ref Timer m_TempHotfixTimer
int m_ValveManipulatedIndex
int m_ValveManipulatedIndexPrev
ref EffectSound m_ValveManipulationSound
bool m_ValveManipulationSoundRequested
 VFX/SFX.
ref array< stringm_ValveNames
ref ParticleSourceArray m_ValveParticles
ref array< boolm_ValveStates
int m_ValveStatesPacked
int m_ValveStatesPackedPrev
int m_WaterLevelActual
vector m_WaterLevelDefault
float m_WaterLevelHeightActual
ref EffectSound m_WaterLevelMovementSound
int m_WaterLevelPrev
ref map< string, vectorm_WaterLevelsAvailable
ref WaterLevelSnapshot m_WaterLevelSnapshot
 for deanimation purposes
ref array< floatm_WaterLevelTimesAccumulated
class WaterLevelSnapshot OBJECT_NAME_WATER_PLANE = "Land_Underground_WaterReservoir_Water"
const int PARTICLE_DRAIN_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
const int PARTICLE_FILL_PIPE_JET = ParticleList.WATER_JET
const int PARTICLE_FILL_PIPE_JET_WEAK = ParticleList.WATER_JET_WEAK
const int PARTICLE_FILL_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
const int PIPE_CREAKING_MAX_TIME_DELAY_MS = 15000
const int PIPE_CREAKING_MIN_TIME_DELAY_MS = 10000
const string PIPE_CREAKING_SOUND_LOCATIONS [PIPE_CREAKING_SOUND_LOCATIONS_COUNT]
const int PIPE_CREAKING_SOUND_LOCATIONS_COUNT = 4
const int PIPE_INDEX_BROKEN1 = 0
const int PIPE_INDEX_BROKEN2 = 1
 main broken pipe
const string PIPE_NAME_BROKEN1 = "pipe_broken_1"
const string PIPE_NAME_BROKEN2 = "pipe_broken_2"
const string PIPE_NAME_LEAKING_DRAIN = "pipe_leaking_1"
const string PIPE_NAME_LEAKING_FILL = "pipe_leaking_2"
const int PIPES_BROKEN_COUNT = 2
const int PL_AVERAGE = 1
const int PL_MAX = 2
const int PL_MIN = 0
class WaterLevelSettings PressureLevel
const string SOUND_NAME_PIPE_CREAKING = "WaterObjectUndergroundPipeCreaking_SoundSet"
const string SOUND_NAME_PIPE_SPRINKLING_END = "WaterObjectUndergroundPipeSprinkling_End_SoundSet"
const string SOUND_NAME_PIPE_SPRINKLING_LOOP1 = "WaterObjectUndergroundPipeSprinkling_Loop1_SoundSet"
const string SOUND_NAME_PIPE_SPRINKLING_LOOP2 = "WaterObjectUndergroundPipeSprinkling_Loop2_SoundSet"
const string SOUND_NAME_PIPE_SPRINKLING_START = "WaterObjectUndergroundPipeSprinkling_Start_SoundSet"
const string SOUND_NAME_UPIPE_SPRINKLING_END = "WaterObjectUndergroundUnderwaterPipe_End_SoundSet"
const string SOUND_NAME_UPIPE_SPRINKLING_LOOP = "WaterObjectUndergroundUnderwaterPipe_Loop_SoundSet"
const string SOUND_NAME_UPIPE_SPRINKLING_START = "WaterObjectUndergroundUnderwaterPipe_Start_SoundSet"
const string SOUND_NAME_VALVE_MANIPULATION = "WaterObjectUndergroundValve_SoundSet"
const string SOUND_NAME_WATER_DRAIN_LOOP = "WaterObjectUndergroundUnderwaterEmpty_Loop_SoundSet"
const string SOUND_NAME_WATER_FILL_LOOP = "WaterObjectUndergroundUnderwaterFill_Loop_SoundSet"
const float TEMP_HOTIX_TIMESLICE = 0.01
const int VALVE_INDEX_DRAIN = 0
const int VALVE_INDEX_FILL = 1
const string VALVE_NAME_DRAIN = "valve1"
const string VALVE_NAME_FILL = "valve2"
const int VALVES_COUNT = 2
static const string WATER_LEVEL_ABOVE_PIPES = "water_level_above_pipes"
static const string WATER_LEVEL_AVERAGE = "water_level_average"
static const string WATER_LEVEL_MAX = "water_level_max"
static const string WATER_LEVEL_MIN = "water_level_min"
const string WATER_LEVELS [WATER_LEVELS_COUNT]
const int WATER_LEVELS_COUNT = 4
const int WL_ABOVE_PIPES = 1
const int WL_AVERAGE = 2
const int WL_MAX = 3
const int WL_MIN = 0

Function Documentation

◆ ~Land_Underground_WaterReservoir()

◆ ActualPressureLevelStageSettings()

◆ ActualWaterLevelStageSettings()

◆ AdjustTime()

float AdjustTime ( float originalTime)
protected

Definition at line 914 of file land_underground_waterreservoir.c.

Referenced by EOnPostSimulate().

◆ AdvanceToNextPressureLevelStageSettings()

◆ AdvanceToNextWaterLevelStageSettings()

void AdvanceToNextWaterLevelStageSettings ( int pValveIndex)
protected

◆ AnimateValve()

void AnimateValve ( int pValveIndex,
float pPhase )
protected

◆ CleanSoundEffects()

void CleanSoundEffects ( )
protected

◆ CleanVisualEffects()

void CleanVisualEffects ( )
protected

◆ ConfigureValvesAndGaugesCourse()

void ConfigureValvesAndGaugesCourse ( )
protected

drain - water level

drain - pressure

for deanimation purposes only while valves activation overllaps

fill - water level

fill - pressure

for deanimation purposes only while valves activation overllaps

Definition at line 423 of file land_underground_waterreservoir.c.

References m_DrainValvePressureDeanimationSettings, m_DrainValvePressureStageSettings, m_DrainValveWaterStageSettings, m_FillValvePressureDeanimationSettings, m_FillValvePressureStageSettings, m_FillValveWaterStageSettings, PL_AVERAGE, PL_MAX, PL_MIN, PressureLevelSettings(), WL_AVERAGE, WL_MAX, and WL_MIN.

Referenced by LateInit().

◆ EOnPostSimulate()

◆ GetMemoryPointPosition()

vector GetMemoryPointPosition ( string pMemoryPoint)
protected

Definition at line 927 of file land_underground_waterreservoir.c.

References ErrorEx, and vector::Zero.

Referenced by GetValveAligningPointsWS(), and HandleVisualEffects().

◆ GetTurnableValveIndex()

override int GetTurnableValveIndex ( int pComponentIndex)
protected

Definition at line 481 of file land_underground_waterreservoir.c.

References INDEX_NOT_FOUND, and m_ValveNames.

◆ GetValveAligningPointsWS()

array< vector > GetValveAligningPointsWS ( int pValveIndex)
protected

for the animation aligning returns data in order: start point; direction point

Definition at line 545 of file land_underground_waterreservoir.c.

References GetMemoryPointPosition(), VALVE_INDEX_DRAIN, VALVE_INDEX_FILL, VALVE_NAME_DRAIN, VALVE_NAME_FILL, and vector::Zero.

◆ GetValvePressureLevelGauge()

◆ HandleSoundEffects()

◆ HandleSoundEffectsPipeCreaking()

◆ HandleSoundEffectsPipeSprinkling()

◆ HandleSoundEffectsUnderwaterPipeSounds()

void HandleSoundEffectsUnderwaterPipeSounds ( )
protected

◆ HandleSoundEffectsWaterLevelMovementSounds()

void HandleSoundEffectsWaterLevelMovementSounds ( )
protected

◆ HandleVisualEffects()

◆ HasTurnableValveBehavior()

override bool HasTurnableValveBehavior ( )
private

Definition at line 337 of file land_underground_waterreservoir.c.

◆ HeightToWaterLevel()

◆ Init()

◆ IsAnyValveActive()

bool IsAnyValveActive ( )
protected

Definition at line 463 of file land_underground_waterreservoir.c.

References m_ValveStates.

Referenced by HandleSoundEffectsPipeCreaking().

◆ IsValveActive()

bool IsValveActive ( int pValveIndex)
protected

◆ IsValvePressureLevelGaugeAtBase()

bool IsValvePressureLevelGaugeAtBase ( int pValveIndex)
protected

◆ IsValveTurnable()

override bool IsValveTurnable ( int pValveIndex)
protected

◆ Land_Underground_WaterReservoir()

void Land_Underground_WaterReservoir ( )
private

◆ LateInit()

◆ OnValveManipulationCanceled()

void OnValveManipulationCanceled ( int pValveIndex)
protected

◆ OnValveManipulationEnd()

◆ OnValveManipulationStart()

void OnValveManipulationStart ( int pValveIndex)
protected

◆ OnVariablesSynchronized()

◆ PackArrayOfBoolStatesIntoBits()

int PackArrayOfBoolStatesIntoBits ( array< bool > pStates)
protected

Definition at line 1253 of file land_underground_waterreservoir.c.

Referenced by SyncValveVariables().

◆ PlayPipeCreakingSoundOnLocation()

◆ PlayValveManipulationSound()

◆ PressureLevelSettings()

void PressureLevelSettings ( int pPressureLevel,
float pDuration )

◆ PressureLevelToValue()

float PressureLevelToValue ( int pPressureLevel)
protected

Definition at line 653 of file land_underground_waterreservoir.c.

References PL_AVERAGE, PL_MAX, and PL_MIN.

Referenced by EOnPostSimulate().

◆ PreviousPressureLevelStageSettings()

◆ PreviousWaterLevelStageSettings()

◆ RegisterValve()

◆ ResetState()

◆ SetActions()

override void SetActions ( )
private

◆ SetDefaultPressureLevelStageSettings()

void SetDefaultPressureLevelStageSettings ( int pValveIndex)
protected

◆ SetLastActiveValve()

void SetLastActiveValve ( int pValveIndex)
protected

Definition at line 568 of file land_underground_waterreservoir.c.

References m_LastActiveValve.

Referenced by OnValveManipulationEnd().

◆ SetValvePressureLevelGauge()

void SetValvePressureLevelGauge ( int pValveIndex,
float pValue )
protected

◆ SetWaterLevelHeight()

void SetWaterLevelHeight ( float pHeight)
protected

◆ SyncValveVariables()

void SyncValveVariables ( )
protected

◆ TranslateMemoryPointsToWaterLevels()

void TranslateMemoryPointsToWaterLevels ( )
protected

Definition at line 599 of file land_underground_waterreservoir.c.

References m_WaterLevelsAvailable, WATER_LEVELS, and WATER_LEVELS_COUNT.

Referenced by LateInit().

◆ UnpackBitsToArrayOfBoolStates()

array< bool > UnpackBitsToArrayOfBoolStates ( int pPackedBits,
int pArrayLength )
protected

Definition at line 1268 of file land_underground_waterreservoir.c.

Referenced by OnVariablesSynchronized().

◆ WaterLevelToHeight()

Variable Documentation

◆ ANIM_PHASE_VALVE_DRAIN

const string ANIM_PHASE_VALVE_DRAIN = "Valve1"
protected

Definition at line 54 of file land_underground_waterreservoir.c.

Referenced by AnimateValve().

◆ ANIM_PHASE_VALVE_FILL

const string ANIM_PHASE_VALVE_FILL = "Valve2"
protected

Definition at line 55 of file land_underground_waterreservoir.c.

Referenced by AnimateValve().

◆ ANIM_PHASE_VALVE_GAUGE_DRAIN

const string ANIM_PHASE_VALVE_GAUGE_DRAIN = "ValveGauge1"
protected

tighter broken pipe

Definition at line 52 of file land_underground_waterreservoir.c.

Referenced by GetValvePressureLevelGauge(), and SetValvePressureLevelGauge().

◆ ANIM_PHASE_VALVE_GAUGE_FILL

const string ANIM_PHASE_VALVE_GAUGE_FILL = "ValveGauge2"
protected

◆ Duration

float Duration

Definition at line 16 of file land_underground_waterreservoir.c.

Referenced by PressureLevelSettings().

◆ m_DrainValvePressureDeanimationSettings

ref array<ref PressureLevelSettings> m_DrainValvePressureDeanimationSettings
protected

◆ m_DrainValvePressureLevelStageIndex

◆ m_DrainValvePressureStageSettings

◆ m_DrainValveWaterLevelStageIndex

int m_DrainValveWaterLevelStageIndex
protected

◆ m_DrainValveWaterStageSettings

ref array<ref WaterLevelSettings> m_DrainValveWaterStageSettings
protected

◆ m_FillValvePressureDeanimationSettings

ref array<ref PressureLevelSettings> m_FillValvePressureDeanimationSettings
protected

◆ m_FillValvePressureLevelStageIndex

◆ m_FillValvePressureStageSettings

◆ m_FillValveWaterLevelStageIndex

◆ m_FillValveWaterStageSettings

ref array<ref WaterLevelSettings> m_FillValveWaterStageSettings
protected

◆ m_LastActiveValve

int m_LastActiveValve
protected

◆ m_PipeBrokenParticles

ref ParticleSourceArray m_PipeBrokenParticles
protected

◆ m_PipeCreakingSoundRequested

bool m_PipeCreakingSoundRequested
protected

◆ m_PipeCreakingSounds

ref EffectSound m_PipeCreakingSounds
protected

◆ m_PipeSounds

ref array<EffectSound> m_PipeSounds
protected

◆ m_PipeUnderwaterSound

ref EffectSound m_PipeUnderwaterSound
protected

◆ m_PressureAnimationRequests

ref array<bool> m_PressureAnimationRequests
protected

◆ m_PressureDeanimationRequests

ref array<bool> m_PressureDeanimationRequests
protected

◆ m_PressureTimesAccumulated

ref array<float> m_PressureTimesAccumulated
protected

◆ m_SpawnedWaterObject

Object m_SpawnedWaterObject
protected

Definition at line 123 of file land_underground_waterreservoir.c.

Referenced by LateInit(), and SetWaterLevelHeight().

◆ m_TempHotfixTimer

ref Timer m_TempHotfixTimer
private

Definition at line 154 of file land_underground_waterreservoir.c.

Referenced by ~Land_Underground_WaterReservoir(), and Init().

◆ m_ValveManipulatedIndex

◆ m_ValveManipulatedIndexPrev

int m_ValveManipulatedIndexPrev
protected

Definition at line 111 of file land_underground_waterreservoir.c.

Referenced by Init(), and ResetState().

◆ m_ValveManipulationSound

ref EffectSound m_ValveManipulationSound
protected

Definition at line 129 of file land_underground_waterreservoir.c.

Referenced by PlayValveManipulationSound().

◆ m_ValveManipulationSoundRequested

bool m_ValveManipulationSoundRequested
protected

VFX/SFX.

Definition at line 128 of file land_underground_waterreservoir.c.

Referenced by OnVariablesSynchronized(), and PlayValveManipulationSound().

◆ m_ValveNames

ref array<string> m_ValveNames
protected

Definition at line 112 of file land_underground_waterreservoir.c.

Referenced by GetTurnableValveIndex(), Init(), and RegisterValve().

◆ m_ValveParticles

ref ParticleSourceArray m_ValveParticles
protected

◆ m_ValveStates

◆ m_ValveStatesPacked

int m_ValveStatesPacked
protected

◆ m_ValveStatesPackedPrev

int m_ValveStatesPackedPrev
protected

Definition at line 109 of file land_underground_waterreservoir.c.

Referenced by SyncValveVariables().

◆ m_WaterLevelActual

◆ m_WaterLevelDefault

vector m_WaterLevelDefault
protected

Definition at line 124 of file land_underground_waterreservoir.c.

Referenced by LateInit(), and SetWaterLevelHeight().

◆ m_WaterLevelHeightActual

float m_WaterLevelHeightActual
protected

◆ m_WaterLevelMovementSound

ref EffectSound m_WaterLevelMovementSound
protected

◆ m_WaterLevelPrev

◆ m_WaterLevelsAvailable

◆ m_WaterLevelSnapshot

ref WaterLevelSnapshot m_WaterLevelSnapshot
protected

for deanimation purposes

Definition at line 87 of file land_underground_waterreservoir.c.

Referenced by EOnPostSimulate(), and Init().

◆ m_WaterLevelTimesAccumulated

ref array<float> m_WaterLevelTimesAccumulated
protected

◆ OBJECT_NAME_WATER_PLANE

class WaterLevelSnapshot OBJECT_NAME_WATER_PLANE = "Land_Underground_WaterReservoir_Water"

Referenced by LateInit().

◆ PARTICLE_DRAIN_PIPE_MAX_PRESSURE

const int PARTICLE_DRAIN_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
protected

Definition at line 75 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_JET

const int PARTICLE_FILL_PIPE_JET = ParticleList.WATER_JET
protected

Definition at line 77 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_JET_WEAK

const int PARTICLE_FILL_PIPE_JET_WEAK = ParticleList.WATER_JET_WEAK
protected

Definition at line 78 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_MAX_PRESSURE

const int PARTICLE_FILL_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
protected

Definition at line 76 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPE_CREAKING_MAX_TIME_DELAY_MS

const int PIPE_CREAKING_MAX_TIME_DELAY_MS = 15000
protected

Definition at line 141 of file land_underground_waterreservoir.c.

Referenced by HandleSoundEffectsPipeCreaking().

◆ PIPE_CREAKING_MIN_TIME_DELAY_MS

const int PIPE_CREAKING_MIN_TIME_DELAY_MS = 10000
protected

Definition at line 140 of file land_underground_waterreservoir.c.

Referenced by HandleSoundEffectsPipeCreaking().

◆ PIPE_CREAKING_SOUND_LOCATIONS

const string PIPE_CREAKING_SOUND_LOCATIONS[PIPE_CREAKING_SOUND_LOCATIONS_COUNT]
protected
Initial value:
= {
"pipe_creaking_sound_pos_1",
"pipe_creaking_sound_pos_2",
"pipe_creaking_sound_pos_3",
"pipe_creaking_sound_pos_4"
}

Definition at line 143 of file land_underground_waterreservoir.c.

Referenced by PlayPipeCreakingSoundOnLocation().

◆ PIPE_CREAKING_SOUND_LOCATIONS_COUNT

const int PIPE_CREAKING_SOUND_LOCATIONS_COUNT = 4
protected

Definition at line 142 of file land_underground_waterreservoir.c.

Referenced by PlayPipeCreakingSoundOnLocation().

◆ PIPE_INDEX_BROKEN1

const int PIPE_INDEX_BROKEN1 = 0
protected

Definition at line 49 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPE_INDEX_BROKEN2

const int PIPE_INDEX_BROKEN2 = 1
protected

main broken pipe

Definition at line 50 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPE_NAME_BROKEN1

const string PIPE_NAME_BROKEN1 = "pipe_broken_1"
protected

◆ PIPE_NAME_BROKEN2

const string PIPE_NAME_BROKEN2 = "pipe_broken_2"
protected

Definition at line 59 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPE_NAME_LEAKING_DRAIN

const string PIPE_NAME_LEAKING_DRAIN = "pipe_leaking_1"
protected

Definition at line 60 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPE_NAME_LEAKING_FILL

const string PIPE_NAME_LEAKING_FILL = "pipe_leaking_2"
protected

Definition at line 61 of file land_underground_waterreservoir.c.

Referenced by HandleVisualEffects().

◆ PIPES_BROKEN_COUNT

const int PIPES_BROKEN_COUNT = 2
protected

Definition at line 48 of file land_underground_waterreservoir.c.

Referenced by Init().

◆ PL_AVERAGE

const int PL_AVERAGE = 1
protected

◆ PL_MAX

const int PL_MAX = 2
protected

◆ PL_MIN

const int PL_MIN = 0
protected

◆ PressureLevel

class WaterLevelSettings PressureLevel

Referenced by PressureLevelSettings().

◆ SOUND_NAME_PIPE_CREAKING

const string SOUND_NAME_PIPE_CREAKING = "WaterObjectUndergroundPipeCreaking_SoundSet"
protected

Definition at line 63 of file land_underground_waterreservoir.c.

Referenced by PlayPipeCreakingSoundOnLocation().

◆ SOUND_NAME_PIPE_SPRINKLING_END

const string SOUND_NAME_PIPE_SPRINKLING_END = "WaterObjectUndergroundPipeSprinkling_End_SoundSet"
protected

Definition at line 66 of file land_underground_waterreservoir.c.

◆ SOUND_NAME_PIPE_SPRINKLING_LOOP1

const string SOUND_NAME_PIPE_SPRINKLING_LOOP1 = "WaterObjectUndergroundPipeSprinkling_Loop1_SoundSet"
protected

Definition at line 67 of file land_underground_waterreservoir.c.

Referenced by HandleSoundEffectsPipeSprinkling().

◆ SOUND_NAME_PIPE_SPRINKLING_LOOP2

const string SOUND_NAME_PIPE_SPRINKLING_LOOP2 = "WaterObjectUndergroundPipeSprinkling_Loop2_SoundSet"
protected

Definition at line 68 of file land_underground_waterreservoir.c.

Referenced by HandleSoundEffectsPipeSprinkling().

◆ SOUND_NAME_PIPE_SPRINKLING_START

const string SOUND_NAME_PIPE_SPRINKLING_START = "WaterObjectUndergroundPipeSprinkling_Start_SoundSet"
protected

Definition at line 65 of file land_underground_waterreservoir.c.

Referenced by HandleSoundEffectsPipeSprinkling().

◆ SOUND_NAME_UPIPE_SPRINKLING_END

const string SOUND_NAME_UPIPE_SPRINKLING_END = "WaterObjectUndergroundUnderwaterPipe_End_SoundSet"
protected

◆ SOUND_NAME_UPIPE_SPRINKLING_LOOP

const string SOUND_NAME_UPIPE_SPRINKLING_LOOP = "WaterObjectUndergroundUnderwaterPipe_Loop_SoundSet"
protected

◆ SOUND_NAME_UPIPE_SPRINKLING_START

const string SOUND_NAME_UPIPE_SPRINKLING_START = "WaterObjectUndergroundUnderwaterPipe_Start_SoundSet"
protected

◆ SOUND_NAME_VALVE_MANIPULATION

const string SOUND_NAME_VALVE_MANIPULATION = "WaterObjectUndergroundValve_SoundSet"
protected

Definition at line 64 of file land_underground_waterreservoir.c.

Referenced by PlayValveManipulationSound().

◆ SOUND_NAME_WATER_DRAIN_LOOP

const string SOUND_NAME_WATER_DRAIN_LOOP = "WaterObjectUndergroundUnderwaterEmpty_Loop_SoundSet"
protected

◆ SOUND_NAME_WATER_FILL_LOOP

const string SOUND_NAME_WATER_FILL_LOOP = "WaterObjectUndergroundUnderwaterFill_Loop_SoundSet"
protected

◆ TEMP_HOTIX_TIMESLICE

const float TEMP_HOTIX_TIMESLICE = 0.01
private

Definition at line 155 of file land_underground_waterreservoir.c.

Referenced by EOnPostSimulate(), and Init().

◆ VALVE_INDEX_DRAIN

◆ VALVE_INDEX_FILL

◆ VALVE_NAME_DRAIN

const string VALVE_NAME_DRAIN = "valve1"
protected

◆ VALVE_NAME_FILL

const string VALVE_NAME_FILL = "valve2"
protected

◆ VALVES_COUNT

const int VALVES_COUNT = 2
protected

◆ WATER_LEVEL_ABOVE_PIPES

const string WATER_LEVEL_ABOVE_PIPES = "water_level_above_pipes"
staticprotected

Definition at line 97 of file land_underground_waterreservoir.c.

Referenced by HeightToWaterLevel(), and WaterLevelToHeight().

◆ WATER_LEVEL_AVERAGE

const string WATER_LEVEL_AVERAGE = "water_level_average"
staticprotected

◆ WATER_LEVEL_MAX

const string WATER_LEVEL_MAX = "water_level_max"
staticprotected

Definition at line 95 of file land_underground_waterreservoir.c.

Referenced by HeightToWaterLevel(), and WaterLevelToHeight().

◆ WATER_LEVEL_MIN

const string WATER_LEVEL_MIN = "water_level_min"
staticprotected

Definition at line 98 of file land_underground_waterreservoir.c.

Referenced by HeightToWaterLevel(), and WaterLevelToHeight().

◆ WATER_LEVELS

const string WATER_LEVELS[WATER_LEVELS_COUNT]
protected
Initial value:
= {
}
static const string WATER_LEVEL_MIN
static const string WATER_LEVEL_MAX
static const string WATER_LEVEL_ABOVE_PIPES
static const string WATER_LEVEL_AVERAGE

Definition at line 101 of file land_underground_waterreservoir.c.

Referenced by TranslateMemoryPointsToWaterLevels().

◆ WATER_LEVELS_COUNT

const int WATER_LEVELS_COUNT = 4
protected

◆ WL_ABOVE_PIPES

const int WL_ABOVE_PIPES = 1
protected

◆ WL_AVERAGE

◆ WL_MAX

◆ WL_MIN

const int WL_MIN = 0
protected