aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-12 23:45:57 -0400
committerPaul Gilbert2014-03-12 23:45:57 -0400
commit0df4d0aed1678f81cb75bb56cb2a1fc19603312c (patch)
tree69bf2b7826de6a962a91ab5c719c926af12f7198 /engines/mads/scene_data.h
parent408f5e79df5e8a33367fdf2a9c17b424953edace (diff)
downloadscummvm-rg350-0df4d0aed1678f81cb75bb56cb2a1fc19603312c.tar.gz
scummvm-rg350-0df4d0aed1678f81cb75bb56cb2a1fc19603312c.tar.bz2
scummvm-rg350-0df4d0aed1678f81cb75bb56cb2a1fc19603312c.zip
MADS: Fixed loading of scene depth surface for Rex Nebular
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r--engines/mads/scene_data.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h
index b8b2056c12..d5c7281fae 100644
--- a/engines/mads/scene_data.h
+++ b/engines/mads/scene_data.h
@@ -253,7 +253,12 @@ protected:
/**
* Loads the given surface with depth information of a given scene
*/
- virtual void loadCodes(MSurface &depthSurface);
+ virtual void loadCodes(MSurface &depthSurface) = 0;
+
+ /**
+ * Loads the given surface with depth information of a given scene
+ */
+ virtual void loadCodes(MSurface &depthSurface, Common::SeekableReadStream *stream) = 0;
public:
int _sceneId;
int _artFileNum;