diff options
author | Travis Howell | 2005-02-22 01:37:57 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-22 01:37:57 +0000 |
commit | f2dda718d322e3f4aef2d860cafe66474c05f660 (patch) | |
tree | a2cb788195c818e9b5ed3d8756590fe064bdb6d1 /scumm | |
parent | 0835583948059df8f505dd8e97b043c35ac2daaa (diff) | |
download | scummvm-rg350-f2dda718d322e3f4aef2d860cafe66474c05f660.tar.gz scummvm-rg350-f2dda718d322e3f4aef2d860cafe66474c05f660.tar.bz2 scummvm-rg350-f2dda718d322e3f4aef2d860cafe66474c05f660.zip |
More debugs, to catch error points.
svn-id: r16856
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v100he.cpp | 10 | ||||
-rw-r--r-- | scumm/script_v90he.cpp | 11 |
2 files changed, 11 insertions, 10 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index 07d65f09f7..0fa6498303 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -836,6 +836,7 @@ void ScummEngine_v100he::o100_setSpriteGroupInfo() { byte subOp = fetchScriptByte(); + debug(1,"o100_setSpriteGroupInfo (%d)", subOp); switch (subOp) { case 0: pop(); @@ -908,7 +909,6 @@ void ScummEngine_v100he::o100_setSpriteGroupInfo() { default: error("o100_setSpriteGroupInfo: Unknown case %d", subOp); } - debug(1,"o100_setSpriteGroupInfo stub (%d)", subOp); } void ScummEngine_v100he::o100_resourceRoutines() { @@ -1506,6 +1506,7 @@ void ScummEngine_v100he::o100_setSpriteInfo() { byte subOp = fetchScriptByte(); + debug(1,"o100_setSpriteInfo (%d)", subOp); switch (subOp) { case 0: _curMaxSpriteId = pop(); @@ -1805,7 +1806,6 @@ void ScummEngine_v100he::o100_setSpriteInfo() { default: error("o100_setSpriteInfo: Unknown case %d", subOp); } - debug(1,"o100_setSpriteInfo stub (%d)", subOp); } void ScummEngine_v100he::o100_quitPauseRestart() { @@ -1999,6 +1999,8 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() { int spriteGroupId, type; byte subOp = fetchScriptByte(); + + debug(1,"o100_getSpriteGroupInfo (%d)", subOp); switch (subOp) { case 5: spriteGroupId = pop(); @@ -2072,8 +2074,6 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() { default: error("o100_getSpriteGroupInfo: Unknown case %d", subOp); } - - debug(1,"o100_getSpriteGroupInfo stub (%d)", subOp); } void ScummEngine_v100he::o100_getWizData() { @@ -2237,6 +2237,7 @@ void ScummEngine_v100he::o100_getSpriteInfo() { byte subOp = fetchScriptByte(); + debug(1,"o100_getSpriteInfo (%d)", subOp); switch (subOp) { case 3: spriteId = pop(); @@ -2464,7 +2465,6 @@ void ScummEngine_v100he::o100_getSpriteInfo() { default: error("o100_getSpriteInfo: Unknown case %d", subOp); } - debug(1,"o100_getSpriteInfo stub (%d)", subOp); } void ScummEngine_v100he::decodeParseString(int m, int n) { diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index 08ca991b06..50a95bcf47 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -704,7 +704,7 @@ void ScummEngine_v90he::o90_getSpriteInfo() { byte subOp = fetchScriptByte(); subOp -= 30; - debug(1,"o90_getSpriteInfo stub (%d)", subOp); + debug(1,"o90_getSpriteInfo (%d)", subOp); switch (subOp) { case 0: spriteId = pop(); @@ -953,9 +953,11 @@ void ScummEngine_v90he::o90_setSpriteInfo() { int args[16]; int spriteId, tmp[2]; static int storedFields[2]; + byte subOp = fetchScriptByte(); subOp -= 34; + debug(1,"o90_setSpriteInfo (%d)", subOp); switch (subOp) { case 0: args[0] = pop(); @@ -1252,7 +1254,6 @@ void ScummEngine_v90he::o90_setSpriteInfo() { default: error("o90_setSpriteInfo: Unknown case %d", subOp); } - debug(1,"o90_setSpriteInfo stub (%d)", subOp); } void ScummEngine_v90he::o90_getSpriteGroupInfo() { @@ -1260,6 +1261,8 @@ void ScummEngine_v90he::o90_getSpriteGroupInfo() { int spriteGroupId, type; byte subOp = fetchScriptByte(); + + debug(1,"o90_getSpriteGroupInfo (%d)", subOp); switch (subOp) { case 8: // HE 99+ spriteGroupId = pop(); @@ -1333,14 +1336,13 @@ void ScummEngine_v90he::o90_getSpriteGroupInfo() { default: error("o90_getSpriteGroupInfo: Unknown case %d", subOp); } - - debug(1,"o90_getSpriteGroupInfo stub (%d)", subOp); } void ScummEngine_v90he::o90_setSpriteGroupInfo() { byte subOp = fetchScriptByte(); subOp -= 37; + debug(1,"o90_setSpriteGroupInfo stub (%d)", subOp); switch (subOp) { case 0: switch (pop()) { @@ -1406,7 +1408,6 @@ void ScummEngine_v90he::o90_setSpriteGroupInfo() { default: error("o90_setSpriteGroupInfo: Unknown case %d", subOp); } - debug(1,"o90_setSpriteGroupInfo stub (%d)", subOp); } void ScummEngine_v90he::o90_getWizData() { |