snes9xgx/source/menu.h
InfiniteBlueGX 2dcea7e3bf
Add Turbo Mode Button remapping feature and "Other Mappings" submenu (#1006)
* Create Turbo Mode submenu under Button Mappings

"Enable Turbo Mode" was moved into this new menu.

* Add Turbo Mode Button remap to the Turbo Mode settings menu

* Rename the Turbo Mode Settings enum

* Remove an extra TriggerUpdate added by mistake

* Fix an edge case where Turbo could be activated on dpad up/left when nunchuck Z/C is mapped

* Rename the Turbo Mode submenu to "Other Mappings"

* Add an enumeration for the remappable buttons for Turbo Mode
2022-05-20 15:54:29 -06:00

53 lines
1.1 KiB
C

/****************************************************************************
* Snes9x Nintendo Wii/Gamecube Port
*
* Tantric 2008-2022
*
* menu.h
*
* Menu flow routines - handles all menu logic
***************************************************************************/
#ifndef _MENU_H_
#define _MENU_H_
#include <ogcsys.h>
void InitGUIThreads();
void MainMenu (int menuitem);
void ErrorPrompt(const char * msg);
int ErrorPromptRetry(const char * msg);
void InfoPrompt(const char * msg);
void ShowAction (const char *msg);
void CancelAction();
void ShowProgress (const char *msg, int done, int total);
void ChangeLanguage();
extern u8 * bg_music;
extern u32 bg_music_size;
enum
{
MENU_EXIT = -1,
MENU_NONE,
MENU_SETTINGS,
MENU_SETTINGS_FILE,
MENU_SETTINGS_MENU,
MENU_SETTINGS_NETWORK,
MENU_GAMESELECTION,
MENU_GAME,
MENU_GAME_SAVE,
MENU_GAME_LOAD,
MENU_GAME_DELETE,
MENU_GAMESETTINGS,
MENU_GAMESETTINGS_MAPPINGS,
MENU_GAMESETTINGS_MAPPINGS_CTRL,
MENU_GAMESETTINGS_MAPPINGS_MAP,
MENU_GAMESETTINGS_VIDEO,
MENU_GAMESETTINGS_AUDIO,
MENU_GAMESETTINGS_CHEATS,
MENU_GAMESETTINGS_MAPPINGS_OTHER,
};
#endif