aboutsummaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-10-11 21:43:36 +1100
committerquou <quou@disroot.org>2024-10-11 21:43:36 +1100
commit24b72170d34cee515398f206f087bfeafc7b6b55 (patch)
tree24c2bc3d7e1c0bdac9de38dae3c5d2de7e669f25 /game.h
parent9add408984464bd6b3cc018bb14c3d69ad0a2898 (diff)
game is pretty much done kek
Diffstat (limited to 'game.h')
-rw-r--r--game.h12
1 files changed, 10 insertions, 2 deletions
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);