summaryrefslogtreecommitdiffstats
path: root/matchblox/menu/menu_msg.h
blob: 15dd423ceab72fe041a760022803fe9d5c9a8435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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