aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorTom White <weiss@simba.(none)>2008-08-13 01:32:52 +0100
committerTom White <weiss@simba.(none)>2008-08-13 01:32:52 +0100
commitc21dcf6c7fedc513967be6ca1046ae7d19de87fb (patch)
tree10d3a01d4033faddc7af9abf31288d5c98188965 /src/types.h
parent5004f0511c8f4fa6b9ac32ab21c53233b69a417d (diff)
Use unified 'game time' concept, makes pause work properly
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index a2cd40e..a1a5358 100644
--- a/src/types.h
+++ b/src/types.h
@@ -240,7 +240,9 @@ typedef struct {
unsigned int forward;
unsigned int reverse;
- Uint32 tlast; /* Time at which the last physics step was performed */
+ long long int tlast;
+ long long int time; /* Time in the game (milliseconds since start of game
+ * as measured at the start of the current frame */
ModelInstance *lander;