2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2010-01-27 23:20:37 +01:00
|
|
|
* Snes9x Nintendo Wii/Gamecube Port
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
2022-01-09 17:41:38 +01:00
|
|
|
* Tantric 2008-2022
|
2008-09-12 07:28:40 +02:00
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2010-04-01 23:34:35 +02:00
|
|
|
#ifndef _MENU_H_
|
|
|
|
#define _MENU_H_
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2009-03-11 18:28:37 +01:00
|
|
|
#include <ogcsys.h>
|
|
|
|
|
|
|
|
void InitGUIThreads();
|
|
|
|
void MainMenu (int menuitem);
|
|
|
|
void ErrorPrompt(const char * msg);
|
2009-03-23 00:16:25 +01:00
|
|
|
int ErrorPromptRetry(const char * msg);
|
2009-03-11 18:28:37 +01:00
|
|
|
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:07:07 +01:00
|
|
|
void ChangeLanguage();
|
2009-03-11 18:28:37 +01:00
|
|
|
|
2019-01-06 18:17:20 +01:00
|
|
|
extern u8 * bg_music;
|
|
|
|
extern u32 bg_music_size;
|
|
|
|
|
2009-03-11 18:28:37 +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:46:33 +02:00
|
|
|
MENU_GAME_DELETE,
|
2009-04-13 21:36:33 +02:00
|
|
|
MENU_GAMESETTINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_CTRL,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_GAMESETTINGS_VIDEO,
|
2018-12-23 18:14:30 +01:00
|
|
|
MENU_GAMESETTINGS_AUDIO,
|
2022-05-20 23:54:29 +02:00
|
|
|
MENU_GAMESETTINGS_CHEATS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_OTHER,
|
2009-03-11 18:28:37 +01:00
|
|
|
};
|
2008-08-06 03:09:59 +02:00
|
|
|
|
|
|
|
#endif
|