[Scummvm-cvs-logs] SF.net SVN: scummvm:[47667] scummvm/trunk/engines/sci/graphics/gui.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Jan 29 14:48:03 CET 2010


Revision: 47667
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47667&view=rev
Author:   m_kiewitz
Date:     2010-01-29 13:48:02 +0000 (Fri, 29 Jan 2010)

Log Message:
-----------
SCI: little hack so that old views are erased in sci32

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/gui.cpp

Modified: scummvm/trunk/engines/sci/graphics/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gui.cpp	2010-01-29 11:05:06 UTC (rev 47666)
+++ scummvm/trunk/engines/sci/graphics/gui.cpp	2010-01-29 13:48:02 UTC (rev 47667)
@@ -951,6 +951,11 @@
 		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 @@
 			}
 		}
 	}
+	animateShowPic();
 }
 
 void SciGui::drawRobot(GuiResourceId robotId) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list