-
Notifications
You must be signed in to change notification settings - Fork 2
/
struct.h
44 lines (41 loc) · 830 Bytes
/
struct.h
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
//typedef struct ZCONTROLPAD;//GenocideGenerationsGaming Emulation Of GamePad Controller
struct ZCONTROLPAD
{
Sint8 angle;
Uint8 button[11];
};//GenocideGenerationsGaming Emulation Of GamePad Controller
//typedef enum GameModes;//GGG supported(*partialy could unsuppored yet) gameloop modes
enum GameModes
{
LOADING_EDITOR,//*
LOADING_NORMAL,//*
PLAYER_NAME,//*
LOADING_GAME,//*
GAME,//*
MAINMENU,//*
CLOSING_CREDITS,
CHARACTERMENU,//*
EDITOR_MENU,//*
EDITOR_LEVEL,
EDITOR_MODEL,
EDITOR_TEXTURE,//*
EDITOR_PALETTE,
EDITOR_AI,
INTRO,
NOGAME,
SHOP
};
enum MAP_VIRTUAL_PAD// GenocideGenerationGaming button mapping
{
PAD_A,
PAD_X,
PAD_B,
PAD_Y,
PAD_L1,
PAD_R1,
PAD_L2,
PAD_R2,
PAD_SELECT,
PAD_START,
PAD_Z
};