aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-09-23 14:29:26 +0000
committerTorbjörn Andersson2005-09-23 14:29:26 +0000
commit1897e6046ba105d03c164c24b991558754db92fc (patch)
tree96aeca8d9617bc993927de5a0f7ba3bf0a5b0c27 /saga/scene.cpp
parent843399b9e8ca0faa2426a683c36898c9bb37ce21 (diff)
downloadscummvm-rg350-1897e6046ba105d03c164c24b991558754db92fc.tar.gz
scummvm-rg350-1897e6046ba105d03c164c24b991558754db92fc.tar.bz2
scummvm-rg350-1897e6046ba105d03c164c24b991558754db92fc.zip
Experimental loading of the cutaway list. Next step will be to get ScummVM
to actually *play* the cutaways. I'll look into that later. svn-id: r18865
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r--saga/scene.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp
index ae8104a924..dd58ba67cb 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -478,12 +478,6 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy
loadScene(&sceneParams);
}
-void Scene::freeCutawayList() {
- // TODO
- // It has to be in different class
- warning("STUB: freeCutawayList()");
-}
-
void Scene::getSlopes(int &beginSlope, int &endSlope) {
beginSlope = _vm->getSceneHeight() - _sceneDescription.beginSlope;
endSlope = _vm->getSceneHeight() - _sceneDescription.endSlope;
@@ -608,7 +602,7 @@ void Scene::loadScene(LoadSceneParams *loadSceneParams) {
if (loadSceneParams->chapter == 6)
_vm->_interface->setLeftPortrait(0);
- freeCutawayList();
+ _vm->_anim->freeCutawayList();
_vm->_script->freeModules();
// deleteAllScenes();