aboutsummaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'game.h')
-rw-r--r--game.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game.h b/game.h
index 66d9574..b67ec3c 100644
--- a/game.h
+++ b/game.h
@@ -8,7 +8,8 @@ typedef enum {
game_state_menu = 0,
game_state_game,
game_state_credits,
- game_state_dead
+ game_state_dead,
+ game_state_win
} Game_State;
typedef struct Game Game;
@@ -26,6 +27,7 @@ struct Game {
World world;
int wave_timer, want_next, display_wave_text;
+ int wait_timer, wait_timer2, fading, fade_timer, fade_frame;
};
void game_init(Game* game, Game_State state);