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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri May 26 07:23:16 CEST 2006


Revision: 22661
Author:   lordhoto
Date:     2006-05-26 07:21:53 -0700 (Fri, 26 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22661&view=rev

Log Message:
-----------
Fixes input handling while moving.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra.cpp
    scummvm/trunk/engines/kyra/scene.cpp
Modified: scummvm/trunk/engines/kyra/kyra.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra.cpp	2006-05-26 14:16:42 UTC (rev 22660)
+++ scummvm/trunk/engines/kyra/kyra.cpp	2006-05-26 14:21:53 UTC (rev 22661)
@@ -652,6 +652,8 @@
 		if (update) {
 			_sprites->updateSceneAnims();
 			_animator->updateAllObjectShapes();
+			updateTextFade();
+			updateMousePointer();
 		}
 
 		if (_currentCharacter && _currentCharacter->sceneId == 210 && update) {

Modified: scummvm/trunk/engines/kyra/scene.cpp
===================================================================
--- scummvm/trunk/engines/kyra/scene.cpp	2006-05-26 14:16:42 UTC (rev 22660)
+++ scummvm/trunk/engines/kyra/scene.cpp	2006-05-26 14:21:53 UTC (rev 22661)
@@ -993,11 +993,7 @@
 		
 		nextFrame = getTimerDelay(5) * _tickLength + _system->getMillis();
 		while (_system->getMillis() < nextFrame) {
-			_sprites->updateSceneAnims();
-			updateMousePointer();
 			updateGameTimers();
-			_animator->updateAllObjectShapes();
-			updateTextFade();
 			if (_currentCharacter->sceneId == 210) {
 				updateKyragemFading();
 				if (seq_playEnd() || _beadStateVar == 4 || _beadStateVar == 5) {
@@ -1007,7 +1003,7 @@
 				}
 			}
 			if ((nextFrame - _system->getMillis()) >= 10)
-				delay(10);
+				delay(10, true);
 		}
 	}
 	


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