diff options
author | Max Horn | 2002-08-29 20:01:27 +0000 |
---|---|---|
committer | Max Horn | 2002-08-29 20:01:27 +0000 |
commit | 4b83c17b31eaab340c8eccee2f64cd68e6c6feb8 (patch) | |
tree | f6954cba1108dedf6c5a94bb99693d65175fd16b /scumm/script_v1.cpp | |
parent | 31853df454d5785c3ebe8ba6de0be611c15c1169 (diff) | |
download | scummvm-rg350-4b83c17b31eaab340c8eccee2f64cd68e6c6feb8.tar.gz scummvm-rg350-4b83c17b31eaab340c8eccee2f64cd68e6c6feb8.tar.bz2 scummvm-rg350-4b83c17b31eaab340c8eccee2f64cd68e6c6feb8.zip |
some cleanup/refactoring
svn-id: r4866
Diffstat (limited to 'scumm/script_v1.cpp')
-rw-r--r-- | scumm/script_v1.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp index 3fd4f6f3cc..106923aca9 100644 --- a/scumm/script_v1.cpp +++ b/scumm/script_v1.cpp @@ -1899,6 +1899,7 @@ void Scumm::o5_roomOps() } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); _currentPalette[a] = b; +printf("palette change, %d -> %d\n", a, b); _fullRedraw = 1; } else { error("room-color is no longer a valid command"); @@ -1919,6 +1920,7 @@ void Scumm::o5_roomOps() b = getVarOrDirectWord(0x40); } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); +printf("shadow palette change, %d -> %d\n", a, b); _shadowPalette[b] = a; setDirtyColors(b, b); } else { @@ -2049,7 +2051,7 @@ void Scumm::o5_roomOps() c = getVarOrDirectByte(0x40); _opcode = fetchScriptByte(); d = getVarOrDirectByte(0x80); - palManipulate(b, c, a, d, 1); + palManipulateInit(b, c, a, d, 1); break; case 16: |