forked from Ports/perfect_dark
port: add exit option to 4mb menu
This commit is contained in:
1 parent
702db43590
commit
721c27c329
2 files changed
+13
No files matched your search
@@ -585,6 +585,16 @@ struct menuitem g_MainMenu4MbMenuItems[] = {
|
||||
0,
|
||||
(void *)&g_ChangeAgentMenuDialog,
|
||||
},
|
||||
#ifndef PLATFORM_N64
|
||||
{
|
||||
MENUITEMTYPE_SELECTABLE,
|
||||
0,
|
||||
MENUITEMFLAG_SELECTABLE_OPENSDIALOG | MENUITEMFLAG_BIGFONT,
|
||||
L_OPTIONS_110, // "Exit Game"
|
||||
0x00000007,
|
||||
(void *)&g_ExitGameMenuDialog,
|
||||
},
|
||||
#endif
|
||||
{ MENUITEMTYPE_END },
|
||||
};
|
||||
|
||||
|
||||
@@ -10,6 +10,9 @@ extern struct menudialogdef g_AcceptMissionMenuDialog;
|
||||
extern struct menudialogdef g_PreAndPostMissionBriefingMenuDialog;
|
||||
extern struct menudialogdef g_RetryMissionMenuDialog;
|
||||
extern struct menudialogdef g_NextMissionMenuDialog;
|
||||
#ifndef PLATFORM_N64
|
||||
extern struct menudialogdef g_ExitGameMenuDialog;
|
||||
#endif
|
||||
|
||||
char *menuTextCurrentStageName(struct menuitem *item);
|
||||
char *soloMenuTextDifficulty(struct menuitem *item);
|
||||
|
||||
Reference in new issue
Block a user