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

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon May 8 09:05:02 CEST 2006


Revision: 22394
Author:   eriktorbjorn
Date:     2006-05-08 09:04:08 -0700 (Mon, 08 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22394&view=rev

Log Message:
-----------
Added delay() to delayWithTicks() as well. This function is quite similar to
some of the custom delay loops in script_v1.cpp. Could it be used there?

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra.cpp
Modified: scummvm/trunk/engines/kyra/kyra.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra.cpp	2006-05-08 15:40:30 UTC (rev 22393)
+++ scummvm/trunk/engines/kyra/kyra.cpp	2006-05-08 16:04:08 UTC (rev 22394)
@@ -698,6 +698,8 @@
 		}
 		if (_skipFlag)
 			break;
+		if (nextTime - _system->getMillis() >= 10)
+			delay(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