-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMenu.hpp
52 lines (45 loc) · 778 Bytes
/
Menu.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef __MENU__
#define __MENU__
typedef enum e_menuPosCursor
{
OPTION_ONE = 1,
OPTION_TWO = 2,
OPTION_THR = 3,
OPTION_FOU = 4,
OPTION_FIV = 5,
OPTION_SIX = 6
} e_menuWho;
typedef enum e_menuWhichMenu
{
MENU_FIRST = 1,
MENU_OPTGEN = 2,
MENU_OPTMAP = 3,
MENU_OPTPLAY = 4,
MENU_MAP = 5,
MENU_CREDITS = 6
} e_menuWhere;
#define MAX_MENU OPTION_FIV
#define MAX_MAP OPTION_FOU
#define MAX_OPTGEN OPTION_FOU
#define MAX_OPTMAP OPTION_FIV
#define MAX_OPTPLAY OPTION_THR
#define MAX_CREDITS OPTION_FIV
#define SPACE_MENU 280.0f
#define SPACE_OPTION 250.0f
#define SPACE_CREDITS 320.0f
typedef enum e_menuKeyDir
{
MUP = 1,
MLEFT = 2,
MDOWN = 3,
MRIGHT = 4
} e_menuKey;
class Menu
{
public:
int where_;
int who_;
int what_;
bool ng_;
};
#endif