summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-26 22:34:14 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-26 22:34:14 +0200
commit08b053a568e15dd318dcfc46eaa6393af4a5f8c4 (patch)
tree7e6a0bc15376f347c13029b99f2f0ec1427bf2c1 /src/Timer.h
parentMore replay stuff (diff)
parentbla (diff)
downloadre3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar.gz
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar.bz2
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar.lz
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar.xz
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.tar.zst
re3-08b053a568e15dd318dcfc46eaa6393af4a5f8c4.zip
Diffstat (limited to '')
-rw-r--r--src/Timer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Timer.h b/src/Timer.h
index b8b5864d..75d4048c 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -29,9 +29,10 @@ public:
static inline void SetPreviousTimeInMilliseconds(uint32 t) { m_snPreviousTimeInMilliseconds = t; }
static float GetTimeScale(void) { return ms_fTimeScale; }
static inline void SetTimeScale(float ts) { ms_fTimeScale = ts; }
-
- static inline bool GetIsPaused() { return m_UserPause || m_CodePause; }
- static inline bool GetIsUserPaused() { return m_UserPause; }
+
+ static bool GetIsPaused() { return m_UserPause || m_CodePause; }
+ static bool GetIsUserPaused() { return m_UserPause; }
+ static void SetCodePause(bool pause) { m_CodePause = pause; }
static void Initialise(void);
static void Shutdown(void);