aboutsummaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 21:30:46 +1000
committerquou <quou@disroot.org>2023-05-07 21:30:46 +1000
commitee2ecd8da2b66e0a819f59491ac176fd3efaa92a (patch)
treeede346c6aadc38e986002ca17991156ed65d42d8 /game.h
parent19760d58ea09b9c345a0c845e89143ddcc5d6507 (diff)
Improve the win screen.
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);