summaryrefslogtreecommitdiffstats
path: root/matchblox/menu/menu_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'matchblox/menu/menu_msg.h')
-rw-r--r--matchblox/menu/menu_msg.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/matchblox/menu/menu_msg.h b/matchblox/menu/menu_msg.h
new file mode 100644
index 0000000..15dd423
--- /dev/null
+++ b/matchblox/menu/menu_msg.h
@@ -0,0 +1,23 @@
+#ifndef _CMENU_MSG_H
+#define _CMENU_MSG_H
+
+struct menu_payload
+{
+ int action;
+ int gamemode;
+};
+
+enum game_actions
+{
+ ACTION_START = 0x0001,
+ ACTION_ABORT = 0x0002,
+ ACTION_PAUSE = 0x0004,
+ ACTION_RESUME = 0x0008
+};
+
+void MenuPostMessagePause(void);
+void MenuPostMessageResume(void);
+void MenuPostMessageStart(void);
+void MenuPostMessageAbort(void);
+
+#endif \ No newline at end of file