summaryrefslogtreecommitdiffhomepage
path: root/src/input.h
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-30 23:31:01 -0400
committerarngo <[email protected]>2023-05-30 23:31:01 -0400
commit8ff42715e5971f0257c70a639af0106b0199c7c6 (patch)
tree800684fcc1ab26416622f308b35f724f57159677 /src/input.h
parent5d1931537edb60b48538b714944eca7ce5db2739 (diff)
downloadTOJam2023-8ff42715e5971f0257c70a639af0106b0199c7c6.tar.gz
TOJam2023-8ff42715e5971f0257c70a639af0106b0199c7c6.zip
implement menu system
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index c73e59a..4624d88 100644
--- a/src/input.h
+++ b/src/input.h
@@ -5,6 +5,8 @@ typedef
struct
{
rodeo_input_scene_t *scene;
+ rodeo_input_scene_t *menu_scene;
+ rodeo_input_command_t *menu_accept;
rodeo_input_command_t *create;
rodeo_input_command_t *left;
rodeo_input_command_t *right;
@@ -72,6 +74,15 @@ play_sound_input3(
void *data
);
+void*
+menu_accept_input(
+ rodeo_input_any_state_t *input_state,
+ void *data
+);
+
+scenes_and_commands_t *
+get_command_inputs(void);
+
void
register_inputs(void);