diff options
author | Thomas White <weiss@jade.(none)> | 2008-08-13 12:40:53 +0100 |
---|---|---|
committer | Thomas White <weiss@jade.(none)> | 2008-08-13 12:40:53 +0100 |
commit | 877a8718f419efe6bfef4ba248741c1233e22a1d (patch) | |
tree | 525e9329ab75107c1542b4d51034e4553ebef325 /src/types.h | |
parent | c5844067aa6dea33ee7be800c8ab51baf1121848 (diff) |
Increase resolution of game timer
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types.h b/src/types.h index a1a5358..c9a4b0c 100644 --- a/src/types.h +++ b/src/types.h @@ -240,9 +240,9 @@ typedef struct { unsigned int forward; unsigned int reverse; - 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 */ + double tlast; + double time; /* Time in the game (milliseconds since start of game + / * as measured at the start of the current frame */ ModelInstance *lander; @@ -265,7 +265,7 @@ typedef struct { /* Performance monitoring stuff */ int frames; - Uint32 t_fps; + double t_fps; int fps; int query_this_frame; GLuint timer_query; |