From b3c582e4c787c888435c3967b1438bba9359c354 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 16 May 2007 13:00:38 +0000 Subject: Ooops, commit too much. svn-id: r26854 --- engines/agos/icons.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'engines/agos') 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]); -- cgit v1.2.3