22 #ifndef ACCESS_ACCESS_H 23 #define ACCESS_ACCESS_H 25 #include "common/scummsys.h" 26 #include "common/system.h" 27 #include "common/error.h" 28 #include "common/random.h" 29 #include "common/savefile.h" 30 #include "common/serializer.h" 31 #include "common/util.h" 33 #include "engines/engine.h" 35 #include "graphics/surface.h" 37 #include "access/animation.h" 38 #include "access/bubble_box.h" 39 #include "access/char.h" 40 #include "access/data.h" 41 #include "access/events.h" 42 #include "access/files.h" 43 #include "access/font.h" 44 #include "access/inventory.h" 45 #include "access/player.h" 46 #include "access/resources.h" 47 #include "access/room.h" 48 #include "access/screen.h" 49 #include "access/scripts.h" 50 #include "access/sound.h" 51 #include "access/video.h" 52 #include "access/detection.h" 64 enum AccessDebugChannels {
66 kDebugScripts = 1 << 1,
67 kDebugGraphics = 1 << 2,
71 extern const char *
const _estTable[];
73 #define ACCESS_SAVEGAME_VERSION 1 79 int _year, _month, _day;
86 uint32 _lastTime, _curTime;
120 virtual void playGame() = 0;
154 bool _establishTable[100];
158 int _establishCtrlTblOfs;
169 uint8 _playerDataCount;
172 bool _currentCharFlag;
175 int _scaleH1, _scaleH2;
180 int _scrollX, _scrollY;
181 int _scrollCol, _scrollRow;
203 int _startTravelItem;
219 bool _clearSummaryFlag;
231 virtual void dead(
int deathId) = 0;
233 uint32 getFeatures()
const;
238 uint16 getVersion()
const;
239 uint32 getGameID()
const;
240 uint32 getGameFeatures()
const;
241 bool shouldQuitOrRestart();
243 int getRandomNumber(
int maxNumber);
252 virtual void establish(
int esatabIndex,
int sub) = 0;
303 void SPRINTCHR(
char c,
int fontNum);
Definition: detection.h:35
Definition: asurface.h:168
Definition: resources.h:44
Definition: inventory.h:53
EngineFeature
Definition: engine.h:253
Definition: savefile.h:54
Definition: serializer.h:79
Definition: asurface.h:42
Definition: asurface.h:138
bool skipThumbnail(Common::SeekableReadStream &in)
Definition: animation.h:38
Definition: asurface.h:121
Definition: bubble_box.h:40
Language
Definition: language.h:45