Update stuff for new menu additions
This commit is contained in:
parent
3decf36748
commit
9cf5b4e79f
5 changed files with 10 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
|||
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
|
||||
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
|
||||
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
|
||||
#define ASSET_HASH_MAIN_PK3 0xf11eb7403e253b93
|
||||
#define ASSET_HASH_MAIN_PK3 0xfd350f17314cd848
|
||||
#define ASSET_HASH_MAPPATCH_PK3 0x421cb1b797c517bb
|
||||
#ifdef USE_PATCH_FILE
|
||||
#define ASSET_HASH_PATCH_PK3 0x0000000000000000
|
||||
|
|
|
|||
|
|
@ -766,6 +766,7 @@ struct menu_routine_s const MENU_ROUTINES[] = {
|
|||
{ "CHANGECONTROL", &M_ChangeControl },
|
||||
{ "ASSIGNJOYSTICK", &M_AssignJoystick },
|
||||
{ "HANDLEMONITORTOGGLES", &M_HandleMonitorToggles },
|
||||
{ "RESTARTAUDIO", &M_RestartAudio },
|
||||
#ifdef HAVE_DISCORDRPC
|
||||
{ "HANDLEDISCORDREQUESTS", &M_HandleDiscordRequests },
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ _(OP_P4CAMERA)
|
|||
|
||||
_(OP_GAME)
|
||||
_(OP_BLANKARTGAME)
|
||||
_(OP_BLANKARTBOT)
|
||||
|
||||
_(OP_SERVER)
|
||||
_(OP_MONITORTOGGLE)
|
||||
|
|
|
|||
|
|
@ -8617,6 +8617,12 @@ void M_ResetControls(INT32 choice)
|
|||
M_StartMessage(va(M_GetText("Reset Player %d's controls to defaults?\n\n(Press 'Y' to confirm)\n"), setupcontrolplayer), M_ResetControlsResponse, MM_YESNO);
|
||||
}
|
||||
|
||||
void M_RestartAudio(INT32 choice)
|
||||
{
|
||||
(void)choice;
|
||||
COM_ImmedExecute("restartaudio");
|
||||
}
|
||||
|
||||
// ===============
|
||||
// VIDEO MODE MENU
|
||||
// ===============
|
||||
|
|
|
|||
|
|
@ -356,6 +356,7 @@ void M_ResetControls(INT32 choice);
|
|||
void M_ChangeControl(INT32 choice);
|
||||
void M_AssignJoystick(INT32 choice);
|
||||
void M_HandleMonitorToggles(INT32 choice);
|
||||
void M_RestartAudio(INT32 choice);
|
||||
#ifdef HAVE_DISCORDRPC
|
||||
void M_HandleDiscordRequests(INT32 choice);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue