summaryrefslogtreecommitdiffstats
path: root/src/Timecycle.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-06-12 19:20:13 +0200
committerGitHub <noreply@github.com>2019-06-12 19:20:13 +0200
commit38730080a2aa91071ff5d524772874af93cc034e (patch)
tree763b135ff17c75ae83707532b0af91560d0501a3 /src/Timecycle.h
parentCameraCreate cosmetic fix (diff)
parentMerge branch 'master' into master (diff)
downloadre3-38730080a2aa91071ff5d524772874af93cc034e.tar
re3-38730080a2aa91071ff5d524772874af93cc034e.tar.gz
re3-38730080a2aa91071ff5d524772874af93cc034e.tar.bz2
re3-38730080a2aa91071ff5d524772874af93cc034e.tar.lz
re3-38730080a2aa91071ff5d524772874af93cc034e.tar.xz
re3-38730080a2aa91071ff5d524772874af93cc034e.tar.zst
re3-38730080a2aa91071ff5d524772874af93cc034e.zip
Diffstat (limited to 'src/Timecycle.h')
-rw-r--r--src/Timecycle.h13
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]; }
};