aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r--engines/mads/scene_data.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h
index 2fcd3f9ae4..74a1ff8e68 100644
--- a/engines/mads/scene_data.h
+++ b/engines/mads/scene_data.h
@@ -215,6 +215,11 @@ public:
SceneLogic(Scene *scene): _scene(scene) {}
/**
+ * Destructor
+ */
+ virtual ~SceneLogic() {}
+
+ /**
* Called to initially setup a scene
*/
virtual void setup() = 0;
@@ -245,21 +250,13 @@ public:
virtual void postActions() = 0;
};
-struct RGB6 {
- byte r;
- byte g;
- byte b;
- byte unused[3];
-};
-
struct ARTHeader {
int _width;
int _height;
- int _palCount;
Common::Array<RGB6> _palette;
Common::Array<RGB4> _palData;
- void load(Common::SeekableReadStream &f);
+ void load(Common::SeekableReadStream *f);
};
/**
@@ -303,12 +300,6 @@ public:
const Common::String &resName, int v3, MSurface &depthSurface, MSurface &bgSurface);
};
-class ScenePalette {
-public:
- void clean(int *palCount);
- void process(int *palCount);
-};
-
} // End of namespace MADS
#endif /* MADS_SCENE_DATA_H */