[Scummvm-cvs-logs] SF.net SVN: scummvm:[46928] scummvm/trunk/engines/sci/sfx/midiparser.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jan 3 16:59:43 CET 2010


Revision: 46928
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46928&view=rev
Author:   thebluegr
Date:     2010-01-03 15:59:43 +0000 (Sun, 03 Jan 2010)

Log Message:
-----------


Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/midiparser.cpp

Modified: scummvm/trunk/engines/sci/sfx/midiparser.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/midiparser.cpp	2010-01-03 15:25:07 UTC (rev 46927)
+++ scummvm/trunk/engines/sci/sfx/midiparser.cpp	2010-01-03 15:59:43 UTC (rev 46928)
@@ -167,10 +167,13 @@
 				}
 				break;
 			case 0x01:	// mod wheel
+			case 0x04:	// foot controller
 			case 0x07:	// channel volume
 			case 0x0A:	// pan
-			case 0x40:	// hold pedal
+			case 0x0B:	// expression
+			case 0x40:	// sustain
 			case 0x4E:	// velocity control
+			case 0x79:	// reset all
 			case 0x7B:	// notes off
 				// These are all handled by the music driver, so ignore them
 				break;
@@ -178,6 +181,12 @@
 				// TODO: is any support for this needed at the MIDI parser level?
 				warning("Unhanded SCI MIDI command 0x%x - voice mapping (parameter %d)", info.basic.param1, info.basic.param2);
 				break;
+			case 0x46: // LSL3 - binoculars
+			case 0x61: // Iceman (Adlib?)
+			case 0x73: // Hoyle
+			case 0xd1: // KQ4, when riding the unicorn
+				// Obscure SCI commands - ignored
+				break;
 			default:
 				warning("Unhandled SCI MIDI command 0x%x (parameter %d)", info.basic.param1, info.basic.param2);
 				break;


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