[Scummvm-cvs-logs] CVS: scummvm/graphics animation.cpp,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Tue Sep 28 13:27:29 CEST 2004


Update of /cvsroot/scummvm/scummvm/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3612/graphics

Modified Files:
	animation.cpp 
Log Message:
Rename remaining OSystem methods to match our coding guidelines

Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/graphics/animation.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- animation.cpp	5 Aug 2004 11:13:00 -0000	1.11
+++ animation.cpp	28 Sep 2004 20:19:25 -0000	1.12
@@ -127,7 +127,7 @@
 	info = mpeg2_info(decoder);
 	framenum = 0;
 	frameskipped = 0;
-	ticks = _sys->get_msecs();
+	ticks = _sys->getMillis();
 
 	// Play audio
 	bgSoundStream = AudioStream::openStreamFile(name);
@@ -184,11 +184,11 @@
 
 					if (bgSoundStream) {
 						while ((_snd->getChannelElapsedTime(bgSound) * 12) / 1000 < framenum)
-							_sys->delay_msecs(10);
+							_sys->delayMillis(10);
 					} else {
 						ticks += 83;
-						while (_sys->get_msecs() < ticks)
-							_sys->delay_msecs(10);
+						while (_sys->getMillis() < ticks)
+							_sys->delayMillis(10);
 						// FIXME: This used to be used for the Sword2 version of this
 						// method. I do not see any compelling reason why it should be
 						// used, but maybe I am wrong; so if you know more, either





More information about the Scummvm-git-logs mailing list