summaryrefslogtreecommitdiffstats
path: root/src/Timecycle.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-06-13 02:40:46 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-06-13 02:40:46 +0200
commit06e48c70595808f8c3143d4284e5757e29d81800 (patch)
treee321a452104d4dd3716b1bdfaa1bda81a739be26 /src/Timecycle.h
parentCPad done (diff)
parentMerge pull request #6 from GTAmodding/master (diff)
downloadre3-06e48c70595808f8c3143d4284e5757e29d81800.tar
re3-06e48c70595808f8c3143d4284e5757e29d81800.tar.gz
re3-06e48c70595808f8c3143d4284e5757e29d81800.tar.bz2
re3-06e48c70595808f8c3143d4284e5757e29d81800.tar.lz
re3-06e48c70595808f8c3143d4284e5757e29d81800.tar.xz
re3-06e48c70595808f8c3143d4284e5757e29d81800.tar.zst
re3-06e48c70595808f8c3143d4284e5757e29d81800.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]; }
};