[Scummvm-cvs-logs] CVS: scummvm/scumm player_v2.cpp,2.6,2.7

Jochen Hoenicke hoenicke at users.sourceforge.net
Sun Jun 1 08:57:16 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10006/scumm

Modified Files:
	player_v2.cpp 
Log Message:
Added new note-lengths of indy3ega/loom. Fixed internote spacing.

Index: player_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/player_v2.cpp,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -d -r2.6 -r2.7
--- player_v2.cpp	31 May 2003 17:29:47 -0000	2.6
+++ player_v2.cpp	1 Jun 2003 15:56:40 -0000	2.7
@@ -39,10 +39,11 @@
 	0,  
 	0,  0,  2,
 	0,  3,  4,
-	0,  6,  8,
-	0, 12, 16,
-	0, 24, 32,
-	0, 48, 64
+	5,  6,  8,
+	9, 12, 16,
+	18, 24, 32,
+	36, 48, 64,
+	96
 };
 
 static const uint16 hull_offsets[] = {
@@ -745,7 +746,7 @@
 	      channel->d.freq);
 
 	if (channel->d.note_length && !--channel->d.note_length) {
-		channel->d.hull_offset += 16;
+		channel->d.hull_offset  = 16;
 		channel->d.hull_counter = 1;
 	}
 





More information about the Scummvm-git-logs mailing list