Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-01-12 09:30:01 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-01-12 09:30:01 +0300
commit631979f909b6f61448a8fe709d6809a9fcb89aa8 (patch)
tree9bd87560c127fd10287a03a5d05980b207b4c1fb /source/gameengine/Ketsji/KX_KetsjiEngine.h
parent007b3b897a50e6eaae956e3c1a3cbd30773303ba (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.h6
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;