22 #ifndef VCRUISE_MENU_H 23 #define VCRUISE_MENU_H 25 #include "common/array.h" 26 #include "common/ptr.h" 52 virtual void commitRect(
const Common::Rect &rect)
const = 0;
53 virtual bool popOSEvent(
OSEvent &evt)
const = 0;
56 virtual bool hasDefaultSave()
const = 0;
57 virtual bool hasAnySave()
const = 0;
58 virtual bool isInGame()
const = 0;
60 virtual void restartGame()
const = 0;
61 virtual void goToCredits()
const = 0;
62 virtual void changeMenu(
MenuPage *newPage)
const = 0;
63 virtual void quitGame()
const = 0;
64 virtual void quitToMenu()
const = 0;
65 virtual bool canSave()
const = 0;
66 virtual bool reloadFromCheckpoint()
const = 0;
67 virtual void setMusicMute(
bool muted)
const = 0;
81 virtual void onSettingsChanged();
87 MenuPage *createMenuMain(
bool isSchizm);
88 MenuPage *createMenuHelp(
bool isSchizm);
89 MenuPage *createMenuSound(
bool isSchizm);
90 MenuPage *createMenuQuit(
bool isSchizm);
91 MenuPage *createMenuPause(
bool isSchizm);
Definition: managed_surface.h:51
Definition: ad2044_items.h:27
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: runtime.h:581