summaryrefslogtreecommitdiff
path: root/include/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/menu.h')
-rw-r--r--include/menu.h11
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);