From 24b72170d34cee515398f206f087bfeafc7b6b55 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 11 Oct 2024 21:43:36 +1100 Subject: game is pretty much done kek --- game.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'game.h') diff --git a/game.h b/game.h index 43d9779..b39ef53 100644 --- a/game.h +++ b/game.h @@ -11,8 +11,16 @@ struct App; typedef enum { game_state_menu, game_state_play, + game_state_intro, + game_state_outro, + game_state_compute_ec, game_state_generate, + game_state_generate_intro, + game_state_generate_outro, + game_state_restart, game_state_reset, + game_state_restore_player, + game_state_next, game_state_fade_in, game_state_fade_out, game_state_over @@ -23,8 +31,8 @@ typedef struct { Game_State st, ps; Game_State sq[game_max_state_queue]; Rect fr; - int want_next; - int qt, frame, ff; + int want_next, me, kills, cfloor; + int qt, frame, ff, hp, ch; } Game; void init_game(Game* g, Game_State s); -- cgit v1.2.3-54-g00ecf