summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-29 23:17:41 +0200
committerGitHub <noreply@github.com>2019-05-29 23:17:41 +0200
commitb705be0e873a3b93c561a7945748328604e48f21 (patch)
tree8f8b32c251a57707b676a037d6846e7d0162dd18 /src/Timer.h
parentimplemented some of CCam and dependencies (diff)
parentfix2 (diff)
downloadre3-b705be0e873a3b93c561a7945748328604e48f21.tar
re3-b705be0e873a3b93c561a7945748328604e48f21.tar.gz
re3-b705be0e873a3b93c561a7945748328604e48f21.tar.bz2
re3-b705be0e873a3b93c561a7945748328604e48f21.tar.lz
re3-b705be0e873a3b93c561a7945748328604e48f21.tar.xz
re3-b705be0e873a3b93c561a7945748328604e48f21.tar.zst
re3-b705be0e873a3b93c561a7945748328604e48f21.zip
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Timer.h b/src/Timer.h
index e92fe9e1..d5e51dfc 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -17,4 +17,18 @@ public:
static void SetTimeStep(float ts) { ms_fTimeStep = ts; }
static uint32 GetFrameCounter(void) { return m_FrameCounter; }
static uint32 GetTimeInMilliseconds(void) { return m_snTimeInMilliseconds; }
+
+ static inline Bool GetIsPaused() { return m_UserPause || m_CodePause; }
+
+ static void Initialise(void);
+ static void Shutdown(void);
+ static void Update(void);
+ static void Suspend(void);
+ static void Resume(void);
+ static UInt32 GetCyclesPerMillisecond(void);
+ static UInt32 GetCurrentTimeInCycles(void);
+ static Bool GetIsSlowMotionActive(void);
+ static void Stop(void);
+ static void StartUserPause(void);
+ static void EndUserPause(void);
};