Mario Kart 64
Loading...
Searching...
No Matches
menus.h
Go to the documentation of this file.
1
#ifndef MENUS_H
2
#define MENUS_H
3
4
#include <
PR/os.h
>
5
#include <
common_structs.h
>
6
#include <
defines.h
>
7
8
// needs to be a union (or array...?) to go into rodata as a const
9
// terrible for endianness... Best guess as to what this is for..
10
union
GameModePack
{
11
u8
modes
[4];
12
s32
word
;
13
};
14
18
enum
MenuFadeTypes
{
19
MENU_FADE_TYPE_MAIN
,
20
MENU_FADE_TYPE_BACK
,
21
MENU_FADE_TYPE_DEMO
,
22
MENU_FADE_TYPE_DATA
,
23
MENU_FADE_TYPE_OPTION
,
24
MENU_FADE_TYPE_MAX
25
};
26
30
enum
SubMenuSelectionType
{
31
SUB_MENU_NONE
,
32
SUB_MENU_DATA
,
// 0x01, value repurposed in map select
33
SUB_MENU_MAP_SELECT_CUP
= 0x01,
34
SUB_MENU_MAP_SELECT_COURSE
,
35
SUB_MENU_MAP_SELECT_OK
,
36
SUB_MENU_MAP_SELECT_BATTLE_COURSE
,
37
SUB_MENU_DATA_OPTIONS
= 0x0B,
38
SUB_MENU_DATA_ERASE_CONFIRM
,
39
SUB_MENU_DATA_CANT_ERASE
,
40
SUB_MENU_OPTION_MIN
= 0x15,
41
SUB_MENU_OPTION_RETURN_GAME_SELECT
=
SUB_MENU_OPTION_MIN
,
42
SUB_MENU_OPTION_SOUND_MODE
,
43
SUB_MENU_OPTION_COPY_CONTROLLER_PAK
,
44
SUB_MENU_OPTION_ERASE_ALL_DATA
,
45
SUB_MENU_OPTION_MAX
=
SUB_MENU_OPTION_ERASE_ALL_DATA
,
// 0x18
46
SUB_MENU_ERASE_MIN
= 0x1E,
47
SUB_MENU_ERASE_QUIT
=
SUB_MENU_ERASE_MIN
,
48
SUB_MENU_ERASE_ERASE
,
49
SUB_MENU_ERASE_MAX
=
SUB_MENU_ERASE_ERASE
,
// 0x1F
50
SUB_MENU_SAVE_DATA_ERASED
,
// 0x20
51
SUB_MENU_COPY_PAK_FROM_GHOST_MIN
= 0x28,
52
SUB_MENU_COPY_PAK_FROM_GHOST1_1P
=
SUB_MENU_COPY_PAK_FROM_GHOST_MIN
,
53
SUB_MENU_COPY_PAK_FROM_GHOST2_1P
,
54
SUB_MENU_COPY_PAK_FROM_GHOST_MAX
=
SUB_MENU_COPY_PAK_FROM_GHOST2_1P
,
// 0x29
55
SUB_MENU_COPY_PAK_ERROR_2P_MIN
,
// 0x2A
56
SUB_MENU_COPY_PAK_ERROR_NO_GHOST_DATA
=
SUB_MENU_COPY_PAK_ERROR_2P_MIN
,
57
SUB_MENU_COPY_PAK_ERROR_NO_GAME_DATA
,
58
SUB_MENU_COPY_PAK_ERROR_NO_PAK_2P
,
59
SUB_MENU_COPY_PAK_ERROR_BAD_READ_2P
,
60
SUB_MENU_COPY_PAK_ERROR_2P_MAX
=
SUB_MENU_COPY_PAK_ERROR_BAD_READ_2P
,
// 0x2D
61
SUB_MENU_COPY_PAK_TO_GHOST_MIN
= 0x32,
62
SUB_MENU_COPY_PAK_TO_GHOST1_2P
=
SUB_MENU_COPY_PAK_TO_GHOST_MIN
,
63
SUB_MENU_COPY_PAK_TO_GHOST2_2P
,
64
SUB_MENU_COPY_PAK_TO_GHOST_MAX
=
SUB_MENU_COPY_PAK_TO_GHOST2_2P
,
// 0x33
65
SUB_MENU_COPY_PAK_ERROR_1P_MIN
,
66
SUB_MENU_COPY_PAK_ERROR_NO_PAK_1P
=
SUB_MENU_COPY_PAK_ERROR_1P_MIN
,
// 0x34
67
SUB_MENU_COPY_PAK_ERROR_BAD_READ_1P
,
68
SUB_MENU_COPY_PAK_ERROR_CANT_CREATE_1P
,
69
SUB_MENU_COPY_PAK_ERROR_NO_PAGES_1P
,
70
SUB_MENU_COPY_PAK_ERROR_1P_MAX
,
71
SUB_MENU_COPY_PAK_PROMPT_MIN
=
SUB_MENU_COPY_PAK_ERROR_1P_MAX
,
// 0x38
72
SUB_MENU_COPY_PAK_PROMPT_QUIT
=
SUB_MENU_COPY_PAK_PROMPT_MIN
,
73
SUB_MENU_COPY_PAK_PROMPT_COPY
,
74
SUB_MENU_COPY_PAK_PROMPT_MAX
=
SUB_MENU_COPY_PAK_PROMPT_COPY
,
// 0x39
75
SUB_MENU_COPY_PAK_ACTION_MIN
,
76
SUB_MENU_COPY_PAK_START
=
SUB_MENU_COPY_PAK_ACTION_MIN
,
// 0x3A
77
SUB_MENU_COPY_PAK_COPYING
,
78
SUB_MENU_COPY_PAK_COMPLETED
,
79
SUB_MENU_COPY_PAK_ACTION_MAX
=
SUB_MENU_COPY_PAK_COMPLETED
,
// 0x3C
80
SUB_MENU_COPY_PAK_UNABLE_ERROR_MIN
= 0x41,
81
SUB_MENU_COPY_PAK_UNABLE_COPY_FROM_1P
=
SUB_MENU_COPY_PAK_UNABLE_ERROR_MIN
,
82
SUB_MENU_COPY_PAK_UNABLE_READ_FROM_2P
,
83
SUB_MENU_COPY_PAK_UNABLE_ERROR_MAX
=
SUB_MENU_COPY_PAK_UNABLE_READ_FROM_2P
,
84
SUB_MENU_COPY_PAK_CREATE_GAME_DATA_INIT
= 0x46,
85
SUB_MENU_COPY_PAK_CREATE_GAME_DATA_DONE
86
};
87
91
enum
MainMenuSelectionType
{
92
MAIN_MENU_NONE
,
93
MAIN_MENU_OPTION
,
94
MAIN_MENU_DATA
,
95
MAIN_MENU_PLAYER_SELECT
,
96
MAIN_MENU_MODE_SELECT
,
// Mario GP - T. Trials - VS - Battle
97
MAIN_MENU_MODE_SUB_SELECT
,
// CC Selection and T.Trials options (Begin, Data)
98
MAIN_MENU_OK_SELECT
,
// OK option after selecting a submode
99
MAIN_MENU_OK_SELECT_GO_BACK
,
// OK option after going back from player select
100
MAIN_MENU_MODE_SUB_SELECT_GO_BACK
// Used in T.Trials after going back to Data option from course data
101
};
102
106
enum
PlayerSelectMenuSelectionTypes
{
107
PLAYER_SELECT_MENU_NONE
,
108
PLAYER_SELECT_MENU_MAIN
,
109
PLAYER_SELECT_MENU_OK
,
// OK option after selecting characters
110
PLAYER_SELECT_MENU_OK_GO_BACK
// OK option after going back from map select
111
};
112
116
enum
DebugMenuSelectionTypes
{
117
DEBUG_MENU_NONE
,
118
DEBUG_MENU_DISABLED
,
119
DEBUG_MENU_DEBUG_MODE
,
120
DEBUG_MENU_COURSE
,
121
DEBUG_MENU_SCREEN_MODE
,
122
DEBUG_MENU_PLAYER
,
123
DEBUG_MENU_SOUND_MODE
,
124
DEBUG_MENU_GIVE_ALL_GOLD_CUP
,
125
DEBUG_MENU_OPTION_SELECTED
= 0x40
126
};
127
131
enum
ControllerPakMenuSelectionTypes
{
132
CONTROLLER_PAK_MENU_NONE
,
133
CONTROLLER_PAK_MENU_SELECT_RECORD
,
134
CONTROLLER_PAK_MENU_END
,
135
CONTROLLER_PAK_MENU_ERASE
,
136
CONTROLLER_PAK_MENU_QUIT
,
137
CONTROLLER_PAK_MENU_TABLE_GAME_DATA
,
138
CONTROLLER_PAK_MENU_GO_TO_ERASING
,
139
CONTROLLER_PAK_MENU_ERASING
,
140
CONTROLLER_PAK_MENU_ERASE_ERROR_NOT_ERASED
,
141
CONTROLLER_PAK_MENU_ERASE_ERROR_NO_PAK
,
142
CONTROLLER_PAK_MENU_ERASE_ERROR_PAK_CHANGED
143
};
144
148
enum
CourseRecordsMenuSelectionTypes
{
149
COURSE_RECORDS_MENU_MIN
,
150
COURSE_RECORDS_MENU_RETURN_MENU
=
COURSE_RECORDS_MENU_MIN
,
151
COURSE_RECORDS_MENU_ERASE_RECORDS
,
152
COURSE_RECORDS_MENU_ERASE_GHOST
,
153
COURSE_RECORDS_MENU_MAX
=
COURSE_RECORDS_MENU_ERASE_GHOST
154
};
155
159
enum
CourseRecordsSubMenuSelectionTypes
{
160
COURSE_RECORDS_SUB_MENU_MIN
,
161
COURSE_RECORDS_SUB_MENU_QUIT
=
COURSE_RECORDS_SUB_MENU_MIN
,
162
COURSE_RECORDS_SUB_MENU_ERASE
,
163
COURSE_RECORDS_SUB_MENU_MAX
=
COURSE_RECORDS_SUB_MENU_ERASE
164
};
165
169
enum
DebugGotoSceneTypes
{
170
DEBUG_GOTO_RACING
,
171
DEBUG_GOTO_ENDING
,
172
DEBUG_GOTO_CREDITS_SEQUENCE_DEFAULT
,
173
DEBUG_GOTO_CREDITS_SEQUENCE_EXTRA
174
};
175
179
enum
FadeModeSelectionTypes
{
180
FADE_MODE_NONE
,
181
FADE_MODE_MAIN
,
182
FADE_MODE_LOGO
183
};
184
188
enum
ControllerPakScrollDirectionTypes
{
189
CONTROLLER_PAK_SCROLL_DIR_NONE
,
190
CONTROLLER_PAK_SCROLL_DIR_DOWN
,
191
CONTROLLER_PAK_SCROLL_DIR_UP
192
};
193
194
195
/* functions */
196
void
update_menus
(
void
);
197
void
options_menu_act
(
struct
Controller
*,
u16
);
198
void
data_menu_act
(
struct
Controller
*,
u16
);
199
void
course_data_menu_act
(
struct
Controller
*,
u16
);
200
void
logo_intro_menu_act
(
struct
Controller
*,
u16
);
201
void
controller_pak_menu_act
(
struct
Controller
*,
u16
);
202
void
splash_menu_act
(
struct
Controller
*,
u16
);
203
void
setup_game_mode_selected
(
void
);
204
void
main_menu_act
(
struct
Controller
*,
u16
);
205
bool
is_character_spot_free
(
s32
);
206
void
player_select_menu_act
(
struct
Controller
*,
u16
);
207
void
course_select_menu_act
(
struct
Controller
*,
u16
);
208
void
load_menu_states
(
s32
);
209
void
reset_cycle_flash_menu
(
void
);
210
void
set_sound_mode
(
void
);
211
bool
is_screen_being_faded
(
void
);
212
213
/* data */
214
extern
s32
gIntroModelZEye
;
215
extern
f32
gIntroModelScale
;
216
extern
f32
gIntroModelRotX
;
217
extern
f32
gIntroModelRotY
;
218
extern
f32
gIntroModelRotZ
;
219
extern
f32
gIntroModelPosX
;
220
extern
f32
gIntroModelPosY
;
221
extern
f32
gIntroModelPosZ
;
222
223
extern
s32
gMenuFadeType
;
224
225
extern
s8
gCharacterGridSelections
[4];
226
extern
s8
gCharacterGridIsSelected
[4];
227
extern
s8
gSubMenuSelection
;
228
extern
s8
gMainMenuSelection
;
229
extern
s8
gPlayerSelectMenuSelection
;
230
extern
s8
gDebugMenuSelection
;
231
extern
s8
gControllerPakMenuSelection
;
232
extern
s8
gScreenModeListIndex
;
233
extern
u8
gSoundMode
;
234
extern
s8
gPlayerCount
;
235
extern
s8
gVersusResultCursorSelection
;
236
extern
s8
gTimeTrialsResultCursorSelection
;
237
extern
s8
gBattleResultCursorSelection
;
238
extern
s8
gTimeTrialDataCourseIndex
;
239
extern
s8
gCourseRecordsMenuSelection
;
240
extern
s8
gCourseRecordsSubMenuSelection
;
241
extern
s8
gDebugGotoScene
;
242
extern
s8
gGhostPlayerInit
;
243
extern
s8
gCourseMapInit
;
244
extern
s32
gMenuTimingCounter
;
245
extern
s32
gMenuDelayTimer
;
246
extern
s8
gDemoUseController
;
247
extern
s8
gCupSelection
;
248
extern
s8
gCourseIndexInCup
;
249
extern
s8
unref_8018EE0C
;
250
251
extern
s32
gMenuSelection
;
// D_800E86A0
252
extern
s32
gFadeModeSelection
;
253
extern
s8
gCharacterSelections
[];
254
255
extern
s8
gGameModeMenuColumn
[];
256
extern
s8
gGameModeSubMenuColumn
[4][3];
257
extern
s8
gNextDemoId
;
258
extern
s8
gControllerPakSelectedTableRow
;
259
extern
s8
gControllerPakVisibleTableRows
[];
260
extern
s8
gControllerPakScrollDirection
;
261
262
extern
const
s8
gPlayerModeSelection
[];
263
extern
const
s32
gGameModePlayerSelection
[][3];
264
extern
const
s16
gCupCourseOrder
[
NUM_CUPS
][
NUM_COURSES_PER_CUP
];
265
266
// end of menus.c variables
267
268
#endif
/* MENUS_H */
common_structs.h
defines.h
NUM_CUPS
@ NUM_CUPS
Definition
defines.h:146
NUM_COURSES_PER_CUP
#define NUM_COURSES_PER_CUP
Definition
defines.h:148
FadeModeSelectionTypes
FadeModeSelectionTypes
Options for gFadeModeSelection.
Definition
menus.h:179
FADE_MODE_LOGO
@ FADE_MODE_LOGO
Definition
menus.h:182
FADE_MODE_MAIN
@ FADE_MODE_MAIN
Definition
menus.h:181
FADE_MODE_NONE
@ FADE_MODE_NONE
Definition
menus.h:180
gIntroModelRotZ
f32 gIntroModelRotZ
Definition
menus.c:37
logo_intro_menu_act
void logo_intro_menu_act(struct Controller *, u16)
gScreenModeListIndex
s8 gScreenModeListIndex
Definition
menus.c:50
player_select_menu_act
void player_select_menu_act(struct Controller *, u16)
gTimeTrialDataCourseIndex
s8 gTimeTrialDataCourseIndex
Definition
menus.c:56
gMenuFadeType
s32 gMenuFadeType
Definition
menus.c:42
gSubMenuSelection
s8 gSubMenuSelection
Definition
menus.c:45
options_menu_act
void options_menu_act(struct Controller *, u16)
Definition
menus.c:245
gControllerPakVisibleTableRows
s8 gControllerPakVisibleTableRows[]
Definition
menus.c:91
gIntroModelPosZ
f32 gIntroModelPosZ
Definition
menus.c:40
gGameModeMenuColumn
s8 gGameModeMenuColumn[]
Definition
menus.c:79
PlayerSelectMenuSelectionTypes
PlayerSelectMenuSelectionTypes
Options for gPlayerSelectMenuSelection.
Definition
menus.h:106
PLAYER_SELECT_MENU_MAIN
@ PLAYER_SELECT_MENU_MAIN
Definition
menus.h:108
PLAYER_SELECT_MENU_OK
@ PLAYER_SELECT_MENU_OK
Definition
menus.h:109
PLAYER_SELECT_MENU_NONE
@ PLAYER_SELECT_MENU_NONE
Definition
menus.h:107
PLAYER_SELECT_MENU_OK_GO_BACK
@ PLAYER_SELECT_MENU_OK_GO_BACK
Definition
menus.h:110
gIntroModelRotX
f32 gIntroModelRotX
Definition
menus.c:35
main_menu_act
void main_menu_act(struct Controller *, u16)
gMenuTimingCounter
s32 gMenuTimingCounter
Definition
menus.c:62
gMenuDelayTimer
s32 gMenuDelayTimer
Definition
menus.c:63
is_screen_being_faded
bool is_screen_being_faded(void)
Definition
menus.c:2035
gCupCourseOrder
const s16 gCupCourseOrder[NUM_CUPS][NUM_COURSES_PER_CUP]
Definition
menus.c:148
gDemoUseController
s8 gDemoUseController
Definition
menus.c:64
controller_pak_menu_act
void controller_pak_menu_act(struct Controller *, u16)
gCharacterGridIsSelected
s8 gCharacterGridIsSelected[4]
Definition
menus.c:44
gControllerPakMenuSelection
s8 gControllerPakMenuSelection
Definition
menus.c:49
splash_menu_act
void splash_menu_act(struct Controller *, u16)
Definition
menus.c:1021
gControllerPakSelectedTableRow
s8 gControllerPakSelectedTableRow
Definition
menus.c:87
gCourseRecordsMenuSelection
s8 gCourseRecordsMenuSelection
Definition
menus.c:57
gIntroModelZEye
s32 gIntroModelZEye
Definition
menus.c:33
update_menus
void update_menus(void)
Definition
menus.c:175
gGhostPlayerInit
s8 gGhostPlayerInit
Definition
menus.c:60
gPlayerCount
s8 gPlayerCount
Definition
menus.c:52
CourseRecordsMenuSelectionTypes
CourseRecordsMenuSelectionTypes
Options for gCourseRecordsMenuSelection.
Definition
menus.h:148
COURSE_RECORDS_MENU_MAX
@ COURSE_RECORDS_MENU_MAX
Definition
menus.h:153
COURSE_RECORDS_MENU_ERASE_GHOST
@ COURSE_RECORDS_MENU_ERASE_GHOST
Definition
menus.h:152
COURSE_RECORDS_MENU_ERASE_RECORDS
@ COURSE_RECORDS_MENU_ERASE_RECORDS
Definition
menus.h:151
COURSE_RECORDS_MENU_MIN
@ COURSE_RECORDS_MENU_MIN
Definition
menus.h:149
COURSE_RECORDS_MENU_RETURN_MENU
@ COURSE_RECORDS_MENU_RETURN_MENU
Definition
menus.h:150
gCupSelection
s8 gCupSelection
Definition
menus.c:65
gMenuSelection
s32 gMenuSelection
Definition
menus.c:71
reset_cycle_flash_menu
void reset_cycle_flash_menu(void)
Definition
menus.c:2014
gCourseIndexInCup
s8 gCourseIndexInCup
Definition
menus.c:67
gIntroModelRotY
f32 gIntroModelRotY
Definition
menus.c:36
data_menu_act
void data_menu_act(struct Controller *, u16)
gTimeTrialsResultCursorSelection
s8 gTimeTrialsResultCursorSelection
Definition
menus.c:54
gPlayerSelectMenuSelection
s8 gPlayerSelectMenuSelection
Definition
menus.c:47
ControllerPakMenuSelectionTypes
ControllerPakMenuSelectionTypes
Options for gControllerPakMenuSelection.
Definition
menus.h:131
CONTROLLER_PAK_MENU_SELECT_RECORD
@ CONTROLLER_PAK_MENU_SELECT_RECORD
Definition
menus.h:133
CONTROLLER_PAK_MENU_ERASE_ERROR_PAK_CHANGED
@ CONTROLLER_PAK_MENU_ERASE_ERROR_PAK_CHANGED
Definition
menus.h:142
CONTROLLER_PAK_MENU_TABLE_GAME_DATA
@ CONTROLLER_PAK_MENU_TABLE_GAME_DATA
Definition
menus.h:137
CONTROLLER_PAK_MENU_QUIT
@ CONTROLLER_PAK_MENU_QUIT
Definition
menus.h:136
CONTROLLER_PAK_MENU_ERASE_ERROR_NO_PAK
@ CONTROLLER_PAK_MENU_ERASE_ERROR_NO_PAK
Definition
menus.h:141
CONTROLLER_PAK_MENU_GO_TO_ERASING
@ CONTROLLER_PAK_MENU_GO_TO_ERASING
Definition
menus.h:138
CONTROLLER_PAK_MENU_END
@ CONTROLLER_PAK_MENU_END
Definition
menus.h:134
CONTROLLER_PAK_MENU_ERASE_ERROR_NOT_ERASED
@ CONTROLLER_PAK_MENU_ERASE_ERROR_NOT_ERASED
Definition
menus.h:140
CONTROLLER_PAK_MENU_ERASE
@ CONTROLLER_PAK_MENU_ERASE
Definition
menus.h:135
CONTROLLER_PAK_MENU_ERASING
@ CONTROLLER_PAK_MENU_ERASING
Definition
menus.h:139
CONTROLLER_PAK_MENU_NONE
@ CONTROLLER_PAK_MENU_NONE
Definition
menus.h:132
gCourseRecordsSubMenuSelection
s8 gCourseRecordsSubMenuSelection
Definition
menus.c:58
gIntroModelScale
f32 gIntroModelScale
Definition
menus.c:34
gControllerPakScrollDirection
s8 gControllerPakScrollDirection
Definition
menus.c:93
gPlayerModeSelection
const s8 gPlayerModeSelection[]
Definition
menus.c:114
gDebugGotoScene
s8 gDebugGotoScene
Definition
menus.c:59
gCourseMapInit
s8 gCourseMapInit
Definition
menus.c:61
course_data_menu_act
void course_data_menu_act(struct Controller *, u16)
DebugGotoSceneTypes
DebugGotoSceneTypes
Options for gDebugGotoScene.
Definition
menus.h:169
DEBUG_GOTO_RACING
@ DEBUG_GOTO_RACING
Definition
menus.h:170
DEBUG_GOTO_CREDITS_SEQUENCE_DEFAULT
@ DEBUG_GOTO_CREDITS_SEQUENCE_DEFAULT
Definition
menus.h:172
DEBUG_GOTO_ENDING
@ DEBUG_GOTO_ENDING
Definition
menus.h:171
DEBUG_GOTO_CREDITS_SEQUENCE_EXTRA
@ DEBUG_GOTO_CREDITS_SEQUENCE_EXTRA
Definition
menus.h:173
unref_8018EE0C
s8 unref_8018EE0C
Definition
menus.c:68
gGameModeSubMenuColumn
s8 gGameModeSubMenuColumn[4][3]
Definition
menus.c:84
gIntroModelPosX
f32 gIntroModelPosX
Definition
menus.c:38
is_character_spot_free
bool is_character_spot_free(s32)
Definition
menus.c:1513
CourseRecordsSubMenuSelectionTypes
CourseRecordsSubMenuSelectionTypes
Options for gCourseRecordsSubMenuSelection.
Definition
menus.h:159
COURSE_RECORDS_SUB_MENU_MAX
@ COURSE_RECORDS_SUB_MENU_MAX
Definition
menus.h:163
COURSE_RECORDS_SUB_MENU_QUIT
@ COURSE_RECORDS_SUB_MENU_QUIT
Definition
menus.h:161
COURSE_RECORDS_SUB_MENU_MIN
@ COURSE_RECORDS_SUB_MENU_MIN
Definition
menus.h:160
COURSE_RECORDS_SUB_MENU_ERASE
@ COURSE_RECORDS_SUB_MENU_ERASE
Definition
menus.h:162
gDebugMenuSelection
s8 gDebugMenuSelection
Definition
menus.c:48
gMainMenuSelection
s8 gMainMenuSelection
Definition
menus.c:46
gNextDemoId
s8 gNextDemoId
Definition
menus.c:86
SubMenuSelectionType
SubMenuSelectionType
Options for gSubMenuSelection.
Definition
menus.h:30
SUB_MENU_COPY_PAK_ERROR_1P_MAX
@ SUB_MENU_COPY_PAK_ERROR_1P_MAX
Definition
menus.h:70
SUB_MENU_COPY_PAK_FROM_GHOST2_1P
@ SUB_MENU_COPY_PAK_FROM_GHOST2_1P
Definition
menus.h:53
SUB_MENU_MAP_SELECT_COURSE
@ SUB_MENU_MAP_SELECT_COURSE
Definition
menus.h:34
SUB_MENU_COPY_PAK_TO_GHOST1_2P
@ SUB_MENU_COPY_PAK_TO_GHOST1_2P
Definition
menus.h:62
SUB_MENU_COPY_PAK_START
@ SUB_MENU_COPY_PAK_START
Definition
menus.h:76
SUB_MENU_COPY_PAK_TO_GHOST2_2P
@ SUB_MENU_COPY_PAK_TO_GHOST2_2P
Definition
menus.h:63
SUB_MENU_COPY_PAK_ERROR_BAD_READ_1P
@ SUB_MENU_COPY_PAK_ERROR_BAD_READ_1P
Definition
menus.h:67
SUB_MENU_DATA_OPTIONS
@ SUB_MENU_DATA_OPTIONS
Definition
menus.h:37
SUB_MENU_COPY_PAK_FROM_GHOST_MAX
@ SUB_MENU_COPY_PAK_FROM_GHOST_MAX
Definition
menus.h:54
SUB_MENU_COPY_PAK_UNABLE_COPY_FROM_1P
@ SUB_MENU_COPY_PAK_UNABLE_COPY_FROM_1P
Definition
menus.h:81
SUB_MENU_COPY_PAK_PROMPT_MAX
@ SUB_MENU_COPY_PAK_PROMPT_MAX
Definition
menus.h:74
SUB_MENU_COPY_PAK_CREATE_GAME_DATA_DONE
@ SUB_MENU_COPY_PAK_CREATE_GAME_DATA_DONE
Definition
menus.h:85
SUB_MENU_COPY_PAK_UNABLE_ERROR_MAX
@ SUB_MENU_COPY_PAK_UNABLE_ERROR_MAX
Definition
menus.h:83
SUB_MENU_COPY_PAK_ERROR_NO_PAGES_1P
@ SUB_MENU_COPY_PAK_ERROR_NO_PAGES_1P
Definition
menus.h:69
SUB_MENU_COPY_PAK_TO_GHOST_MIN
@ SUB_MENU_COPY_PAK_TO_GHOST_MIN
Definition
menus.h:61
SUB_MENU_COPY_PAK_ERROR_NO_GHOST_DATA
@ SUB_MENU_COPY_PAK_ERROR_NO_GHOST_DATA
Definition
menus.h:56
SUB_MENU_COPY_PAK_ACTION_MIN
@ SUB_MENU_COPY_PAK_ACTION_MIN
Definition
menus.h:75
SUB_MENU_DATA_CANT_ERASE
@ SUB_MENU_DATA_CANT_ERASE
Definition
menus.h:39
SUB_MENU_ERASE_QUIT
@ SUB_MENU_ERASE_QUIT
Definition
menus.h:47
SUB_MENU_COPY_PAK_ERROR_2P_MAX
@ SUB_MENU_COPY_PAK_ERROR_2P_MAX
Definition
menus.h:60
SUB_MENU_COPY_PAK_PROMPT_COPY
@ SUB_MENU_COPY_PAK_PROMPT_COPY
Definition
menus.h:73
SUB_MENU_COPY_PAK_PROMPT_MIN
@ SUB_MENU_COPY_PAK_PROMPT_MIN
Definition
menus.h:71
SUB_MENU_MAP_SELECT_OK
@ SUB_MENU_MAP_SELECT_OK
Definition
menus.h:35
SUB_MENU_COPY_PAK_ERROR_NO_PAK_2P
@ SUB_MENU_COPY_PAK_ERROR_NO_PAK_2P
Definition
menus.h:58
SUB_MENU_COPY_PAK_TO_GHOST_MAX
@ SUB_MENU_COPY_PAK_TO_GHOST_MAX
Definition
menus.h:64
SUB_MENU_ERASE_MAX
@ SUB_MENU_ERASE_MAX
Definition
menus.h:49
SUB_MENU_COPY_PAK_FROM_GHOST1_1P
@ SUB_MENU_COPY_PAK_FROM_GHOST1_1P
Definition
menus.h:52
SUB_MENU_COPY_PAK_ERROR_CANT_CREATE_1P
@ SUB_MENU_COPY_PAK_ERROR_CANT_CREATE_1P
Definition
menus.h:68
SUB_MENU_COPY_PAK_ERROR_1P_MIN
@ SUB_MENU_COPY_PAK_ERROR_1P_MIN
Definition
menus.h:65
SUB_MENU_MAP_SELECT_BATTLE_COURSE
@ SUB_MENU_MAP_SELECT_BATTLE_COURSE
Definition
menus.h:36
SUB_MENU_DATA
@ SUB_MENU_DATA
Definition
menus.h:32
SUB_MENU_COPY_PAK_ERROR_BAD_READ_2P
@ SUB_MENU_COPY_PAK_ERROR_BAD_READ_2P
Definition
menus.h:59
SUB_MENU_OPTION_SOUND_MODE
@ SUB_MENU_OPTION_SOUND_MODE
Definition
menus.h:42
SUB_MENU_OPTION_MAX
@ SUB_MENU_OPTION_MAX
Definition
menus.h:45
SUB_MENU_NONE
@ SUB_MENU_NONE
Definition
menus.h:31
SUB_MENU_COPY_PAK_ERROR_2P_MIN
@ SUB_MENU_COPY_PAK_ERROR_2P_MIN
Definition
menus.h:55
SUB_MENU_MAP_SELECT_CUP
@ SUB_MENU_MAP_SELECT_CUP
Definition
menus.h:33
SUB_MENU_COPY_PAK_UNABLE_READ_FROM_2P
@ SUB_MENU_COPY_PAK_UNABLE_READ_FROM_2P
Definition
menus.h:82
SUB_MENU_COPY_PAK_COPYING
@ SUB_MENU_COPY_PAK_COPYING
Definition
menus.h:77
SUB_MENU_COPY_PAK_ERROR_NO_GAME_DATA
@ SUB_MENU_COPY_PAK_ERROR_NO_GAME_DATA
Definition
menus.h:57
SUB_MENU_OPTION_RETURN_GAME_SELECT
@ SUB_MENU_OPTION_RETURN_GAME_SELECT
Definition
menus.h:41
SUB_MENU_ERASE_MIN
@ SUB_MENU_ERASE_MIN
Definition
menus.h:46
SUB_MENU_COPY_PAK_FROM_GHOST_MIN
@ SUB_MENU_COPY_PAK_FROM_GHOST_MIN
Definition
menus.h:51
SUB_MENU_COPY_PAK_CREATE_GAME_DATA_INIT
@ SUB_MENU_COPY_PAK_CREATE_GAME_DATA_INIT
Definition
menus.h:84
SUB_MENU_COPY_PAK_ERROR_NO_PAK_1P
@ SUB_MENU_COPY_PAK_ERROR_NO_PAK_1P
Definition
menus.h:66
SUB_MENU_COPY_PAK_UNABLE_ERROR_MIN
@ SUB_MENU_COPY_PAK_UNABLE_ERROR_MIN
Definition
menus.h:80
SUB_MENU_ERASE_ERASE
@ SUB_MENU_ERASE_ERASE
Definition
menus.h:48
SUB_MENU_DATA_ERASE_CONFIRM
@ SUB_MENU_DATA_ERASE_CONFIRM
Definition
menus.h:38
SUB_MENU_SAVE_DATA_ERASED
@ SUB_MENU_SAVE_DATA_ERASED
Definition
menus.h:50
SUB_MENU_OPTION_ERASE_ALL_DATA
@ SUB_MENU_OPTION_ERASE_ALL_DATA
Definition
menus.h:44
SUB_MENU_COPY_PAK_PROMPT_QUIT
@ SUB_MENU_COPY_PAK_PROMPT_QUIT
Definition
menus.h:72
SUB_MENU_OPTION_COPY_CONTROLLER_PAK
@ SUB_MENU_OPTION_COPY_CONTROLLER_PAK
Definition
menus.h:43
SUB_MENU_OPTION_MIN
@ SUB_MENU_OPTION_MIN
Definition
menus.h:40
SUB_MENU_COPY_PAK_ACTION_MAX
@ SUB_MENU_COPY_PAK_ACTION_MAX
Definition
menus.h:79
SUB_MENU_COPY_PAK_COMPLETED
@ SUB_MENU_COPY_PAK_COMPLETED
Definition
menus.h:78
gSoundMode
u8 gSoundMode
Definition
menus.c:51
setup_game_mode_selected
void setup_game_mode_selected(void)
Definition
menus.c:1232
gFadeModeSelection
s32 gFadeModeSelection
Definition
menus.c:72
set_sound_mode
void set_sound_mode(void)
Definition
menus.c:2021
gBattleResultCursorSelection
s8 gBattleResultCursorSelection
Definition
menus.c:55
MainMenuSelectionType
MainMenuSelectionType
Options for gMainMenuSelection.
Definition
menus.h:91
MAIN_MENU_NONE
@ MAIN_MENU_NONE
Definition
menus.h:92
MAIN_MENU_OK_SELECT_GO_BACK
@ MAIN_MENU_OK_SELECT_GO_BACK
Definition
menus.h:99
MAIN_MENU_DATA
@ MAIN_MENU_DATA
Definition
menus.h:94
MAIN_MENU_PLAYER_SELECT
@ MAIN_MENU_PLAYER_SELECT
Definition
menus.h:95
MAIN_MENU_OPTION
@ MAIN_MENU_OPTION
Definition
menus.h:93
MAIN_MENU_OK_SELECT
@ MAIN_MENU_OK_SELECT
Definition
menus.h:98
MAIN_MENU_MODE_SELECT
@ MAIN_MENU_MODE_SELECT
Definition
menus.h:96
MAIN_MENU_MODE_SUB_SELECT_GO_BACK
@ MAIN_MENU_MODE_SUB_SELECT_GO_BACK
Definition
menus.h:100
MAIN_MENU_MODE_SUB_SELECT
@ MAIN_MENU_MODE_SUB_SELECT
Definition
menus.h:97
gVersusResultCursorSelection
s8 gVersusResultCursorSelection
Definition
menus.c:53
gCharacterGridSelections
s8 gCharacterGridSelections[4]
Definition
menus.c:43
load_menu_states
void load_menu_states(s32)
Definition
menus.c:1830
ControllerPakScrollDirectionTypes
ControllerPakScrollDirectionTypes
Options for gControllerPakScrollDirection.
Definition
menus.h:188
CONTROLLER_PAK_SCROLL_DIR_NONE
@ CONTROLLER_PAK_SCROLL_DIR_NONE
Definition
menus.h:189
CONTROLLER_PAK_SCROLL_DIR_DOWN
@ CONTROLLER_PAK_SCROLL_DIR_DOWN
Definition
menus.h:190
CONTROLLER_PAK_SCROLL_DIR_UP
@ CONTROLLER_PAK_SCROLL_DIR_UP
Definition
menus.h:191
DebugMenuSelectionTypes
DebugMenuSelectionTypes
Options for gDebugMenuSelection.
Definition
menus.h:116
DEBUG_MENU_DEBUG_MODE
@ DEBUG_MENU_DEBUG_MODE
Definition
menus.h:119
DEBUG_MENU_NONE
@ DEBUG_MENU_NONE
Definition
menus.h:117
DEBUG_MENU_COURSE
@ DEBUG_MENU_COURSE
Definition
menus.h:120
DEBUG_MENU_SCREEN_MODE
@ DEBUG_MENU_SCREEN_MODE
Definition
menus.h:121
DEBUG_MENU_OPTION_SELECTED
@ DEBUG_MENU_OPTION_SELECTED
Definition
menus.h:125
DEBUG_MENU_GIVE_ALL_GOLD_CUP
@ DEBUG_MENU_GIVE_ALL_GOLD_CUP
Definition
menus.h:124
DEBUG_MENU_PLAYER
@ DEBUG_MENU_PLAYER
Definition
menus.h:122
DEBUG_MENU_DISABLED
@ DEBUG_MENU_DISABLED
Definition
menus.h:118
DEBUG_MENU_SOUND_MODE
@ DEBUG_MENU_SOUND_MODE
Definition
menus.h:123
MenuFadeTypes
MenuFadeTypes
Options for gMenuFadeType.
Definition
menus.h:18
MENU_FADE_TYPE_MAIN
@ MENU_FADE_TYPE_MAIN
Definition
menus.h:19
MENU_FADE_TYPE_OPTION
@ MENU_FADE_TYPE_OPTION
Definition
menus.h:23
MENU_FADE_TYPE_MAX
@ MENU_FADE_TYPE_MAX
Definition
menus.h:24
MENU_FADE_TYPE_DEMO
@ MENU_FADE_TYPE_DEMO
Definition
menus.h:21
MENU_FADE_TYPE_DATA
@ MENU_FADE_TYPE_DATA
Definition
menus.h:22
MENU_FADE_TYPE_BACK
@ MENU_FADE_TYPE_BACK
Definition
menus.h:20
gGameModePlayerSelection
const s32 gGameModePlayerSelection[][3]
Definition
menus.c:134
gIntroModelPosY
f32 gIntroModelPosY
Definition
menus.c:39
course_select_menu_act
void course_select_menu_act(struct Controller *, u16)
Definition
menus.c:1721
gCharacterSelections
s8 gCharacterSelections[]
Definition
menus.c:75
os.h
Controller
Definition
common_structs.h:62
s32
signed int s32
Definition
ultratypes.h:15
s8
signed char s8
Definition
ultratypes.h:11
s16
signed short int s16
Definition
ultratypes.h:13
f32
float f32
Definition
ultratypes.h:34
u16
unsigned short int u16
Definition
ultratypes.h:14
u8
unsigned char u8
Definition
ultratypes.h:12
GameModePack
Definition
menus.h:10
GameModePack::word
s32 word
Definition
menus.h:12
GameModePack::modes
u8 modes[4]
Definition
menus.h:11
src
menus.h
Generated by
1.11.0