[Scummvm-cvs-logs] SF.net SVN: scummvm: [26854] scummvm/trunk/engines/agos/icons.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed May 16 15:00:39 CEST 2007


Revision: 26854
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26854&view=rev
Author:   kirben
Date:     2007-05-16 06:00:38 -0700 (Wed, 16 May 2007)

Log Message:
-----------
Ooops, commit too much.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/icons.cpp

Modified: scummvm/trunk/engines/agos/icons.cpp
===================================================================
--- scummvm/trunk/engines/agos/icons.cpp	2007-05-16 12:58:47 UTC (rev 26853)
+++ scummvm/trunk/engines/agos/icons.cpp	2007-05-16 13:00:38 UTC (rev 26854)
@@ -64,8 +64,6 @@
 // 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 @@
 		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 @@
 
 	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]);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list