[Scummvm-cvs-logs] SF.net SVN: scummvm:[35250] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Dec 5 19:56:52 CET 2008


Revision: 35250
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35250&view=rev
Author:   thebluegr
Date:     2008-12-05 18:56:52 +0000 (Fri, 05 Dec 2008)

Log Message:
-----------
Removed more unneeded test code

Modified Paths:
--------------
    scummvm/trunk/engines/saga/gfx.cpp
    scummvm/trunk/engines/saga/gfx.h

Modified: scummvm/trunk/engines/saga/gfx.cpp
===================================================================
--- scummvm/trunk/engines/saga/gfx.cpp	2008-12-05 18:47:50 UTC (rev 35249)
+++ scummvm/trunk/engines/saga/gfx.cpp	2008-12-05 18:56:52 UTC (rev 35250)
@@ -59,6 +59,7 @@
 	_backBuffer.free();
 }
 
+#ifdef SAGA_DEBUG
 void Surface::drawPalette() {
 	int x;
 	int y;
@@ -78,6 +79,7 @@
 		}
 	}
 }
+#endif
 
 // * Copies a rectangle from a raw 8 bit pixel buffer to the specified surface.
 // - The surface must match the logical dimensions of the buffer exactly.

Modified: scummvm/trunk/engines/saga/gfx.h
===================================================================
--- scummvm/trunk/engines/saga/gfx.h	2008-12-05 18:47:50 UTC (rev 35249)
+++ scummvm/trunk/engines/saga/gfx.h	2008-12-05 18:56:52 UTC (rev 35250)
@@ -99,7 +99,9 @@
 struct Surface : Graphics::Surface {
 
 	void transitionDissolve(const byte *sourceBuffer, const Common::Rect &sourceRect, int flags, double percent);
+#ifdef SAGA_DEBUG
 	void drawPalette();
+#endif
 	void drawPolyLine(const Point *points, int count, int color);
 	void blit(const Common::Rect &destRect, const byte *sourceBuffer);
 


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