diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-17 23:37:29 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-17 23:37:29 +0000 |
commit | c7a6dcb197ca36aa5df2610c451c7d59f1078810 (patch) | |
tree | 26970ad814385b2f5bfcf1dd61339292a96f1a93 /src/game.c | |
parent | 365f66bba0ae48c2abf87108661dce0aaeb767f9 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |