[Scummvm-cvs-logs] SF.net SVN: scummvm:[50888] scummvm/trunk/engines/scumm

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Jul 14 18:55:32 CEST 2010


Revision: 50888
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50888&view=rev
Author:   eriktorbjorn
Date:     2010-07-14 16:55:32 +0000 (Wed, 14 Jul 2010)

Log Message:
-----------
Moved setTileData() into GdiPCEngine since that's the only class that uses it.

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

Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp	2010-07-14 14:55:22 UTC (rev 50887)
+++ scummvm/trunk/engines/scumm/gfx.cpp	2010-07-14 16:55:32 UTC (rev 50888)
@@ -2823,7 +2823,7 @@
 	free(stripOffsets);
 }
 
-void setTileData(byte *tile, int index, byte byte0, byte byte1) {
+void GdiPCEngine::setTileData(byte *tile, int index, byte byte0, byte byte1) {
 	int row = index % 8;
 	int plane = (index / 8) * 2;
 	int plane02Bit, plane13Bit;

Modified: scummvm/trunk/engines/scumm/gfx.h
===================================================================
--- scummvm/trunk/engines/scumm/gfx.h	2010-07-14 14:55:22 UTC (rev 50887)
+++ scummvm/trunk/engines/scumm/gfx.h	2010-07-14 16:55:32 UTC (rev 50888)
@@ -322,6 +322,7 @@
 protected:
 	void decodePCEngineGfx(const byte *room);
 	void decodeStrip(const byte *ptr, uint16 *tiles, byte *colors, uint16 *masks, int numRows, bool isObject);
+	void setTileData(byte *tile, int index, byte byte0, byte byte1);
 	void decodePCEngineTileData(const byte *ptr);
 	void decodePCEngineMaskData(const byte *ptr);
 	void decodePCEngineObject(const byte *ptr, int xpos, int ypos, int width, int height);


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