diff options
Diffstat (limited to 'src/Timer.h')
-rw-r--r-- | src/Timer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Timer.h b/src/Timer.h index c3269d60..ff532050 100644 --- a/src/Timer.h +++ b/src/Timer.h @@ -20,9 +20,10 @@ public: static uint32 GetTimeInMilliseconds(void) { return m_snTimeInMilliseconds; } static uint32 GetTimeInMillisecondsPauseMode(void) { return m_snTimeInMillisecondsPauseMode; } - static inline bool GetIsPaused() { return m_UserPause || m_CodePause; } - static inline bool GetIsUserPaused() { return m_UserPause; } - static inline void SetTimeScale(float ts) { ms_fTimeScale = ts; } + static bool GetIsPaused() { return m_UserPause || m_CodePause; } + static bool GetIsUserPaused() { return m_UserPause; } + static void SetTimeScale(float ts) { ms_fTimeScale = ts; } + static void SetCodePause(bool pause) { m_CodePause = pause; } static void Initialise(void); static void Shutdown(void); |