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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Feb 3 20:21:34 CET 2007


Revision: 25357
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25357&view=rev
Author:   lordhoto
Date:     2007-02-03 11:21:33 -0800 (Sat, 03 Feb 2007)

Log Message:
-----------
Some delay changes. (should fix slow scene animations)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra.cpp
    scummvm/trunk/engines/kyra/text.cpp

Modified: scummvm/trunk/engines/kyra/kyra.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra.cpp	2007-02-03 19:05:53 UTC (rev 25356)
+++ scummvm/trunk/engines/kyra/kyra.cpp	2007-02-03 19:21:33 UTC (rev 25357)
@@ -678,7 +678,7 @@
 			_skipFlag = false;
 			
 		if (amount > 0 && !_skipFlag && !_quitFlag) {
-			_system->delayMillis((amount > 10) ? 10 : amount);
+			_system->delayMillis(10);
 		}
 
 		if (_skipFlag) {

Modified: scummvm/trunk/engines/kyra/text.cpp
===================================================================
--- scummvm/trunk/engines/kyra/text.cpp	2007-02-03 19:05:53 UTC (rev 25356)
+++ scummvm/trunk/engines/kyra/text.cpp	2007-02-03 19:21:33 UTC (rev 25357)
@@ -113,7 +113,7 @@
 		if ((chatDuration < (int16)(_system->getMillis() - timeAtStart)) && chatDuration != -1 && (!drawText || !snd_voiceIsPlaying()))
 			break;
 
-		uint32 nextTime = loopStart + _gameSpeed;
+		uint32 nextTime = loopStart + _tickLength; 
 		
 		while (_system->getMillis() < nextTime) {
 			while (_system->pollEvent(event)) {


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