Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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