diff options
author | Wes Hampson <thehambone93@gmail.com> | 2020-03-10 20:25:50 -0700 |
---|---|---|
committer | Wes Hampson <thehambone93@gmail.com> | 2020-03-10 20:26:07 -0700 |
commit | 28342405d37ae28fdf98546753e89d683480914f (patch) | |
tree | 3a7d990f29f9882cb180f14034078db107130206 /src/core/Timer.h | |
parent | 4fee2cbdd9948bd591d6e5bebd4bed827e12498a (diff) |
Add Load/Save functions
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r-- | src/core/Timer.h | 3 |
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; } |