From e21b1755b5ba3e3d57af75541e0409ba255a1c9d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 10 Mar 2005 10:20:02 +0000 Subject: Add back some lost code from cyx, for future changes. svn-id: r17059 --- scumm/wiz_he.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp index 8ceb4fccce..427497ad8d 100644 --- a/scumm/wiz_he.cpp +++ b/scumm/wiz_he.cpp @@ -1411,6 +1411,22 @@ void ScummEngine_v90he::processWizImage(const WizParameters *params) { } } break; + case 6: + /*if (params->processFlags & 0x40) { + int state = (params->processFlags & 0x400) ? params->img.state : 0; + int num = params->remapNum; + const uint8 *index = params->remapIndex; + uint8 *iwiz = getResourceAddress(rtImage, params->img.resNum); + assert(iwiz); + uint8 *rmap = findWrappedBlock(MKID('RMAP'), iwiz, state, 0) ; + assert(rmap); + *(uint32 *)(rmap + 8) = TO_BE_32(0x12345678); + while (num--) { + uint8 idx = *index++; + rmap[0xC + idx] = params->remapColor[idx]; + } + }*/ + break; // HE 99+ case 8: createWizEmptyImage(params); -- cgit v1.2.3