From ac4659b92acd42690dae6b09a1a72bb0d30c1764 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 18 Jun 2010 01:11:00 +0000 Subject: Added several unimplemented kDisplay subops, as well as a new sound command, found in the demo of Longbow svn-id: r49983 --- engines/sci/graphics/paint16.cpp | 15 +++++++++++++++ engines/sci/sound/soundcmd.cpp | 1 + 2 files changed, 16 insertions(+) (limited to 'engines') diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp index feda84e993..ebb6cebb44 100644 --- a/engines/sci/graphics/paint16.cpp +++ b/engines/sci/graphics/paint16.cpp @@ -513,6 +513,21 @@ reg_t GfxPaint16::kernelDisplay(const char *text, int argc, reg_t *argv) { case SCI_DISPLAY_DONTSHOWBITS: bRedraw = 0; break; + case 4: // Longbow demo + warning("Unknown kDisplay argument %X", displayArg); + break; + case 7: // Longbow demo + warning("Unknown kDisplay argument %X", displayArg); + break; + case 9: // Longbow demo + warning("Unknown kDisplay argument %X", displayArg); + break; + case 114: // Longbow demo + warning("Unknown kDisplay argument %X", displayArg); + break; + case 115: // Longbow demo + warning("Unknown kDisplay argument %X", displayArg); + break; default: error("Unknown kDisplay argument %X", displayArg); break; diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 6b0a69f5b8..6470b17e83 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -176,6 +176,7 @@ SoundCommandParser::SoundCommandParser(ResourceManager *resMan, SegManager *segM SOUNDCOMMAND(cmdSendMidi); SOUNDCOMMAND(cmdReverb); SOUNDCOMMAND(cmdSetSoundHold); + SOUNDCOMMAND(cmdDummy); // Longbow demo _cmdUpdateCuesIndex = 11; break; case SCI_VERSION_1_LATE: -- cgit v1.2.3