diff options
Diffstat (limited to '')
-rw-r--r-- | src/Timecycle.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Timecycle.h b/src/Timecycle.h index fa59dfd1..546e6e0f 100644 --- a/src/Timecycle.h +++ b/src/Timecycle.h @@ -1,9 +1,10 @@ +#pragma once + class CTimeCycle { static int (*m_nAmbientRed)[NUMWEATHERS]; static int (*m_nAmbientGreen)[NUMWEATHERS]; static int (*m_nAmbientBlue)[NUMWEATHERS]; - static int (*m_nDirectionalRed)[NUMWEATHERS]; static int (*m_nDirectionalGreen)[NUMWEATHERS]; static int (*m_nDirectionalBlue)[NUMWEATHERS]; @@ -91,6 +92,12 @@ class CTimeCycle public: static int &m_CurrentStoredValue; static CVector *m_VectorToSun; // [16] + static float *m_fShadowFrontX; // [16] + static float *m_fShadowFrontY; // [16] + static float *m_fShadowSideX; // [16] + static float *m_fShadowSideY; // [16] + static float *m_fShadowDisplacementX; // [16] + static float *m_fShadowDisplacementY; // [16] static float GetAmbientRed(void) { return m_fCurrentAmbientRed; } static float GetAmbientGreen(void) { return m_fCurrentAmbientGreen; } @@ -127,5 +134,7 @@ public: static int GetFogGreen(void) { return m_nCurrentFogColourGreen; } static int GetFogBlue(void) { return m_nCurrentFogColourBlue; } - static const CVector &GetSunPosition(void) { return m_VectorToSun[m_CurrentStoredValue]; } + static void Initialise(void); + static void Update(void); + static CVector &GetSunPosition(void) { return m_VectorToSun[m_CurrentStoredValue]; } }; |