diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-16 16:54:55 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-16 16:54:55 +0000 |
commit | 0f5e2c1f67d6f9b7d6ee3dd55b8c7cd903881bd6 (patch) | |
tree | 4615062f7f0a4268d04c00196aa64381ae0f3e50 /src/game.c | |
parent | 096e588e4f2e93e51a2791258f3e6c4a7f7a78ae (diff) |
Reshuffle lots of things
Basic environment mapping stuff
Remove OBJ file stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@19 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -241,7 +241,10 @@ Game *game_new(int width, int height) { g->pause_rel = 1; g->frame_delay = 8000; g->frame_delay_fiddled = 0; - + g->frames = 0; + g->t_fps = SDL_GetTicks(); + g->fps = 0; + /* Renderer setup */ g->render = render_setup(width, height); if ( g->render == NULL ) { |