summaryrefslogtreecommitdiffstats
path: root/matchblox/menu/menu_msg.h
diff options
context:
space:
mode:
authorWilrik de Loose <wilrik@wilrik.nl>2008-05-27 14:20:29 (GMT)
committerWilrik de Loose <wilrik@wilrik.nl>2008-05-27 14:20:29 (GMT)
commit47dcce1ed989159bbe0fc2a98ebeda4f5dc99772 (patch)
treee4574377e8fcbe866955015fdcb133f3e50d2bf8 /matchblox/menu/menu_msg.h
parentc089caac3e3c87e2489982ec21c6f2dfec1bd8ed (diff)
download2iv55-47dcce1ed989159bbe0fc2a98ebeda4f5dc99772.zip
2iv55-47dcce1ed989159bbe0fc2a98ebeda4f5dc99772.tar.gz
2iv55-47dcce1ed989159bbe0fc2a98ebeda4f5dc99772.tar.bz2
menu + button afhandeling
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