[Scummvm-cvs-logs] SF.net SVN: scummvm: [29133] scummvm/trunk/engines/touche

cyx at users.sourceforge.net cyx at users.sourceforge.net
Sat Sep 29 21:14:38 CEST 2007


Revision: 29133
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29133&view=rev
Author:   cyx
Date:     2007-09-29 12:14:38 -0700 (Sat, 29 Sep 2007)

Log Message:
-----------
don't update the screen directly after a gamestate load ; keychars and room background are now redrawn on the same frame (bug #1751226)

Modified Paths:
--------------
    scummvm/trunk/engines/touche/saveload.cpp
    scummvm/trunk/engines/touche/touche.cpp

Modified: scummvm/trunk/engines/touche/saveload.cpp
===================================================================
--- scummvm/trunk/engines/touche/saveload.cpp	2007-09-29 19:13:04 UTC (rev 29132)
+++ scummvm/trunk/engines/touche/saveload.cpp	2007-09-29 19:14:38 UTC (rev 29133)
@@ -328,7 +328,7 @@
 	  _backdropBuffer, _currentBitmapWidth, _flagsTable[614], _flagsTable[615],
 	  kScreenWidth, kRoomHeight);
 	updateRoomRegions();
-	updateEntireScreen();
+	_fullRedrawCounter = 1;
 	_roomNeedRedraw = false;
 	if (_flagsTable[617] != 0) {
 		res_loadSpeech(_flagsTable[617]);

Modified: scummvm/trunk/engines/touche/touche.cpp
===================================================================
--- scummvm/trunk/engines/touche/touche.cpp	2007-09-29 19:13:04 UTC (rev 29132)
+++ scummvm/trunk/engines/touche/touche.cpp	2007-09-29 19:14:38 UTC (rev 29133)
@@ -55,7 +55,6 @@
 
 	_processRandomPaletteCounter = 0;
 
-	_roomNeedRedraw = false;
 	_fastWalkMode = false;
 	_fastMode = false;
 
@@ -63,7 +62,7 @@
 	_objectDescriptionNum = 0;
 	_speechPlaying = false;
 
-	_roomNeedRedraw	= false;
+	_roomNeedRedraw = false;
 	_fullRedrawCounter = 0;
 	_menuRedrawCounter = 0;
 	memset(_paletteBuffer, 0, sizeof(_paletteBuffer));


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