diff options
author | Wes Hampson <thehambone93@gmail.com> | 2020-03-13 21:46:59 +0100 |
---|---|---|
committer | Wes Hampson <thehambone93@gmail.com> | 2020-03-13 21:46:59 +0100 |
commit | 8280dda9cba53608be137a7e6a82ea45aca339c4 (patch) | |
tree | 852c1d2e165fe51a7759366c882c49af9f7f2f91 | |
parent | Fix merge conflict (diff) | |
download | re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar.gz re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar.bz2 re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar.lz re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar.xz re3-8280dda9cba53608be137a7e6a82ea45aca339c4.tar.zst re3-8280dda9cba53608be137a7e6a82ea45aca339c4.zip |
-rw-r--r-- | src/core/TimeStep.cpp | 5 | ||||
-rw-r--r-- | src/core/TimeStep.h | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/core/TimeStep.cpp b/src/core/TimeStep.cpp new file mode 100644 index 00000000..9ccf7200 --- /dev/null +++ b/src/core/TimeStep.cpp @@ -0,0 +1,5 @@ +#include "TimeStep.h" + +float &CTimeStep::ms_fTimeScale = *(float*)0x5F76C8; +float &CTimeStep::ms_fFramesPerUpdate = *(float*)0x5F76CC; +float &CTimeStep::ms_fTimeStep = *(float*)0x5F76D0; diff --git a/src/core/TimeStep.h b/src/core/TimeStep.h new file mode 100644 index 00000000..ee595383 --- /dev/null +++ b/src/core/TimeStep.h @@ -0,0 +1,10 @@ +#pragma once + +// Pretty sure this class is not used by the game +class CTimeStep +{ +public: + static float &ms_fTimeScale; + static float &ms_fFramesPerUpdate; + static float &ms_fTimeStep; +};
\ No newline at end of file |