[Scummvm-cvs-logs] SF.net SVN: scummvm: [23764] scummvm/trunk/engines/kyra/kyra.cpp

vinterstum at users.sourceforge.net vinterstum at users.sourceforge.net
Sat Aug 26 22:05:57 CEST 2006


Revision: 23764
Author:   vinterstum
Date:     2006-08-26 13:05:49 -0700 (Sat, 26 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23764&view=rev

Log Message:
-----------
Stop doing a screen rewrite on each mouse movement event, just schedule a redraw for later instead

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra.cpp
Modified: scummvm/trunk/engines/kyra/kyra.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra.cpp	2006-08-26 19:16:15 UTC (rev 23763)
+++ scummvm/trunk/engines/kyra/kyra.cpp	2006-08-26 20:05:49 UTC (rev 23764)
@@ -599,7 +599,7 @@
 			case OSystem::EVENT_MOUSEMOVE:
 				_mouseX = event.mouse.x;
 				_mouseY = event.mouse.y;
-				_system->updateScreen();
+				_animator->_updateScreen = true;
 				break;
 			case OSystem::EVENT_QUIT:
 				quitGame();


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