[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.45.2.2,1.45.2.3

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Mar 13 09:39:21 CET 2005


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29605/sword2/driver

Modified Files:
      Tag: branch-0-7-0
	animation.cpp 
Log Message:
Backported fixes to the "8-bit" version of the cutscene player. (It didn't
even compile, so it can't have been widely used.)


Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/animation.cpp,v
retrieving revision 1.45.2.2
retrieving revision 1.45.2.3
diff -u -d -r1.45.2.2 -r1.45.2.3
--- animation.cpp	13 Mar 2005 17:16:09 -0000	1.45.2.2
+++ animation.cpp	13 Mar 2005 17:38:36 -0000	1.45.2.3
@@ -190,12 +190,12 @@
 		return RD_OK;
 	}
 
-#ifndef BACKEND_8BIT
 	// Clear the screen, because whatever is on it will be visible when the
-	// overlay is removed.
-	_vm->_graphics->clearScene();
+	// overlay is removed. And if there isn't an overlay, we don't want it
+	// to be visible during the cutscene. (Not all cutscenes cover the
+	// entire screen.)
+	anim->clearScreen();
 	_vm->_graphics->updateDisplay();
-#endif
 
 #ifndef SCUMM_BIG_ENDIAN
 	flags |= SoundMixer::FLAG_LITTLE_ENDIAN;





More information about the Scummvm-git-logs mailing list