[Scummvm-cvs-logs] SF.net SVN: scummvm: [22322] scummvm/trunk/engines/simon

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed May 3 19:35:04 CEST 2006


Revision: 22322
Author:   kirben
Date:     2006-05-03 19:34:14 -0700 (Wed, 03 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22322&view=rev

Log Message:
-----------
Update screen more often, for smoother mouse movement

Modified Paths:
--------------
    scummvm/trunk/engines/simon/draw.cpp
    scummvm/trunk/engines/simon/items.cpp
    scummvm/trunk/engines/simon/simon.cpp
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/draw.cpp
===================================================================
--- scummvm/trunk/engines/simon/draw.cpp	2006-05-04 02:28:19 UTC (rev 22321)
+++ scummvm/trunk/engines/simon/draw.cpp	2006-05-04 02:34:14 UTC (rev 22322)
@@ -484,7 +484,6 @@
 			dst++;
  		}
  		_system->setPalette(_videoBuf1, 0, _videoNumPalColors);
-		_system->updateScreen();
  		delay(5);
  	}
 	_paletteColorCount = 0;

Modified: scummvm/trunk/engines/simon/items.cpp
===================================================================
--- scummvm/trunk/engines/simon/items.cpp	2006-05-04 02:28:19 UTC (rev 22321)
+++ scummvm/trunk/engines/simon/items.cpp	2006-05-04 02:34:14 UTC (rev 22322)
@@ -1630,7 +1630,6 @@
 		paletteFadeOut((uint32 *)_videoBuf1 + 32 + 16 + 144 + 16, 48);
 
 		_system->setPalette(_videoBuf1, 0, 256);
-		_system->updateScreen();
 		delay(5);
 	} while (--i);
 

Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp	2006-05-04 02:28:19 UTC (rev 22321)
+++ scummvm/trunk/engines/simon/simon.cpp	2006-05-04 02:34:14 UTC (rev 22322)
@@ -2020,6 +2020,8 @@
 			}
 		}
 
+		_system->updateScreen();
+
 		if (amount == 0)
 			break;
 

Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-05-04 02:28:19 UTC (rev 22321)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-05-04 02:34:14 UTC (rev 22322)
@@ -2217,7 +2217,6 @@
 		for (i = NUM_PALETTE_FADEOUT; i != 0; --i) {
 			paletteFadeOut((uint32 *)_videoBuf1, _videoNumPalColors);
 			_system->setPalette(_videoBuf1, 0, _videoNumPalColors);
-			_system->updateScreen();
 			delay(5);
 		}
 


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