diff options
author | Travis Howell | 2007-05-16 13:00:38 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-16 13:00:38 +0000 |
commit | b3c582e4c787c888435c3967b1438bba9359c354 (patch) | |
tree | d7bc9ee74a112c68f2d479ef47816fe4fe5baa65 /engines/agos | |
parent | bf3b58e7cf1d896ffc3ce957d9ed826789558a22 (diff) | |
download | scummvm-rg350-b3c582e4c787c888435c3967b1438bba9359c354.tar.gz scummvm-rg350-b3c582e4c787c888435c3967b1438bba9359c354.tar.bz2 scummvm-rg350-b3c582e4c787c888435c3967b1438bba9359c354.zip |
Ooops, commit too much.
svn-id: r26854
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/icons.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp index 85c8ae57a5..4ba0173a21 100644 --- a/engines/agos/icons.cpp +++ b/engines/agos/icons.cpp @@ -64,8 +64,6 @@ void AGOSEngine::loadIconData() { // Thanks to Stuart Caie for providing the original // C conversion upon which this function is based. static void decompressIconPlanar(byte *dst, byte *src, uint width, uint height, byte base, uint pitch, bool decompress = true) { - printf("decompressIconPlanar\n"); - byte icon_pln[288]; byte *i, *o, *srcPtr, x, y; @@ -95,8 +93,6 @@ static void decompressIconPlanar(byte *dst, byte *src, uint width, uint height, srcPtr = icon_pln; } - printf("decompressIconPlanar: Decompressed\n"); - // Translate planar data to chunky (very slow method) for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { @@ -229,13 +225,10 @@ void AGOSEngine_Waxworks::drawIcon(WindowBlock *window, uint icon, uint x, uint uint8 color = dst[0] & 0xF0; if (getPlatform() == Common::kPlatformAmiga) { + // TODO src = _iconFilePtr; src += READ_BE_UINT16(&((uint16 *)src)[icon]); - - - //decompressIcon(dst, src, 24, 10, color, _dxSurfacePitch); - - decompressIconPlanar(dst, src, 24, 24, color, _dxSurfacePitch); + //decompressIconPlanar(dst, src, 24, 10, color, _dxSurfacePitch); } else { src = _iconFilePtr; src += READ_LE_UINT16(&((uint16 *)src)[icon]); |