25 #include "common/scummsys.h" 26 #include "common/system.h" 27 #include "common/error.h" 28 #include "common/random.h" 29 #include "common/serializer.h" 30 #include "common/util.h" 31 #include "engines/engine.h" 32 #include "mm/xeen/combat.h" 33 #include "mm/xeen/debugger.h" 34 #include "mm/xeen/dialogs/dialogs.h" 35 #include "mm/xeen/events.h" 36 #include "mm/xeen/files.h" 37 #include "mm/xeen/interface.h" 38 #include "mm/xeen/locations.h" 39 #include "mm/xeen/map.h" 40 #include "mm/xeen/party.h" 41 #include "mm/xeen/patcher.h" 42 #include "mm/xeen/resources.h" 43 #include "mm/xeen/saves.h" 44 #include "mm/xeen/screen.h" 45 #include "mm/xeen/scripts.h" 46 #include "mm/xeen/sound.h" 47 #include "mm/xeen/spells.h" 48 #include "mm/xeen/window.h" 49 #include "mm/detection.h" 75 MODE_SCRIPT_IN_PROGRESS = 9,
76 MODE_CHARACTER_INFO = 10,
77 MODE_INTERACTIVE2 = 12,
79 MODE_INTERACTIVE7 = 17,
91 #define XEEN_SAVEGAME_VERSION 2 97 struct ExtendedOptions {
103 _showItemCosts(
false),
104 _durableArmor(
false),
126 void outerGameLoop();
158 virtual void death() = 0;
178 bool _noDirectionSense;
179 bool _startupWindowActive;
183 ExtendedOptions _extOptions;
185 CCArchive *_xeenCc =
nullptr, *_darkCc =
nullptr,
187 SaveArchive *_xeenSave =
nullptr, *_darkSave =
nullptr;
226 return _loadSaveSlot != -1;
271 virtual void dream() = 0;
bool shouldExit() const
Definition: xeen.h:218
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
bool isLoadPending() const
Definition: xeen.h:225
uint32 getGameFeatures() const
Definition: scripts.h:213
Definition: interface.h:97
Definition: debugger.h:33
virtual void showStartup()=0
int getRandomNumber(int maxNumber)
void GUIError(const Common::U32String &msg)
Definition: detection.h:27
Definition: cc_archive.h:51
virtual void showMainMenu()=0
Definition: detection.h:43
virtual void showCutscene(const Common::String &name, int status, uint score)
Definition: xeen.h:265
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
void syncSoundSettings() override
Common::Error loadGameState(int slot) override
Definition: resources.h:40
Definition: cc_archive.h:94
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
bool canSaveAutosaveCurrently() override
Definition: locations.h:381
uint32 getSpecificGameId() const