31 #include "common/random.h" 32 #include "common/system.h" 33 #include "common/text-to-speech.h" 35 #include "graphics/pixelformat.h" 37 #include "engines/engine.h" 39 #include "gob/console.h" 40 #include "gob/detection/detection.h" 113 #define WRITE_VAR_UINT32(var, val) _vm->_inter->_variables->writeVar32(var, val) 114 #define WRITE_VAR_UINT16(var, val) _vm->_inter->_variables->writeVar16(var, val) 115 #define WRITE_VAR_UINT8(var, val) _vm->_inter->_variables->writeVar8(var, val) 116 #define WRITE_VAR_STR(var, str) _vm->_inter->_variables->writeVarString(var, str) 117 #define WRITE_VARO_UINT32(off, val) _vm->_inter->_variables->writeOff32(off, val) 118 #define WRITE_VARO_UINT16(off, val) _vm->_inter->_variables->writeOff16(off, val) 119 #define WRITE_VARO_UINT8(off, val) _vm->_inter->_variables->writeOff8(off, val) 120 #define WRITE_VARO_STR(off, str) _vm->_inter->_variables->writeOffString(off, str) 121 #define READ_VAR_UINT32(var) _vm->_inter->_variables->readVar32(var) 122 #define READ_VAR_UINT16(var) _vm->_inter->_variables->readVar16(var) 123 #define READ_VAR_UINT8(var) _vm->_inter->_variables->readVar8(var) 124 #define READ_VARO_UINT32(off) _vm->_inter->_variables->readOff32(off) 125 #define READ_VARO_UINT16(off) _vm->_inter->_variables->readOff16(off) 126 #define READ_VARO_UINT8(off) _vm->_inter->_variables->readOff8(off) 127 #define GET_VAR_STR(var) _vm->_inter->_variables->getAddressVarString(var) 128 #define GET_VARO_STR(off) _vm->_inter->_variables->getAddressOffString(off) 129 #define GET_VAR_FSTR(var) _vm->_inter->_variables->getAddressVarString(var) 130 #define GET_VARO_FSTR(off) _vm->_inter->_variables->getAddressOffString(off) 132 #define WRITE_VAR_OFFSET(off, val) WRITE_VARO_UINT32((off), (val)) 133 #define WRITE_VAR(var, val) WRITE_VAR_UINT32((var), (val)) 134 #define VAR_OFFSET(off) READ_VARO_UINT32(off) 135 #define VAR(var) READ_VAR_UINT32(var) 144 enum EndiannessMethod {
147 kEndiannessMethodSystem,
148 kEndiannessMethodAltFile
173 EndiannessMethod _endiannessMethod;
180 void pauseEngineIntern(
bool pause)
override;
181 void syncSoundSettings()
override;
186 void deinitGameParts();
204 bool _copyProtection;
209 bool _resourceSizeWorkaround;
210 bool _enableAdibou2FreeBananasWorkaround;
211 bool _enableAdibou2FlowersInfiniteLoopWorkaround;
232 bool _weenVoiceNotepad;
233 Common::CodePage _ttsEncoding;
236 const char *getLangDesc(int16 language)
const;
237 void validateLanguage();
238 void validateVideoMode(int16 videoMode);
243 void sayText(
const Common::String &text, Common::TextToSpeechManager::Action action = Common::TextToSpeechManager::INTERRUPT)
const;
244 void stopTextToSpeech()
const;
247 EndiannessMethod getEndiannessMethod()
const;
248 Endianness getEndianness()
const;
250 GameType getGameType()
const;
253 bool hasAdLib()
const;
254 bool isSCNDemo()
const;
255 bool isBATDemo()
const;
256 bool is640x400()
const;
257 bool is640x480()
const;
258 bool is800x600()
const;
259 bool is16Colors()
const;
260 bool isTrueColor()
const;
263 bool hasResourceSizeWorkaround()
const;
275 GameType getGameType(
const char *gameId)
const;
const char * getGameVersion() const
bool dirMustBeGameAddOn(const Common::FSDirectory &dir) const override
EngineFeature
Definition: engine.h:260
bool dirCanBeGameAddOn(const Common::FSDirectory &dir) const override
Definition: double_serialization.h:36
bool gameTypeHasAddOns() const override
Definition: saveload.h:39
Definition: avi_frames.h:36
Definition: detection.h:86
Definition: videoplayer.h:50
Language
Definition: language.h:45