diff options
author | Travis Howell | 2004-09-12 09:26:48 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-12 09:26:48 +0000 |
commit | f8e2bcf02425d986dc76cd28e3a0e268e7b71264 (patch) | |
tree | c89b5cbb64e86fc90a8174d6fbb786e5181e8740 | |
parent | 2bd07c2c8de772d5e513bbafdca8edccc28e05a0 (diff) | |
download | scummvm-rg350-f8e2bcf02425d986dc76cd28e3a0e268e7b71264.tar.gz scummvm-rg350-f8e2bcf02425d986dc76cd28e3a0e268e7b71264.tar.bz2 scummvm-rg350-f8e2bcf02425d986dc76cd28e3a0e268e7b71264.zip |
Add debug
svn-id: r15020
-rw-r--r-- | scumm/script_v7he.cpp | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 9a8afa5820..5af469e5c2 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -1011,39 +1011,42 @@ void ScummEngine_v7he::o7_unknownFA() { } void ScummEngine_v7he::o7_unknownFB() { + int a, b, c, d, e, f, g, h, i; byte subOp = fetchScriptByte(); switch (subOp) { case 246: - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); + a = pop(); + b = pop(); + c = pop(); + d = pop(); + e = pop(); + f = pop(); + g = pop(); + h = pop(); + i = pop(); + debug(1,"o7_unknownFB case 245 stub (%d, %d, %d, %d, %d, %d, %d, %d, %d)", a, b, c, d, e, g, h, i); break; case 247: - pop(); - pop(); + a = pop(); + b = pop(); + debug(1,"o7_unknownFB case 247 stub (%d, %d)", a, b); break; case 248: - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); - pop(); + a = pop(); + b = pop(); + c = pop(); + d = pop(); + e = pop(); + f = pop(); + g = pop(); + h = pop(); + i = pop(); + debug(1,"o7_unknownFB case 248 stub (%d, %d, %d, %d, %d, %d, %d, %d, %d)", a, b, c, d, e, g, h, i); break; default: error("o7_unknownFB: default type %d", subOp); } - debug(1,"o7_unknownFB stub"); } void ScummEngine_v7he::o7_unknownFC() { @@ -1052,7 +1055,8 @@ void ScummEngine_v7he::o7_unknownFC() { int y = pop(); int x = pop(); - push(0); + int r = findObject(x, y); + push(r); debug(1,"o7_unknownFC (x %d, y %d) stub", x, y); } |