25#include "engines/engine.h"
27#include "common/util.h"
28#include "common/random.h"
29#include "sci/engine/vm_types.h"
31#include "sci/detection.h"
55class SoundCommandParser;
66class GfxCoordAdjuster16;
68class GfxMacFontManager;
88class GfxTransitions32;
102 kDebugLevelBaseSetter,
108 kDebugLevelAvoidPath,
109 kDebugLevelDclImplode,
114 kDebugLevelOnStartup,
115 kDebugLevelDebugMode,
117 kDebugLevelWorkarounds,
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; }
264 bool checkExportBreakpoint(uint16 script, uint16 pubfunct);
266 bool checkAddressBreakpoint(
const reg_t &address);
289 void setSciLanguage();
294 void checkVocabularySwitch();
338 opcode_format (*_opcode_formats)[4];
341 uint32 _speedThrottleDelay;
371 void initStackBaseWithSelector(Selector selector);
379 void loadMacExecutable();
399 bool gameHasFanMadePatch();
405 void setLauncherLanguage();
408 const SciGameId _gameId;
409 ResourceManager *_resMan;
410 ScriptPatcher *_scriptPatcher;
411 EngineState *_gamestate;
413 Vocabulary *_vocabulary;
414 int16 _vocabularyLanguage;
415 EventManager *_eventMan;
416 reg_t _gameObjectAddress;
420 bool _useHiresGraphics;
430extern SciEngine *
g_sci;
Definition: macresman.h:126
EngineFeature
Definition: engine.h:282
Definition: audio32.h:174
Definition: features.h:56
Definition: controls16.h:53
Definition: controls32.h:389
Definition: coordadjuster.h:37
Definition: cursor32.h:34
Definition: frameout.h:43
Definition: maciconbar.h:36
Definition: palette32.h:234
Definition: palette16.h:41
Definition: remap32.h:234
Definition: transitions32.h:215
Definition: transitions.h:62
Definition: guest_additions.h:62
Definition: resource.h:327
Common::String wrapFilename(const Common::String &name) const
bool hasMacSaveRestoreDialogs() const
bool isLanguageRTL() const
int getAutosaveSlot() const override
Definition: sci.h:182
Common::String unwrapFilename(const Common::String &name) const
void showQfgImportMessageBox() const
void syncSoundSettings() override
from ScummVM to the game
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
int inQfGImportRoom() const
const char * getGameObjectName()
Common::String strSplitLanguage(const char *str, uint16 *splitLanguage, const char *sep)
void errorString(const char *buf1, char *buf2, int size) override
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
bool hasMacIconBar() const
Common::Error loadGameState(int slot) override
Common::Platform getPlatform() const
Common::String getFilePrefix() const
bool hasFeature(EngineFeature f) const override
void pauseEngineIntern(bool pause) override
Common::Error run() override
Definition: script_patches.h:91
Definition: soundcmd.h:36
Definition: video32.h:787
Language
Definition: language.h:45
void initGraphics(int width, int height)
kLanguage
Definition: sci.h:124
kDebugLevels
Definition: sci.h:93
BreakpointType
Definition: debug.h:31
Definition: advancedDetector.h:164
Definition: vm_types.h:39