![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | ELightDimmingState { PAUSED , DIMMING , PAUSED_DIMMED , BRIGHTENING } |
Functions | |
| void | AddConfig (DimmingConfig cfg) |
| void | AdvanceState (ELightDimmingState lastState) |
| ELightDimmingState | GetState () |
| returns one of STATE_... | |
| void | HandleDimming (float timeSlice) |
| void | LightDimming (ScriptedLightBase light, float baseBrightness, DimmingConfig dimCfg) |
| void | SelectPattern () |
| void | SetDimmingVal (float val) |
| void | SwapConfig (int index) |
| enum ELightDimmingState |
| Enumerator | |
|---|---|
| PAUSED | |
| DIMMING | |
| PAUSED_DIMMED | |
| BRIGHTENING | |
Definition at line 1 of file lightdimming.c.
|
protected |
Definition at line 61 of file lightdimming.c.
References m_Configs.
|
protected |
Definition at line 71 of file lightdimming.c.
References AdvanceState(), FLICKER_TIME, m_ActiveCfg, m_CurrentEntryID, m_CurrentPatternID, m_DimBrigthnessBase, m_DimBrigthnessSpeedCoef, m_DimBrigthnessTarget, m_DimDelta, m_DimState, m_ToBeDestroyed, Math::RandomFloat(), SelectPattern(), and SetDimmingVal().
Referenced by AdvanceState(), and HandleDimming().
|
protected |
returns one of STATE_...
returns the state of climb (enum value of ClimbStates);
Definition at line 55 of file lightdimming.c.
References m_DimState, and m_State.
Referenced by CanBeIgnitedBy(), ItemBase::CanBeManipulated(), ItemBase::CanBePacked(), ActionContinuousBaseCB::CancelCondition(), ActionInteractLoopBaseCB::CancelCondition(), CanDisplayAttachmentSlot(), FireworksLauncher::CanPutInCargo(), FireworksLauncher::CanPutIntoHands(), CanReceiveAttachment(), ItemBase::EEHealthLevelChanged(), GetStateString(), ItemBase::GetViewIndex(), ItemBase::HandleOpeningsPhysics(), FireworksLauncher::IsIgnited(), IsTakeable(), OnInventoryEnter(), FireworksLauncher::OnPlacementComplete(), RefreshState(), ActionFishingNewCB::ToggleFishBiting(), ItemBase::UpdatePhysics(), UpdateProxySelections(), and ItemBase::UpdateVisuals().
|
protected |
Definition at line 182 of file lightdimming.c.
References AdvanceState(), Math::Lerp(), m_DimBrigthnessBase, m_DimBrigthnessSpeedCoef, m_DimBrigthnessTarget, m_DimDelta, m_DimState, m_ToBeDestroyed, and SetDimmingVal().
|
protected |
Definition at line 47 of file lightdimming.c.
References m_ActiveCfg, m_Configs, m_DimBrigthnessBase, and m_Light.
Referenced by EntityLightSource::EnableDimming(), and EntityLightSource::GetDimming().
|
protected |
Definition at line 145 of file lightdimming.c.
References m_ActiveCfg, m_CurrentEntryID, m_CurrentPatternID, m_Light, and m_ToBeDestroyed.
Referenced by AdvanceState().
|
protected |
Definition at line 66 of file lightdimming.c.
References m_Light.
Referenced by AdvanceState(), and HandleDimming().
|
protected |
Definition at line 170 of file lightdimming.c.
References m_ActiveCfg, m_Configs, m_CurrentEntryID, m_CurrentPatternID, and m_DimState.
| enum ELightDimmingState FLICKER_TIME = 0.05 |
Referenced by AdvanceState().
|
protected |
Definition at line 44 of file lightdimming.c.
Referenced by AdvanceState(), LightDimming(), SelectPattern(), and SwapConfig().
|
protected |
Definition at line 45 of file lightdimming.c.
Referenced by AddConfig(), LightDimming(), and SwapConfig().
|
protected |
Definition at line 39 of file lightdimming.c.
Referenced by AdvanceState(), SelectPattern(), and SwapConfig().
|
protected |
Definition at line 38 of file lightdimming.c.
Referenced by AdvanceState(), SelectPattern(), and SwapConfig().
|
protected |
Definition at line 33 of file lightdimming.c.
Referenced by AdvanceState(), HandleDimming(), and LightDimming().
|
protected |
Definition at line 34 of file lightdimming.c.
Referenced by AdvanceState(), and HandleDimming().
|
protected |
Definition at line 35 of file lightdimming.c.
Referenced by AdvanceState(), and HandleDimming().
|
protected |
Definition at line 36 of file lightdimming.c.
Referenced by AdvanceState(), and HandleDimming().
|
protected |
Definition at line 42 of file lightdimming.c.
Referenced by AdvanceState(), GetState(), HandleDimming(), and SwapConfig().
|
protected |
Definition at line 43 of file lightdimming.c.
|
protected |
Definition at line 41 of file lightdimming.c.
Referenced by AdvanceState(), HandleDimming(), and SelectPattern().