diff options
author | Torbjörn Andersson | 2010-07-14 16:55:32 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-14 16:55:32 +0000 |
commit | 25077baf6a665e56806bf6f7d050d6462d39ec5b (patch) | |
tree | e509645e367bc48bb39fb071eb9de111e31c19c3 /engines | |
parent | 14e25d138c20060067d0986eeeaf20d912ada0e6 (diff) | |
download | scummvm-rg350-25077baf6a665e56806bf6f7d050d6462d39ec5b.tar.gz scummvm-rg350-25077baf6a665e56806bf6f7d050d6462d39ec5b.tar.bz2 scummvm-rg350-25077baf6a665e56806bf6f7d050d6462d39ec5b.zip |
Moved setTileData() into GdiPCEngine since that's the only class that uses it.
svn-id: r50888
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/gfx.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/gfx.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 298917477f..44e41feb9f 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -2823,7 +2823,7 @@ void GdiPCEngine::decodePCEngineObject(const byte *ptr, int xpos, int ypos, int 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; diff --git a/engines/scumm/gfx.h b/engines/scumm/gfx.h index 108fd4555d..cdb473a67c 100644 --- a/engines/scumm/gfx.h +++ b/engines/scumm/gfx.h @@ -322,6 +322,7 @@ protected: 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); |