aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-17 23:37:29 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-17 23:37:29 +0000
commitc7a6dcb197ca36aa5df2610c451c7d59f1078810 (patch)
tree26970ad814385b2f5bfcf1dd61339292a96f1a93 /src/game.c
parent365f66bba0ae48c2abf87108661dce0aaeb767f9 (diff)
Fuel and radiation meter functionality
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@26 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 0344d6e..72784af 100644
--- a/src/game.c
+++ b/src/game.c
@@ -245,6 +245,8 @@ Game *game_new(int width, int height) {
g->frames = 0;
g->t_fps = SDL_GetTicks();
g->fps = 0;
+ g->fuel = 1.0;
+ g->radiation = 0.0;
/* Renderer setup */
g->render = render_setup(width, height);