[Scummvm-cvs-logs] CVS: residual/imuse imuse_track.cpp,1.14,1.15

Erich Edgar Hoover compholio at users.sourceforge.net
Mon Jul 25 18:48:01 CEST 2005


Update of /cvsroot/scummvm/residual/imuse
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28561/imuse

Modified Files:
	imuse_track.cpp 
Log Message:
Initial support for TurnActorTo, PointActorAt, RotateVector, GetPointSector, and SetActorPitch - little bit smarter SMUSH looping

Index: imuse_track.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/imuse/imuse_track.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- imuse_track.cpp	21 Jul 2005 05:59:35 -0000	1.14
+++ imuse_track.cpp	26 Jul 2005 01:46:53 -0000	1.15
@@ -72,6 +72,11 @@
 			return true;
 		}
 	}
+	// Priority Level 127 appears to mean "load but don't play", so
+	// within our paradigm this is a much lower priority than everything
+	// else we're doing
+	if (priority == 127)
+		priority = -1;
 	l = allocSlot(priority);
 	if (l == -1) {
 		warning("Imuse::startSound(): Can't start sound - no free slots");





More information about the Scummvm-git-logs mailing list