diff options
author | Tom White <weiss@simba.(none)> | 2008-08-13 01:32:52 +0100 |
---|---|---|
committer | Tom White <weiss@simba.(none)> | 2008-08-13 01:32:52 +0100 |
commit | c21dcf6c7fedc513967be6ca1046ae7d19de87fb (patch) | |
tree | 10d3a01d4033faddc7af9abf31288d5c98188965 /src/types.h | |
parent | 5004f0511c8f4fa6b9ac32ab21c53233b69a417d (diff) |
Use unified 'game time' concept, makes pause work properly
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 4 |
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; |