2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-09-12 07:28:40 +02:00
|
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* softdev July 2006
|
2008-09-12 07:28:40 +02:00
|
|
|
* crunchy2 May-June 2007
|
2008-09-23 06:13:33 +02:00
|
|
|
* Michniewski 2008
|
2008-09-12 07:28:40 +02:00
|
|
|
* Tantric August 2008
|
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
2008-08-06 03:09:59 +02:00
|
|
|
|
|
|
|
#ifndef _NGCMENU_
|
|
|
|
#define _NGCMENU_
|
|
|
|
|
2009-03-11 18:28:37 +01:00
|
|
|
#include <ogcsys.h>
|
|
|
|
|
|
|
|
void InitGUIThreads();
|
|
|
|
void MainMenu (int menuitem);
|
|
|
|
void ErrorPrompt(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 ShutoffRumble();
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
MENU_EXIT = -1,
|
|
|
|
MENU_NONE,
|
|
|
|
MENU_SETTINGS,
|
|
|
|
MENU_SETTINGS_MAPPINGS,
|
|
|
|
MENU_SETTINGS_MAPPINGS_CTRL,
|
|
|
|
MENU_SETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_SETTINGS_VIDEO,
|
|
|
|
MENU_SETTINGS_FILE,
|
|
|
|
MENU_SETTINGS_MENU,
|
|
|
|
MENU_SETTINGS_NETWORK,
|
|
|
|
MENU_GAMESELECTION,
|
|
|
|
MENU_GAME,
|
|
|
|
MENU_GAME_SAVE,
|
|
|
|
MENU_GAME_LOAD,
|
|
|
|
MENU_GAME_CHEATS
|
|
|
|
};
|
2008-08-06 03:09:59 +02:00
|
|
|
|
|
|
|
#endif
|