summaryrefslogtreecommitdiffstats
path: root/src/core/Timer.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-28 18:03:16 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:44 +0200
commitcacec36dd1dd6141986631ae22d6d40a64358a41 (patch)
tree4d9da021ceb5e0ce8ec78bc6bfe040b1bd809979 /src/core/Timer.h
parentMake sampman stream functions default to stream 0 (diff)
downloadre3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar.gz
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar.bz2
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar.lz
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar.xz
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.tar.zst
re3-cacec36dd1dd6141986631ae22d6d40a64358a41.zip
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r--src/core/Timer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h
index 393242dd..ebde1747 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -11,6 +11,9 @@ class CTimer
static float ms_fTimeScale;
static float ms_fTimeStep;
static float ms_fTimeStepNonClipped;
+#ifdef FIX_BUGS
+ static uint32 m_LogicalFrameCounter;
+#endif
public:
static bool m_UserPause;
static bool m_CodePause;
@@ -61,6 +64,7 @@ public:
#ifdef FIX_BUGS
static float GetDefaultTimeStep(void) { return 50.0f / 30.0f; }
static float GetTimeStepFix(void) { return GetTimeStep() / GetDefaultTimeStep(); }
+ static uint32 GetLogicalFrameCounter(void) { return m_LogicalFrameCounter; }
#endif
};