2008-09-16 07:42:21 +02:00
|
|
|
/****************************************************************************
|
2008-09-17 04:27:55 +02:00
|
|
|
* Visual Boy Advance GX
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
2008-09-17 04:27:55 +02:00
|
|
|
* Tantric September 2008
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _NGCMENU_
|
|
|
|
#define _NGCMENU_
|
|
|
|
|
2009-04-08 09:08:12 +02:00
|
|
|
#include <ogcsys.h>
|
|
|
|
#include "gui/gui.h"
|
|
|
|
|
|
|
|
extern GuiImageData * pointer[4];
|
|
|
|
|
|
|
|
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);
|
2010-01-29 01:58:31 +01:00
|
|
|
void ResetText();
|
2009-04-08 09:08:12 +02: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,
|
2009-04-14 07:24:01 +02:00
|
|
|
MENU_GAMESETTINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_GAMESETTINGS_VIDEO,
|
2009-05-27 19:31:18 +02:00
|
|
|
MENU_GAMESETTINGS_CHEATS,
|
|
|
|
MENU_GAMESETTINGS_PALETTE
|
2009-04-08 09:08:12 +02:00
|
|
|
};
|
2008-09-16 07:42:21 +02:00
|
|
|
|
|
|
|
#endif
|