2016-06-05 00:59:43 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* Visual Boy Advance GX
|
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
*
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _MENU_H
|
|
|
|
#define _MENU_H
|
|
|
|
|
|
|
|
#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);
|
|
|
|
int YesNoPrompt(const char *msg, bool yesDefault);
|
|
|
|
void ShowAction (const char *msg);
|
|
|
|
void CancelAction();
|
|
|
|
void ShowProgress (const char *msg, int done, int total);
|
2019-01-06 01:07:33 +01:00
|
|
|
void ChangeLanguage();
|
2016-06-05 00:59:43 +02:00
|
|
|
|
2019-01-06 18:19:03 +01:00
|
|
|
extern u8 * bg_music;
|
|
|
|
extern u32 bg_music_size;
|
|
|
|
|
2016-06-05 00:59:43 +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,
|
2016-12-10 21:47:27 +01:00
|
|
|
MENU_GAME_DELETE,
|
2016-06-05 00:59:43 +02:00
|
|
|
MENU_GAMESETTINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS,
|
|
|
|
MENU_GAMESETTINGS_MAPPINGS_MAP,
|
|
|
|
MENU_GAMESETTINGS_VIDEO,
|
|
|
|
MENU_GAMESETTINGS_CHEATS,
|
|
|
|
MENU_GAMESETTINGS_PALETTE,
|
|
|
|
MENU_SETTINGS_EMULATION
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|