22 #ifndef MADS_SCENE_DATA_H 23 #define MADS_SCENE_DATA_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/serializer.h" 28 #include "common/str.h" 29 #include "common/str-array.h" 30 #include "common/rect.h" 31 #include "mads/action.h" 32 #include "mads/assets.h" 33 #include "mads/events.h" 34 #include "mads/game_data.h" 35 #include "mads/hotspots.h" 36 #include "mads/messages.h" 37 #include "mads/rails.h" 38 #include "mads/user_interface.h" 46 #define MADS_INTERFACE_HEIGHT 44 47 #define MADS_SCENE_HEIGHT 156 49 #define DEPTH_BANDS_SIZE 15 51 #define SPRITE_SLOTS_MAX_SIZE 50 52 #define TEXT_DISPLAY_MAX_SIZE 40 53 #define DIRTY_AREAS_SIZE (SPRITE_SLOTS_MAX_SIZE + TEXT_DISPLAY_MAX_SIZE) 56 SCENEFLAG_DITHER = 0x01,
57 SCENEFLAG_LOAD_SHADOW = 0x10,
58 SCENEFLAG_TRANSLATE = 0x10000
68 VerbInit(
int id, VerbType verbType, PrepType prepType)
69 : _id(
id), _verbType(verbType), _prepType(prepType) {
91 virtual void setup() = 0;
96 virtual void enter() = 0;
111 virtual void actions() = 0;
170 int _depthList[DEPTH_BANDS_SIZE];
190 void load(
int sceneId,
int variant,
const Common::String &resName,
int flags,
213 virtual void loadCodes(
BaseSurface &depthSurface,
int variant) = 0;
virtual ~SceneLogic()
Definition: scene_data.h:86
Definition: msurface.h:55
Definition: scene_data.h:61
virtual void synchronize(Common::Serializer &s)
Definition: scene_data.h:126
virtual void preActions()
Definition: scene_data.h:106
Definition: serializer.h:79
virtual void postActions()
Definition: scene_data.h:116
Definition: msurface.h:184
Definition: scene_data.h:141
Definition: scene_data.h:73
virtual ~SceneInfo()
Definition: scene_data.h:180
virtual void unhandledAction()
Definition: scene_data.h:121
virtual void step()
Definition: scene_data.h:101