diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-18 12:31:46 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-18 12:31:46 +0200 |
| commit | f646ddb88ec19307d42729b7babdb77966449327 (patch) | |
| tree | 0f7031bf54ef2b3274380211e05bcfa66420ebe3 /include/menu.h | |
| parent | 003c13a4ae07c3ec15a31df0f7f65e3d1ffe9ae0 (diff) | |
ingame menu & network work
Diffstat (limited to 'include/menu.h')
| -rw-r--r-- | include/menu.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 <projectbase/project_base.h> -#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); |
