summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-26 11:20:35 +0200
committerGitHub <noreply@github.com>2019-06-26 11:20:35 +0200
commitf9e7e9c3c35e1d67fdf97a43c469a8e07387ad50 (patch)
tree267304234df146be156195b11b79d3269d53c65c /src/Timer.h
parentCPed cleanup (diff)
parentLittle fix #52. (diff)
downloadre3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar.gz
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar.bz2
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar.lz
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar.xz
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.tar.zst
re3-f9e7e9c3c35e1d67fdf97a43c469a8e07387ad50.zip
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Timer.h b/src/Timer.h
index 10bb5d84..c3269d60 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -18,7 +18,8 @@ public:
static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static uint32 GetFrameCounter(void) { return m_FrameCounter; }
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; }