diff options
author | Travis Howell | 2004-06-06 05:20:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-06 05:20:52 +0000 |
commit | cbbfc34e0a258e0067d0f23030d344f5bef1f35d (patch) | |
tree | d75762b5acaaa5a2f60cb6e36d933362a3c7edc0 /scumm/script_v6he.cpp | |
parent | 7765d6f6b367723adee267e84ef9d7d8d61903cc (diff) | |
download | scummvm-rg350-cbbfc34e0a258e0067d0f23030d344f5bef1f35d.tar.gz scummvm-rg350-cbbfc34e0a258e0067d0f23030d344f5bef1f35d.tar.bz2 scummvm-rg350-cbbfc34e0a258e0067d0f23030d344f5bef1f35d.zip |
puttdemo doesn't need HE specific opcodes.
actorOps case 225 isn't need for HE, was left over from scumm6.
No need to check for invalid cases, since earlier HE game didn't use those cases.
svn-id: r13941
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r-- | scumm/script_v6he.cpp | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 1bd60ccb92..a0caedb1c5 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -45,9 +45,6 @@ namespace Scumm { // FBEAR (fbear, fbeardemo) // transparency in akos.cpp // negative size in file read/write -// PUTTDEMO (puttdemo) -// startSound issue -- check -// actorOps sub 86 -- check #define OPCODE(x) { &ScummEngine_v6he::x, #x } @@ -404,12 +401,9 @@ void ScummEngine_v6he::o6_setState() { } void ScummEngine_v6he::o6_startSound() { - if (_gameId != GID_PUTTDEMO) { - // Seems to range between 952 - 9000 - int offset = pop(); - debug(2, "o6_startSound: offset %d", offset); - } - + // Seems to range between 952 - 9000 + int offset = pop(); + debug(2, "o6_startSound: offset %d", offset); _sound->addSoundToQueue(pop()); } @@ -561,10 +555,6 @@ void ScummEngine_v6he::o6_actorOps() { switch (b) { case 30: - if (_heversion <= 70) { - error("o6_actorOps: default case %d", b); - } - k = pop(); j = pop(); i = pop(); @@ -616,10 +606,7 @@ void ScummEngine_v6he::o6_actorOps() { j = pop(); i = pop(); checkRange(255, 0, i, "Illegal palette slot %d"); - if (_gameId != GID_PUTTDEMO) - a->remapActorPaletteColor(i, j); - else - a->setPalette(i, j); + a->setPalette(i, j); break; case 87: // SO_TALK_COLOR a->talkColor = pop(); @@ -708,12 +695,8 @@ void ScummEngine_v6he::o6_actorOps() { a->needBgReset = true; break; case 225: // SO_ALWAYS_ZCLIP - if (_heversion < 70) { - a->forceClip = pop(); // FIXME: where does this come from? - } else { - i = pop(); // talkie slot - warning("o6_actorOps: stub case %d", b); - } + i = pop(); // talkie slot + warning("o6_actorOps: stub case %d", b); break; default: error("o6_actorOps: default case %d", b); |