[Scummvm-cvs-logs] SF.net SVN: scummvm: [21992] scummvm/trunk/engines/lure

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Apr 17 16:38:01 CEST 2006


Revision: 21992
Author:   eriktorbjorn
Date:     2006-04-17 16:37:22 -0700 (Mon, 17 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21992&view=rev

Log Message:
-----------
Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a
discussion with sev.)

Modified Paths:
--------------
    scummvm/trunk/engines/lure/game.cpp
    scummvm/trunk/engines/lure/menu.cpp
Modified: scummvm/trunk/engines/lure/game.cpp
===================================================================
--- scummvm/trunk/engines/lure/game.cpp	2006-04-17 22:47:12 UTC (rev 21991)
+++ scummvm/trunk/engines/lure/game.cpp	2006-04-17 23:37:22 UTC (rev 21992)
@@ -172,6 +172,7 @@
 			playerChangeRoom();
 		}
 
+		system.updateScreen();
 		system.delayMillis(10);
 	}
 

Modified: scummvm/trunk/engines/lure/menu.cpp
===================================================================
--- scummvm/trunk/engines/lure/menu.cpp	2006-04-17 22:47:12 UTC (rev 21991)
+++ scummvm/trunk/engines/lure/menu.cpp	2006-04-17 23:37:22 UTC (rev 21992)
@@ -103,7 +103,6 @@
 	mouse.setCursorNum(CURSOR_ARROW);
 	system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0, 
 		FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
-	system.updateScreen();
 
 	_selectedMenu = NULL;
 	_surfaceMenu = NULL;
@@ -143,7 +142,6 @@
 
 					system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0, 
 						FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
-					system.updateScreen();
 				}
 			}
 
@@ -156,6 +154,7 @@
 			}
 		}
 
+		system.updateScreen();
 		system.delayMillis(10);
 	}
 


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