diff options
author | Martin Kiewitz | 2010-05-13 12:29:55 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-13 12:29:55 +0000 |
commit | 49d41d891b49e9b09cf62df46d0dfdddff93ec9c (patch) | |
tree | 33090cce7dbd69506e6dc37ab415b1e95715e1b2 /engines/sci/graphics | |
parent | 7329e815afb67e35908ea8d5b559b9232fa630c1 (diff) | |
download | scummvm-rg350-49d41d891b49e9b09cf62df46d0dfdddff93ec9c.tar.gz scummvm-rg350-49d41d891b49e9b09cf62df46d0dfdddff93ec9c.tar.bz2 scummvm-rg350-49d41d891b49e9b09cf62df46d0dfdddff93ec9c.zip |
SCI: figured out weird special mac sci1.1 view decompression (currently commented out for clone2727)
svn-id: r49020
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/view.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index 2f351a95c9..990c6e298d 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -365,6 +365,21 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou break; } } + // Crazy-Ass mac compression for clone2727 + // uint32 pixelLine; + // while (pixelNo < pixelCount) { + // pixelLine = pixelNo; + // runLength = *rlePtr++; + // pixelNo += runLength; + // runLength = *rlePtr++; + // while (runLength-- && pixelNo < pixelCount) { + // outPtr[pixelNo] = *literalPtr++; + // if (outPtr[pixelNo] == 255) + // outPtr[pixelNo] = 0; + // pixelNo++; + // } + // pixelNo = pixelLine + celInfo->width; + // } } else { // literal stream only, so no compression memcpy(outPtr, literalPtr, pixelCount); |