summaryrefslogtreecommitdiffstats
path: root/src/core/Clock.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-11 20:20:08 +0100
committeraap <aap@papnet.eu>2021-01-11 20:20:08 +0100
commit383142bcbeb39d7407bd88571c8a51823e9c6d71 (patch)
treea6698ded389d2a01cb7d1e1e3db9016ede92b3a7 /src/core/Clock.h
parentMerge branch 'lcs-dev' into lcs (diff)
downloadre3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar.gz
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar.bz2
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar.lz
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar.xz
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.tar.zst
re3-383142bcbeb39d7407bd88571c8a51823e9c6d71.zip
Diffstat (limited to 'src/core/Clock.h')
-rw-r--r--src/core/Clock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/Clock.h b/src/core/Clock.h
index a611cd50..808e61f4 100644
--- a/src/core/Clock.h
+++ b/src/core/Clock.h
@@ -12,6 +12,7 @@ public:
static uint32 ms_nMillisecondsPerGameMinute;
static uint32 ms_nLastClockTick;
static bool ms_bClockHasBeenStored;
+ static float ms_EnvMapTimeMultiplicator;
static void Initialise(uint32 scale);
static void Update(void);
@@ -21,6 +22,8 @@ public:
static void StoreClock(void);
static void RestoreClock(void);
+ static void CalcEnvMapTimeMultiplicator(void);
+
static uint8 GetHours(void) { return ms_nGameClockHours; }
static uint8 GetMinutes(void) { return ms_nGameClockMinutes; }
static int16 GetSeconds(void) { return ms_nGameClockSeconds; }