aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2003-01-13 14:22:53 +0000
committerJames Brown2003-01-13 14:22:53 +0000
commit82347203a799444c8ef1f7ef5e9e07a8ef860704 (patch)
treeb1b8167efc2cfd9898bd0f82db1d13134a9bab44
parent020a1c3e2d7dee95c9b6135a7f16ab23c688e22b (diff)
downloadscummvm-rg350-82347203a799444c8ef1f7ef5e9e07a8ef860704.tar.gz
scummvm-rg350-82347203a799444c8ef1f7ef5e9e07a8ef860704.tar.bz2
scummvm-rg350-82347203a799444c8ef1f7ef5e9e07a8ef860704.zip
Stub out a few room subops
svn-id: r6444
-rw-r--r--scumm/script_v8.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 32265fd233..2f7c38e802 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -925,13 +925,19 @@ void Scumm_v8::o8_roomOps()
darkenPalette(a, b, c, d, e);
break;
case 0x59: // SO_ROOM_TRANSFORM Transform room
+ d = pop();
+ c = pop();
+ b = pop();
+ a = pop();
+ warning("o8_roomOps: unimplemented case SO_ROOM_TRANSFORM(%d,%d,%d,%d)", a, b, c, d);
+ break;
case 0x5A: // SO_ROOM_CYCLE_SPEED Set palette cycling speed
case 0x5B: // SO_ROOM_COPY_PALETTE Copy 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
+ case 0x5C: // SO_ROOM_NEW_PALETTE New palette
+ // FIXME: Used in the Crypt scene
+ warning("o8_roomOps: unimplemented case SO_ROOM_NEW_PALETTE(%d)", pop());
break;
case 0x5D: // SO_ROOM_SAVE_GAME Save game
_saveLoadCompatible = true;