31 #include "common/random.h" 32 #include "common/system.h" 34 #include "graphics/pixelformat.h" 36 #include "engines/engine.h" 38 #include "gob/console.h" 39 #include "gob/detection/detection.h" 110 #define WRITE_VAR_UINT32(var, val) _vm->_inter->_variables->writeVar32(var, val) 111 #define WRITE_VAR_UINT16(var, val) _vm->_inter->_variables->writeVar16(var, val) 112 #define WRITE_VAR_UINT8(var, val) _vm->_inter->_variables->writeVar8(var, val) 113 #define WRITE_VAR_STR(var, str) _vm->_inter->_variables->writeVarString(var, str) 114 #define WRITE_VARO_UINT32(off, val) _vm->_inter->_variables->writeOff32(off, val) 115 #define WRITE_VARO_UINT16(off, val) _vm->_inter->_variables->writeOff16(off, val) 116 #define WRITE_VARO_UINT8(off, val) _vm->_inter->_variables->writeOff8(off, val) 117 #define WRITE_VARO_STR(off, str) _vm->_inter->_variables->writeOffString(off, str) 118 #define READ_VAR_UINT32(var) _vm->_inter->_variables->readVar32(var) 119 #define READ_VAR_UINT16(var) _vm->_inter->_variables->readVar16(var) 120 #define READ_VAR_UINT8(var) _vm->_inter->_variables->readVar8(var) 121 #define READ_VARO_UINT32(off) _vm->_inter->_variables->readOff32(off) 122 #define READ_VARO_UINT16(off) _vm->_inter->_variables->readOff16(off) 123 #define READ_VARO_UINT8(off) _vm->_inter->_variables->readOff8(off) 124 #define GET_VAR_STR(var) _vm->_inter->_variables->getAddressVarString(var) 125 #define GET_VARO_STR(off) _vm->_inter->_variables->getAddressOffString(off) 126 #define GET_VAR_FSTR(var) _vm->_inter->_variables->getAddressVarString(var) 127 #define GET_VARO_FSTR(off) _vm->_inter->_variables->getAddressOffString(off) 129 #define WRITE_VAR_OFFSET(off, val) WRITE_VARO_UINT32((off), (val)) 130 #define WRITE_VAR(var, val) WRITE_VAR_UINT32((var), (val)) 131 #define VAR_OFFSET(off) READ_VARO_UINT32(off) 132 #define VAR(var) READ_VAR_UINT32(var) 149 kDebugFuncOp = 1 << 0,
150 kDebugDrawOp = 1 << 1,
151 kDebugGobOp = 1 << 2,
152 kDebugSound = 1 << 3,
153 kDebugExpression = 1 << 4,
154 kDebugGameFlow = 1 << 5,
155 kDebugFileIO = 1 << 6,
156 kDebugSaveLoad = 1 << 7,
157 kDebugGraphics = 1 << 8,
158 kDebugVideo = 1 << 9,
159 kDebugHotspots = 1 << 10,
176 void pauseEngineIntern(
bool pause)
override;
177 void syncSoundSettings()
override;
182 void deinitGameParts();
200 bool _copyProtection;
205 bool _resourceSizeWorkaround;
206 bool _enableAdibou2FreeBananasWorkaround;
207 bool _enableAdibou2FlowersInfiniteLoopWorkaround;
227 const char *getLangDesc(int16 language)
const;
228 void validateLanguage();
229 void validateVideoMode(int16 videoMode);
234 Endianness getEndianness()
const;
236 GameType getGameType()
const;
239 bool hasAdLib()
const;
240 bool isSCNDemo()
const;
241 bool isBATDemo()
const;
242 bool is640x400()
const;
243 bool is640x480()
const;
244 bool is800x600()
const;
245 bool is16Colors()
const;
246 bool isTrueColor()
const;
249 bool hasResourceSizeWorkaround()
const;
253 void setTrueColor(
bool trueColor);
261 GameType getGameType(
const char *gameId)
const;
EngineFeature
Definition: engine.h:253
EndiannessMethod
Definition: gob.h:141
Different endianness in alternate file.
Definition: gob.h:145
Definition: double_serialization.h:36
Follows system endianness.
Definition: gob.h:144
Always little endian.
Definition: gob.h:142
Definition: saveload.h:39
Definition: avi_frames.h:36
Definition: detection.h:86
Definition: videoplayer.h:50
Language
Definition: language.h:45
Always big endian.
Definition: gob.h:143