25 #include "engines/engine.h" 27 #include "common/util.h" 28 #include "common/random.h" 29 #include "sci/engine/vm_types.h" 30 #include "sci/debug.h" 31 #include "sci/detection.h" 49 class ResourceManager;
55 class SoundCommandParser;
66 class GfxCoordAdjuster16;
68 class GfxMacFontManager;
88 class GfxTransitions32;
94 kDebugLevelError = 1 << 0,
95 kDebugLevelNodes = 1 << 1,
96 kDebugLevelGraphics = 1 << 2,
97 kDebugLevelStrings = 1 << 3,
98 kDebugLevelMemory = 1 << 4,
99 kDebugLevelFuncCheck = 1 << 5,
100 kDebugLevelBresen = 1 << 6,
101 kDebugLevelSound = 1 << 7,
102 kDebugLevelBaseSetter = 1 << 8,
103 kDebugLevelParser = 1 << 9,
104 kDebugLevelSaid = 1 << 10,
105 kDebugLevelFile = 1 << 11,
106 kDebugLevelTime = 1 << 12,
107 kDebugLevelRoom = 1 << 13,
108 kDebugLevelAvoidPath = 1 << 14,
109 kDebugLevelDclInflate = 1 << 15,
110 kDebugLevelVM = 1 << 16,
111 kDebugLevelScripts = 1 << 17,
112 kDebugLevelGC = 1 << 18,
113 kDebugLevelResMan = 1 << 19,
114 kDebugLevelOnStartup = 1 << 20,
115 kDebugLevelDebugMode = 1 << 21,
116 kDebugLevelPatcher = 1 << 22,
117 kDebugLevelWorkarounds = 1 << 23,
118 kDebugLevelVideo = 1 << 24,
119 kDebugLevelGame = 1 << 25
131 K_LANG_JAPANESE = 81,
132 K_LANG_PORTUGUESE = 351
152 void updateSoundMixerVolumes();
153 uint32 getTickCount();
154 void setTickCount(
const uint32 ticks);
155 void errorString(
const char *buf1,
char *buf2,
int size)
override;
184 const SciGameId &getGameId()
const {
return _gameId; }
185 const char *getGameIdStr()
const;
199 bool useHiresGraphics()
const;
207 bool hasParser()
const;
223 inline ScriptPatcher *getScriptPatcher()
const {
return _scriptPatcher; }
224 inline Kernel *getKernel()
const {
return _kernel; }
225 inline EngineState *getEngineState()
const {
return _gamestate; }
226 inline Vocabulary *getVocabulary()
const {
return _vocabulary; }
227 inline EventManager *getEventManager()
const {
return _eventMan; }
228 inline reg_t getGameObject()
const {
return _gameObjectAddress; }
261 void sleep(uint32 msecs);
264 bool checkExportBreakpoint(uint16 script, uint16 pubfunct);
266 bool checkAddressBreakpoint(
const reg_t &address);
283 Common::String strSplit(
const char *str,
const char *sep =
"\r----------\r") {
289 void setSciLanguage();
294 void checkVocabularySwitch();
301 void suggestDownloadGK2SubTitlesPatch();
342 opcode_format (*_opcode_formats)[4];
345 uint32 _speedThrottleDelay;
375 void initStackBaseWithSelector(Selector selector);
383 void loadMacExecutable();
403 bool gameHasFanMadePatch();
409 void setLauncherLanguage();
412 const SciGameId _gameId;
418 int16 _vocabularyLanguage;
420 reg_t _gameObjectAddress;
424 bool _useHiresGraphics;
Definition: frameout.h:42
Definition: macresman.h:125
BreakpointType
Definition: debug.h:31
Common::String getFilePrefix() const
EngineFeature
Definition: engine.h:253
bool isLanguageRTL() const
Definition: advancedDetector.h:163
Definition: remap32.h:234
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
int getAutosaveSlot() const override
Definition: sci.h:182
Common::Error run() override
void syncSoundSettings() override
from ScummVM to the game
Definition: vocabulary.h:189
bool hasFeature(EngineFeature f) const override
void showQfgImportMessageBox() const
Common::String wrapFilename(const Common::String &name) const
Common::Error loadGameState(int slot) override
Definition: resource.h:327
Definition: audio32.h:174
Common::String unwrapFilename(const Common::String &name) const
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
bool hasMacSaveRestoreDialogs() const
Definition: palette32.h:234
Definition: coordadjuster.h:37
kDebugLevels
Definition: sci.h:93
Common::Platform getPlatform() const
const char * getGameObjectName()
kLanguage
Definition: sci.h:124
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: script_patches.h:91
void pauseEngineIntern(bool pause) override
Definition: controls16.h:53
Definition: guest_additions.h:62
Definition: transitions32.h:215
void initGraphics(int width, int height)
Definition: controls32.h:389
Common::String strSplitLanguage(const char *str, uint16 *splitLanguage, const char *sep="\---------\)
bool hasMacIconBar() const
Definition: soundcmd.h:36
Definition: maciconbar.h:36
Definition: transitions.h:62
Definition: features.h:56
Definition: vm_types.h:39
int inQfGImportRoom() const
void errorString(const char *buf1, char *buf2, int size) override
Definition: video32.h:792
Definition: cursor32.h:34
Language
Definition: language.h:45