2008-08-06 01:09:59 +00:00
|
|
|
/****************************************************************************
|
2010-01-27 22:20:37 +00:00
|
|
|
* Snes9x Nintendo Wii/Gamecube Port
|
2008-08-06 01:09:59 +00:00
|
|
|
*
|
2010-01-27 22:20:37 +00:00
|
|
|
* Tantric 2008-2010
|
2008-09-12 05:28:40 +00:00
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
2008-08-06 01:09:59 +00:00
|
|
|
|
2010-04-01 21:34:35 +00:00
|
|
|
#ifndef _MENU_H_
|
|
|
|
#define _MENU_H_
|
2008-08-06 01:09:59 +00:00
|
|
|
|
2009-03-11 17:28:37 +00:00
|
|
|
#include <ogcsys.h>
|
|
|
|
|
|
|
|
void InitGUIThreads();
|
|
|
|
void MainMenu (int menuitem);
|
|
|
|
void ErrorPrompt(const char * msg);
|
2009-03-22 23:16:25 +00:00
|
|
|
int ErrorPromptRetry(const char * msg);
|
2009-03-11 17:28:37 +00:00
|
|
|
void InfoPrompt(const char * msg);
|
|
|
|
void ShowAction (const char *msg);
|
|
|
|
void CancelAction();
|
|
|
|
void ShowProgress (const char *msg, int done, int total);
|
2010-01-29 00:57:37 +00:00
|
|
|
void ResetText();
|
2009-03-11 17:28:37 +00: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-17 20:46:33 -07:00
|
|
|
MENU_GAME_DELETE,
|
2009-04-13 19:36:33 +00:00
|
|
|
MENU_GAMESETTINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_CTRL,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_GAMESETTINGS_VIDEO,
|
|
|
|
MENU_GAMESETTINGS_CHEATS
|
2009-03-11 17:28:37 +00:00
|
|
|
};
|
2008-08-06 01:09:59 +00:00
|
|
|
|
|
|
|
#endif
|