diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-03-31 12:30:13 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-03-31 15:11:45 +0200 |
commit | 409663adb8cd5b6d4ad732ec9713657a1bae9e04 (patch) | |
tree | e0c000148920cf972098142cd68051f77e8fb397 /src/core/Timer.h | |
parent | Merge pull request #373 from erorcun/erorcun (diff) | |
download | re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.gz re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.bz2 re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.lz re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.xz re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.zst re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h index ef525be7..2498ec8a 100644 --- a/src/core/Timer.h +++ b/src/core/Timer.h @@ -34,6 +34,7 @@ public: static void SetPreviousTimeInMilliseconds(uint32 t) { m_snPreviousTimeInMilliseconds = t; } static const float &GetTimeScale(void) { return ms_fTimeScale; } static void SetTimeScale(float ts) { ms_fTimeScale = ts; } + static uint32 GetCyclesPerFrame(); static bool GetIsPaused() { return m_UserPause || m_CodePause; } static bool GetIsUserPaused() { return m_UserPause; } |