![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
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" |
| enum EUndergroundPresence |
| Enumerator | |
|---|---|
| NONE | |
| OUTER | |
| TRANSITIONING | |
| FULL | |
Definition at line 1 of file undergroundhandlerclient.c.
|
protected |
Definition at line 44 of file undergroundhandlerclient.c.
References g_Game, and m_AmbientSound.
|
protected |
Definition at line 378 of file undergroundhandlerclient.c.
References DiagMenu::GetBool(), GetDayZGame(), GetRequester(), m_EyeAcco, m_LightingLerp, and UpdateNVGRequester().
Referenced by ProcessEyeAcco().
|
protected |
Definition at line 96 of file undergroundhandlerclient.c.
References ACCO_MODIFIER, ARGB(), BreadcrumbDoorStateController(), Math::Clamp(), COLOR_RED, vector::Distance(), DISTANCE_CUTOFF, Debug::DrawLine(), Debug::DrawSphere(), Easing::EaseInOutQuint(), Easing::EaseInQuint(), g_Game, DiagMenu::GetBool(), m_EyeAccoTarget, m_LightingLerp, m_LightingLerpTarget, m_TransitionalTrigger, MAX_RATIO, RATIO_CUTOFF, DayZPhysics::RayCastBullet(), and Math::Remap().
Referenced by CalculateEyeAccoTarget().
Definition at line 407 of file undergroundhandlerclient.c.
References Math::AbsFloat(), m_AccoInterpolationSpeed, m_EyeAcco, m_EyeAccoTarget, and m_TransitionalTrigger.
Referenced by ProcessEyeAcco().
|
protected |
Definition at line 81 of file undergroundhandlerclient.c.
References CalculateBreadCrumbs(), CalculateLinePointFade(), and m_TransitionalTrigger.
Referenced by ProcessEyeAcco().
|
protected |
Definition at line 200 of file undergroundhandlerclient.c.
References ACCO_MODIFIER, DbgUI::Begin(), COLOR_RED, COLOR_YELLOW, vector::DistanceSq(), Debug::DrawLine(), Debug::DrawSphere(), DbgUI::End(), DiagMenu::GetBool(), Math::Lerp(), LIGHT_BLEND_SPEED_IN, LIGHT_BLEND_SPEED_OUT, m_AnimTimerLightBlend, m_EyeAccoTarget, m_LightingLerp, m_LightingLerpTarget, m_TransitionalTrigger, points, String(), and DbgUI::Text().
Referenced by CalculateEyeAccoTarget().
|
protected |
Definition at line 486 of file undergroundhandlerclient.c.
Referenced by OnUndergroundPresenceUpdate().
|
protected |
Definition at line 56 of file undergroundhandlerclient.c.
References m_Requester.
Referenced by ApplyEyeAcco(), ProcessEyeAcco(), and Managed::RegisterRequester().
|
protected |
Definition at line 66 of file undergroundhandlerclient.c.
References m_InsideTriggers, and OnTriggerInsiderUpdate().
|
protected |
Definition at line 429 of file undergroundhandlerclient.c.
References DEFAULT_INTERPOLATION_SPEED, m_AccoInterpolationSpeed, m_BestTrigger, m_EyeAccoTarget, m_InsideTriggers, m_TransitionalTrigger, and SetUndergroundPresence().
Referenced by OnTriggerEnter(), and OnTriggerLeave().
|
protected |
Definition at line 72 of file undergroundhandlerclient.c.
References m_InsideTriggers, and OnTriggerInsiderUpdate().
|
protected |
Definition at line 546 of file undergroundhandlerclient.c.
References EnableLights(), g_Game, LIGHT_BLEND_SPEED_IN, LIGHT_BLEND_SPEED_OUT, m_AnimTimerLightBlend, m_BestTrigger, m_LightingLerp, PlayAmbientSound(), and StopAmbientSound().
Referenced by SetUndergroundPresence().
|
protected |
|
protected |
Definition at line 496 of file undergroundhandlerclient.c.
References Easing::EaseInQuint(), m_AnimTimerLightBlend, and m_LightingLerp.
|
protected |
Definition at line 506 of file undergroundhandlerclient.c.
References Easing::EaseOutCubic(), m_AnimTimerLightBlend, and m_LightingLerp.
|
protected |
Definition at line 515 of file undergroundhandlerclient.c.
References m_AmbientController, m_AmbientSound, m_BestTrigger, SetSoundControllerOverride(), and StopAmbientSound().
Referenced by OnUndergroundPresenceUpdate().
|
protected |
Definition at line 314 of file undergroundhandlerclient.c.
References ApplyEyeAcco(), CalculateEyeAcco(), CalculateEyeAccoTarget(), GetRequester(), and UpdateNVGRequester().
Referenced by Tick().
|
protected |
Definition at line 329 of file undergroundhandlerclient.c.
References g_Game, DiagMenu::GetBool(), and m_LightingLerp.
Referenced by Tick().
|
protected |
Definition at line 345 of file undergroundhandlerclient.c.
References g_Game, m_AmbientSound, m_BestTrigger, m_EyeAcco, and m_TransitionalTrigger.
|
protected |
Definition at line 464 of file undergroundhandlerclient.c.
References OnUndergroundPresenceUpdate().
Referenced by OnTriggerInsiderUpdate().
|
protected |
Definition at line 535 of file undergroundhandlerclient.c.
References Empty, m_AmbientController, m_AmbientSound, and SetSoundControllerOverride().
Referenced by OnUndergroundPresenceUpdate(), and PlayAmbientSound().
|
protected |
Definition at line 360 of file undergroundhandlerclient.c.
References g_Game, DiagMenu::GetBool(), m_LightingLerp, ProcessEyeAcco(), ProcessLighting(), and ProcessSound().
|
protected |
Definition at line 37 of file undergroundhandlerclient.c.
References g_Game, m_NVRequester, and UNDERGROUND_LIGHTING.
Referenced by ManBase::GetUndergroundHandler(), OnEnterClientEvent(), and OnLeaveClientEvent().
|
protected |
Definition at line 402 of file undergroundhandlerclient.c.
References m_NVRequester.
Referenced by ApplyEyeAcco(), and ProcessEyeAcco().
| const float ACCO_MODIFIER = 1 |
Definition at line 16 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs(), and CalculateLinePointFade().
| const float DEFAULT_INTERPOLATION_SPEED = 7 |
Definition at line 17 of file undergroundhandlerclient.c.
Referenced by OnTriggerInsiderUpdate().
| const float DISTANCE_CUTOFF = 5 |
Definition at line 15 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs().
| enum EUndergroundPresence LIGHT_BLEND_SPEED_IN = 5 |
Referenced by CalculateLinePointFade(), and OnUndergroundPresenceUpdate().
| const float LIGHT_BLEND_SPEED_OUT = 1.75 |
Definition at line 12 of file undergroundhandlerclient.c.
Referenced by CalculateLinePointFade(), and OnUndergroundPresenceUpdate().
|
protected |
Definition at line 27 of file undergroundhandlerclient.c.
Referenced by CalculateEyeAcco(), and OnTriggerInsiderUpdate().
|
protected |
Definition at line 31 of file undergroundhandlerclient.c.
Referenced by PlayAmbientSound(), and StopAmbientSound().
|
protected |
Definition at line 32 of file undergroundhandlerclient.c.
Referenced by ~UndergroundHandlerClient(), PlayAmbientSound(), ProcessSound(), and StopAmbientSound().
|
protected |
Definition at line 19 of file undergroundhandlerclient.c.
Referenced by CalculateLinePointFade(), OnUndergroundPresenceUpdate(), OnUpdateTimerIn(), and OnUpdateTimerOut().
|
protected |
Definition at line 34 of file undergroundhandlerclient.c.
Referenced by OnTriggerInsiderUpdate(), OnUndergroundPresenceUpdate(), PlayAmbientSound(), and ProcessSound().
|
protected |
Definition at line 28 of file undergroundhandlerclient.c.
Referenced by ApplyEyeAcco(), CalculateEyeAcco(), and ProcessSound().
|
protected |
Definition at line 26 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs(), CalculateEyeAcco(), CalculateLinePointFade(), and OnTriggerInsiderUpdate().
|
protected |
Definition at line 24 of file undergroundhandlerclient.c.
Referenced by OnTriggerEnter(), OnTriggerInsiderUpdate(), and OnTriggerLeave().
|
protected |
Definition at line 30 of file undergroundhandlerclient.c.
Referenced by ApplyEyeAcco(), CalculateBreadCrumbs(), CalculateLinePointFade(), OnUndergroundPresenceUpdate(), OnUpdateTimerIn(), OnUpdateTimerOut(), ProcessLighting(), and Tick().
|
protected |
Definition at line 29 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs(), and CalculateLinePointFade().
|
protected |
Definition at line 23 of file undergroundhandlerclient.c.
Referenced by UndergroundHandlerClient(), and UpdateNVGRequester().
|
protected |
Definition at line 21 of file undergroundhandlerclient.c.
|
protected |
Definition at line 22 of file undergroundhandlerclient.c.
Referenced by GetRequester().
|
protected |
Definition at line 35 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs(), CalculateEyeAcco(), CalculateEyeAccoTarget(), CalculateLinePointFade(), OnTriggerInsiderUpdate(), and ProcessSound().
| const float MAX_RATIO = 0.9 |
Definition at line 13 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs().
| const float RATIO_CUTOFF = 0 |
Definition at line 14 of file undergroundhandlerclient.c.
Referenced by CalculateBreadCrumbs().
| const string UNDERGROUND_LIGHTING = "dz\\data\\lighting\\lighting_underground.txt" |
Definition at line 18 of file undergroundhandlerclient.c.
Referenced by UndergroundHandlerClient().