22 #ifndef SHERLOCK_SCENE_H 23 #define SHERLOCK_SCENE_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/rect.h" 28 #include "common/serializer.h" 29 #include "sherlock/objects.h" 30 #include "sherlock/resources.h" 31 #include "sherlock/screen.h" 54 byte _palette[PALETTE_SIZE];
121 int indexOf(
const Object &obj)
const;
137 WalkArray() : _pointsCount(0), _fileOffset(-1) {}
150 void loadSceneSounds();
156 void checkSceneStatus();
163 void checkInventory();
169 void transitionToScene();
175 void saveSceneStatus();
196 virtual void checkBgShapes();
201 virtual void drawAllShapes() = 0;
216 int _invGraphicItems;
224 int _walkDirectory[MAX_ZONES][MAX_ZONES];
236 int _cAnimFramePause;
251 void checkSceneFlags(
bool mode);
278 virtual void freeScene();
299 virtual void doBgAnim() = 0;
305 virtual void updateBackground();
315 virtual int startCAnim(
int cAnimNum,
int playRate = 1) = 0;
virtual void paletteLoaded()
Definition: scene.h:206
Definition: objects.h:120
Definition: animation.h:29
Definition: serializer.h:79
Definition: sherlock.h:76
Definition: objects.h:363