From f646ddb88ec19307d42729b7babdb77966449327 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 18 May 2024 12:31:46 +0200 Subject: ingame menu & network work --- include/menu.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/menu.h') diff --git a/include/menu.h b/include/menu.h index 1623d51..9a448cd 100644 --- a/include/menu.h +++ b/include/menu.h @@ -3,11 +3,20 @@ #include -#define PROGRAM_VERSION "0.1.0 | "__DATE__ +#define PROGRAM_VERSION "0.1 | "__DATE__ + +typedef enum t_menu_state { + MENU_STATE_MAIN, + MENU_STATE_LEVEL_SELECT, + MENU_STATE_CREDITS, + MENU_STATE_SETTINGS, + MENU_STATE_JOIN_GAME, +} menu_state; extern int current_res_index; extern bool is_fullscreen; vec2 available_resolutions[10]; +extern menu_state current_menu_state; void update_menu(platform_window* window); -- cgit v1.2.3-70-g09d2