Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _MAINMENU_H_
  2. #define _MAINMENU_H_
  3.  
  4. #include "brender/br_types.h"
  5. #include "dr_types.h"
  6.  
  7. extern char* gPalette_copy__mainmenu; // suffix added to avoid duplicate symbol
  8. extern int gPixel_buffer_size__mainmenu; // suffix added to avoid duplicate symbol
  9. extern tInterface_spec* gMain_menu_spec;
  10. extern int gMouse_was_started__mainmenu; // suffix added to avoid duplicate symbol
  11. extern int gReplace_background;
  12. extern char* gPixels_copy__mainmenu; // suffix added to avoid duplicate symbol
  13.  
  14. int MainMenuDone1(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);
  15.  
  16. int MainMenuDone2(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);
  17.  
  18. void StartMainMenu(void);
  19.  
  20. int DoMainMenuInterface(tU32 pTime_out, int pContinue_allowed);
  21.  
  22. tMM_result GetMainMenuOption(tU32 pTime_out, int pContinue_allowed);
  23.  
  24. void QuitVerifyStart(void);
  25.  
  26. int QuitVerifyDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out);
  27.  
  28. int DoVerifyQuit(int pReplace_background);
  29.  
  30. tMM_result DoMainMenu(tU32 pTime_out, int pSave_allowed, int pContinue_allowed);
  31.  
  32. void DoMainMenuScreen(tU32 pTime_out, int pSave_allowed, int pContinue_allowed);
  33.  
  34. #endif
  35.