diff options
author | Paul Gilbert | 2014-04-05 22:41:25 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-05 22:41:25 -0400 |
commit | ff7d2e2dbf60202cc24b26b1ac61c0e76e802191 (patch) | |
tree | c54249ca263e20ec7e2221ef9b7e2bcfc9f73d45 /engines/mads/scene_data.h | |
parent | 11403c5db6eac282e0e1f28623ac25ab95517792 (diff) | |
download | scummvm-rg350-ff7d2e2dbf60202cc24b26b1ac61c0e76e802191.tar.gz scummvm-rg350-ff7d2e2dbf60202cc24b26b1ac61c0e76e802191.tar.bz2 scummvm-rg350-ff7d2e2dbf60202cc24b26b1ac61c0e76e802191.zip |
MADS: Add missing scene codes variant handling
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r-- | engines/mads/scene_data.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h index 81c24ed8ab..2a6032a507 100644 --- a/engines/mads/scene_data.h +++ b/engines/mads/scene_data.h @@ -137,11 +137,6 @@ protected: * Constructor */ SceneInfo(MADSEngine *vm) : _vm(vm) {} - - /** - * Loads the given surface with depth information of a given scene - */ - virtual void loadCodes(MSurface &depthSurface) = 0; public: int _sceneId; int _artFileNum; @@ -173,11 +168,20 @@ public: /** loads the data */ - void load(int sceneId, int flags, const Common::String &resName, int v3, + void load(int sceneId, int variant, const Common::String &resName, int flags, MSurface &depthSurface, MSurface &bgSurface); /** * Loads the given surface with depth information of a given scene + * @param depthSurface Depth/walk surface + * @param variant Variant number to load + */ + virtual void loadCodes(MSurface &depthSurface, int variant) = 0; + + /** + * Loads the given surface with depth information of a given scene + * @param depthSurface Depth/walk surface + * @param stream Stream to load the data from */ virtual void loadCodes(MSurface &depthSurface, Common::SeekableReadStream *stream) = 0; }; |