diff options
author | Paul Gilbert | 2014-02-28 20:37:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-28 20:37:42 -0500 |
commit | badb8d97444767b7d8fea0f877ac044249696a5f (patch) | |
tree | bc3d5b66b4c0803080b92b0103c389097e72bf60 /engines/mads/scene_data.h | |
parent | c49d7196fcabf18d9e97711f67b864808ca7848a (diff) | |
download | scummvm-rg350-badb8d97444767b7d8fea0f877ac044249696a5f.tar.gz scummvm-rg350-badb8d97444767b7d8fea0f877ac044249696a5f.tar.bz2 scummvm-rg350-badb8d97444767b7d8fea0f877ac044249696a5f.zip |
MADS: More work implementing scene info loading
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r-- | engines/mads/scene_data.h | 21 |
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 */ |