2008-09-02 03:57:21 +02:00
|
|
|
/****************************************************************************
|
2009-07-22 04:05:49 +02:00
|
|
|
* FCE Ultra
|
2008-09-02 03:57:21 +02:00
|
|
|
* Nintendo Wii/Gamecube Port
|
|
|
|
*
|
2023-01-30 22:07:47 +01:00
|
|
|
* Tantric 2008-2023
|
2008-09-02 03:57:21 +02:00
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Main menu flow control
|
|
|
|
****************************************************************************/
|
|
|
|
|
2010-04-01 23:37:03 +02:00
|
|
|
#ifndef _MENU_H
|
|
|
|
#define _MENU_H
|
2008-09-02 03:57:21 +02:00
|
|
|
|
2009-07-20 08:18:06 +02:00
|
|
|
bool GuiLoaded();
|
2009-03-28 18:23:08 +01:00
|
|
|
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);
|
2019-01-06 01:14:22 +01:00
|
|
|
void ChangeLanguage();
|
2009-03-28 18:23:08 +01:00
|
|
|
|
2019-01-06 18:28:50 +01:00
|
|
|
extern u8 * bg_music;
|
|
|
|
extern u32 bg_music_size;
|
|
|
|
|
2009-03-28 18:23:08 +01:00
|
|
|
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,
|
2016-09-18 05:43:24 +02:00
|
|
|
MENU_GAME_DELETE,
|
2009-04-13 21:48:24 +02:00
|
|
|
MENU_GAMESETTINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_CTRL,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_GAMESETTINGS_VIDEO,
|
2022-10-20 23:33:19 +02:00
|
|
|
MENU_GAMESETTINGS_CHEATS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_OTHER
|
2009-03-28 18:23:08 +01:00
|
|
|
};
|
2008-09-02 03:57:21 +02:00
|
|
|
|
|
|
|
#endif
|