25#include "common/scummsys.h"
26#include "common/system.h"
27#include "common/text-to-speech.h"
28#include "common/error.h"
29#include "common/random.h"
30#include "common/serializer.h"
31#include "common/util.h"
32#include "engines/engine.h"
33#include "mm/xeen/combat.h"
34#include "mm/xeen/debugger.h"
35#include "mm/xeen/dialogs/dialogs.h"
36#include "mm/xeen/events.h"
37#include "mm/xeen/files.h"
38#include "mm/xeen/interface.h"
39#include "mm/xeen/locations.h"
40#include "mm/xeen/map.h"
41#include "mm/xeen/party.h"
42#include "mm/xeen/patcher.h"
43#include "mm/xeen/resources.h"
44#include "mm/xeen/saves.h"
45#include "mm/xeen/screen.h"
46#include "mm/xeen/scripts.h"
47#include "mm/xeen/sound.h"
48#include "mm/xeen/spells.h"
49#include "mm/xeen/window.h"
50#include "mm/detection.h"
76 MODE_SCRIPT_IN_PROGRESS = 9,
77 MODE_CHARACTER_INFO = 10,
78 MODE_INTERACTIVE2 = 12,
80 MODE_INTERACTIVE7 = 17,
105#define XEEN_SAVEGAME_VERSION 2
111 struct ExtendedOptions {
117 _showItemCosts(
false),
118 _durableArmor(
false),
140 void outerGameLoop();
192 bool _noDirectionSense;
193 bool _startupWindowActive;
197 ExtendedOptions _extOptions;
200 TTSLanguage _ttsLanguage;
201 Common::CodePage _ttsTextEncoding;
204 CCArchive *_xeenCc =
nullptr, *_darkCc =
nullptr,
206 SaveArchive *_xeenSave =
nullptr, *_darkSave =
nullptr;
245 return _loadSaveSlot != -1;
312 void sayText(
const Common::String &text, Common::TextToSpeechManager::Action action = Common::TextToSpeechManager::QUEUE_NO_REPEAT)
const;
Definition: cc_archive.h:51
Definition: cc_archive.h:94
Definition: debugger.h:33
Definition: interface.h:98
Definition: locations.h:454
Definition: resources.h:40
Definition: scripts.h:213
virtual void showStartup()=0
uint32 getSpecificGameId() const
void GUIError(const Common::U32String &msg)
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
virtual void showMainMenu()=0
bool isLoadPending() const
Definition: xeen.h:244
int getRandomNumber(int minNumber, int maxNumber)
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
virtual void showCutscene(const Common::String &name, int status, uint score)
Definition: xeen.h:284
bool canSaveAutosaveCurrently() override
void sayText(const Common::String &text, Common::TextToSpeechManager::Action action=Common::TextToSpeechManager::QUEUE_NO_REPEAT) const
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
Common::Error loadGameState(int slot) override
int getRandomNumber(int maxNumber)
void stopTextToSpeech() const
uint32 getGameFeatures() const
Common::U32String convertSpanishText(const Common::String &text) const
bool shouldExit() const
Definition: xeen.h:237
void syncSoundSettings() override
Definition: detection.h:27
Definition: detection.h:43