From 0df4d0aed1678f81cb75bb56cb2a1fc19603312c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 12 Mar 2014 23:45:57 -0400 Subject: MADS: Fixed loading of scene depth surface for Rex Nebular --- engines/mads/scene_data.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/mads/scene_data.h') 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; -- cgit v1.2.3