[Scummvm-cvs-logs] SF.net SVN: scummvm:[55436] scummvm/trunk/engines/gob/inter_v6.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sat Jan 22 17:48:52 CET 2011


Revision: 55436
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55436&view=rev
Author:   drmccoy
Date:     2011-01-22 16:48:51 +0000 (Sat, 22 Jan 2011)

Log Message:
-----------
GOB: Proper live video looping

Fixes the Yes/No robots in Bambou

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v6.cpp

Modified: scummvm/trunk/engines/gob/inter_v6.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v6.cpp	2011-01-22 16:46:32 UTC (rev 55435)
+++ scummvm/trunk/engines/gob/inter_v6.cpp	2011-01-22 16:48:51 UTC (rev 55436)
@@ -151,15 +151,7 @@
 		_vm->_sound->bgPlay(fileName, SOUND_WAV);
 		return;
 	} else if (props.lastFrame <= -10) {
-		_vm->_vidPlayer->closeVideo();
-
-		if (props.lastFrame <= -100) {
-			props.loop       = true;
-			props.lastFrame += 100;
-		}
-
-		if (((-props.lastFrame) % 10 == 3) && (props.lastFrame <= -20))
-			_vm->_sound->bgPlay(fileName, SOUND_WAV);
+		props.loop = true;
 	} else if (props.lastFrame < 0) {
 		warning("Urban/Playtoons Stub: Unknown Video/Music command: %d, %s", props.lastFrame, fileName);
 		return;


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