diff options
author | James Brown | 2003-01-01 11:38:59 +0000 |
---|---|---|
committer | James Brown | 2003-01-01 11:38:59 +0000 |
commit | b5d0e48695d9d200cb3cbab37ef3a9a8db6d2088 (patch) | |
tree | 353f481d2a4861d8aba4941f4ce7be94eed37661 /scumm/script_v8.cpp | |
parent | 158951dbd962faa9e7ee13acbceb1c4291156c53 (diff) | |
download | scummvm-rg350-b5d0e48695d9d200cb3cbab37ef3a9a8db6d2088.tar.gz scummvm-rg350-b5d0e48695d9d200cb3cbab37ef3a9a8db6d2088.tar.bz2 scummvm-rg350-b5d0e48695d9d200cb3cbab37ef3a9a8db6d2088.zip |
implement roomops case (CMI crypt)
svn-id: r6312
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index dd9b17df66..72a965e288 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -947,9 +947,12 @@ void Scumm_v8::o8_roomOps() case 0x59: // SO_ROOM_TRANSFORM Transform room case 0x5A: // SO_ROOM_CYCLE_SPEED Set palette cycling speed case 0x5B: // SO_ROOM_COPY_PALETTE Copy palette - case 0x5C: // SO_ROOM_NEW_PALETTE Create new palette error("o8_roomOps: unimplemented case %d", subOp); break; + case 0x5C: // SO_ROOM_NEW_PALETTE Create new palette + warning("o8_roomOps: SO_ROOM_NEW_PALETTE - tell ender if this looks ok :)"); + setPalette(pop()); // fixme: i think this is right + break; case 0x5D: // SO_ROOM_SAVE_GAME Save game warning("V8 Save game opcode not implemented"); break; |