aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-12-23 21:04:14 +0000
committerPaweł Kołodziejski2002-12-23 21:04:14 +0000
commit8a6f6da967dc7e1d01b584fbc67c04f1a76f2dba (patch)
treecc446eebd5115e1bf46d65f8ffcdcdad6162fe24
parent57cdbd0abbf6b3b7dd2c6b2cca6121c41b514321 (diff)
downloadscummvm-rg350-8a6f6da967dc7e1d01b584fbc67c04f1a76f2dba.tar.gz
scummvm-rg350-8a6f6da967dc7e1d01b584fbc67c04f1a76f2dba.tar.bz2
scummvm-rg350-8a6f6da967dc7e1d01b584fbc67c04f1a76f2dba.zip
added o6_stopSound and fixed compilation
svn-id: r6083
-rw-r--r--scumm/script_v8.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 894d47aa06..dfe24889da 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -259,7 +259,7 @@ void Scumm_v8::setupOpcodes()
OPCODE(o6_invalid),
/* B0 */
OPCODE(o6_invalid),
- OPCODE(o6_invalid),
+ OPCODE(o6_stopSound),
OPCODE(o8_soundKludge),
OPCODE(o8_system),
/* B4 */
@@ -898,7 +898,7 @@ void Scumm_v8::o8_verbOps()
byte subOp = fetchScriptByte();
VerbSlot *vs = NULL;
- if (0 <= _curVerbSlot && _curVerbSlot < _maxVerbs);
+ if (0 <= _curVerbSlot && _curVerbSlot < _maxVerbs) {}
vs = &_verbs[_curVerbSlot];
switch (subOp) {
@@ -965,10 +965,10 @@ void Scumm_v8::o8_system()
{
// TODO
byte subOp = fetchScriptByte();
- switch (subOp) {
- default:
+// switch (subOp) {
+// default:
error("o8_system: default case %d", subOp);
- }
+// }
}
void Scumm_v8::o8_kludge()
@@ -977,10 +977,10 @@ void Scumm_v8::o8_kludge()
int16 args[30];
getStackList(args, sizeof(args) / sizeof(args[0]));
- switch (args[0]) {
- default:
+// switch (args[0]) {
+// default:
warning("o8_kludge: default case %d", args[0]);
- }
+// }
}
void Scumm_v8::o8_kludge2()