aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-29 13:48:02 +0000
committerMartin Kiewitz2010-01-29 13:48:02 +0000
commitcaeafb29ffa0d45998dfafa7e8d431636f1dab60 (patch)
tree33bdd79df8572446d4c62f9bd90005c04a1fbe3c /engines/sci
parentb124a0c1cddf2b3de9b8357752b9a44b14c1f5c1 (diff)
downloadscummvm-rg350-caeafb29ffa0d45998dfafa7e8d431636f1dab60.tar.gz
scummvm-rg350-caeafb29ffa0d45998dfafa7e8d431636f1dab60.tar.bz2
scummvm-rg350-caeafb29ffa0d45998dfafa7e8d431636f1dab60.zip
SCI: little hack so that old views are erased in sci32
svn-id: r47667
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/gui.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp
index f0185c01ae..5d3362598f 100644
--- a/engines/sci/graphics/gui.cpp
+++ b/engines/sci/graphics/gui.cpp
@@ -951,6 +951,11 @@ void SciGui::frameOut() {
if (priority == -1)
continue;
+ int16 picNum = GET_SEL32V(_s->_segMan, planeObj, picture);
+ if (picNum > -1) {
+ drawPicture(picNum, 100, false, false, false, 0);
+ }
+
// FIXME: This code doesn't currently work properly because of the way we set up the
// view port. We are starting at 10 pixels from the top automatically. The offset should
// be based on the plane's top in SCI32 instead. Here we would be adding 10 to 10 and
@@ -991,6 +996,7 @@ void SciGui::frameOut() {
}
}
}
+ animateShowPic();
}
void SciGui::drawRobot(GuiResourceId robotId) {