[Scummvm-cvs-logs] SF.net SVN: scummvm: [26138] scummvm/trunk/engines/parallaction/graphics. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Wed Mar 14 22:11:06 CET 2007


Revision: 26138
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26138&view=rev
Author:   peres001
Date:     2007-03-14 14:11:04 -0700 (Wed, 14 Mar 2007)

Log Message:
-----------
removed dead code

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/graphics.cpp

Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp	2007-03-14 21:09:56 UTC (rev 26137)
+++ scummvm/trunk/engines/parallaction/graphics.cpp	2007-03-14 21:11:04 UTC (rev 26138)
@@ -318,26 +318,7 @@
 
 	return;
 }
-/*
-void Gfx::copyRect(Gfx::Buffers srcbuffer, uint16 sx, uint16 sy, Gfx::Buffers dstbuffer, uint16 dx, uint16 dy, uint16 w, uint16 h) {
 
-	byte *s = _buffers[srcbuffer] + (sx + sy * SCREEN_WIDTH);
-	byte *d = _buffers[dstbuffer] + (dx + dy * SCREEN_WIDTH);
-
-	for (uint16 i = 0; i < h; i++) {
-		memcpy(d, s, w);
-
-		s += SCREEN_WIDTH;
-		d += SCREEN_WIDTH;
-	}
-
-	if (dstbuffer == kBitFront) updateScreen();
-
-	return;
-
-}
-*/
-
 void Gfx::floodFill(Gfx::Buffers buffer, const Common::Rect& r, byte color) {
 //	printf("Gfx::floodFill(%i, %i, %i, %i, %i)\n", color, left, top, right, bottom);
 
@@ -508,9 +489,6 @@
 
 	} else {
 
-		// FIXME: standard mouse arrow must be combined with item
-		//		  but it is not at the moment
-
 		// inventory item pointer
 		StaticCnv mouse_pointer;
 		memcpy(&mouse_pointer, &_mouseComposedArrow, sizeof(StaticCnv));


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