From 88c7ca6f8fb20b04a31c85fe921404f1981e1ca4 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 26 Oct 2009 10:15:05 +0000 Subject: Add patch from Tobias, for object masking support in PCE version of Loom. svn-id: r45396 --- engines/scumm/gfx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/gfx.h') diff --git a/engines/scumm/gfx.h b/engines/scumm/gfx.h index 3548a93317..bb9acbeef8 100644 --- a/engines/scumm/gfx.h +++ b/engines/scumm/gfx.h @@ -307,7 +307,7 @@ protected: uint16 nametable[4096], nametableObj[512]; byte colortable[4096], colortableObj[512]; uint16 masktable[4096], masktableObj[512]; - int objX; + int maskIDSize; int numTiles; int numMasks; byte* tiles; @@ -316,7 +316,7 @@ protected: protected: void decodePCEngineGfx(const byte *room); - void decodeStrip(const byte *ptr, uint16 *tiles, byte *colors, uint16 *masks, int dataWidth, int numRows, bool isObject); + void decodeStrip(const byte *ptr, uint16 *tiles, byte *colors, uint16 *masks, int numRows, bool isObject); void decodePCEngineTileData(const byte *ptr); void decodePCEngineMaskData(const byte *ptr); void decodePCEngineObject(const byte *ptr, int xpos, int ypos, int width, int height); -- cgit v1.2.3