#ifndef _MAINMENU_H_
#define _MAINMENU_H_

#include "dr_types.h"

extern char* gPalette_copy__mainmenu;    // suffix added to avoid duplicate symbol
extern int gPixel_buffer_size__mainmenu; // suffix added to avoid duplicate symbol
extern tInterface_spec* gMain_menu_spec;
extern int gMouse_was_started__mainmenu; // suffix added to avoid duplicate symbol
extern int gReplace_background;
extern char* gPixels_copy__mainmenu; // suffix added to avoid duplicate symbol

int MainMenuDone1(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);

int MainMenuDone2(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);

void StartMainMenu(void);

int DoMainMenuInterface(tU32 pTime_out, int pContinue_allowed);

tMM_result GetMainMenuOption(tU32 pTime_out, int pContinue_allowed);

void QuitVerifyStart(void);

int QuitVerifyDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);

int DoVerifyQuit(int pReplace_background);

tMM_result DoMainMenu(tU32 pTime_out, int pSave_allowed, int pContinue_allowed);

void DoMainMenuScreen(tU32 pTime_out, int pSave_allowed, int pContinue_allowed);

#endif
