summaryrefslogtreecommitdiffstats
path: root/src/core/Timer.h
diff options
context:
space:
mode:
authorWes Hampson <thehambone93@gmail.com>2020-03-11 04:25:50 +0100
committerWes Hampson <thehambone93@gmail.com>2020-03-11 04:26:07 +0100
commit28342405d37ae28fdf98546753e89d683480914f (patch)
tree3a7d990f29f9882cb180f14034078db107130206 /src/core/Timer.h
parentBegin work on GenericSave (diff)
downloadre3-28342405d37ae28fdf98546753e89d683480914f.tar
re3-28342405d37ae28fdf98546753e89d683480914f.tar.gz
re3-28342405d37ae28fdf98546753e89d683480914f.tar.bz2
re3-28342405d37ae28fdf98546753e89d683480914f.tar.lz
re3-28342405d37ae28fdf98546753e89d683480914f.tar.xz
re3-28342405d37ae28fdf98546753e89d683480914f.tar.zst
re3-28342405d37ae28fdf98546753e89d683480914f.zip
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r--src/core/Timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h
index 8f3b77c2..89c4a430 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -2,6 +2,7 @@
class CTimer
{
+public:
static uint32 &m_snTimeInMilliseconds;
static uint32 &m_snTimeInMillisecondsPauseMode;
static uint32 &m_snTimeInMillisecondsNonClipped;
@@ -12,7 +13,7 @@ class CTimer
static float &ms_fTimeStepNonClipped;
static bool &m_UserPause;
static bool &m_CodePause;
-public:
+
static float GetTimeStep(void) { return ms_fTimeStep; }
static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static float GetTimeStepInSeconds() { return ms_fTimeStep / 50.0f; }