aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-25 13:23:05 -0400
committerPaul Gilbert2014-05-25 13:23:05 -0400
commitea19581ae30bed434da8c9426c7b6defd702fc88 (patch)
treebe063cdce22a8011d6570ed10644aee25ee3fdb0 /engines/mads/scene.cpp
parentce5c2f3e28cf7f7be5d2aa477d9610df04a126eb (diff)
downloadscummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.tar.gz
scummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.tar.bz2
scummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.zip
MADS: Standardised on passing depth surfaces as DepthSurface
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 944c082817..13913030df 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -176,7 +176,7 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) {
flags |= ANIMFLAG_LOAD_BACKGROUND_ONLY;
_animationData = Animation::init(_vm, this);
- MSurface depthSurface;
+ DepthSurface depthSurface(_vm);
_animationData->load(_userInterface, depthSurface, prefix, flags, nullptr, nullptr);
_vm->_palette->_paletteUsage.load(&_scenePaletteUsage);
@@ -592,7 +592,7 @@ void Scene::checkKeyboard() {
void Scene::loadAnimation(const Common::String &resName, int trigger) {
assert(_activeAnimation == nullptr);
- MSurface depthSurface;
+ DepthSurface depthSurface(_vm);
UserInterface interfaceSurface(_vm);
_activeAnimation = Animation::init(_vm, this);