diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-01-12 09:30:01 +0300 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-01-12 09:30:01 +0300 |
commit | 631979f909b6f61448a8fe709d6809a9fcb89aa8 (patch) | |
tree | 9bd87560c127fd10287a03a5d05980b207b4c1fb /source/gameengine/Ketsji/KX_KetsjiEngine.h | |
parent | 007b3b897a50e6eaae956e3c1a3cbd30773303ba (diff) |
renamed some variables to make the timing in the game engine less confusing+minor improvements in this area.
enabled game engine for scons
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h index bea558e4427..c476cdb5894 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.h +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h @@ -99,8 +99,10 @@ private: bool m_firstframe; int m_currentFrame; - double m_previoustime; - double m_deltatime; + double m_frameTime;//discrete timestamp of the 'game logic frame' + double m_clockTime;//current time + double m_previousClockTime;//previous clock time + static double m_ticrate; static double m_suspendedtime; |