From 0bcb0ac2579faf061ec677e0b4ac8e37697d6dc7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 21 Mar 2005 23:51:48 +0000 Subject: Many MM NES fixes/improvements from Quietust: o Doesn't crash when going upstairs. Now game is playable up to the green tentacle o Proper subtitles colors o Room mask is decoded but doesn't affect sprites yet o Inventory draw issues fixed o Fix actors position when they're facing right svn-id: r17191 --- scumm/gfx.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scumm/gfx.h') diff --git a/scumm/gfx.h b/scumm/gfx.h index 5d61c1da40..fd54c8cd9b 100644 --- a/scumm/gfx.h +++ b/scumm/gfx.h @@ -232,6 +232,7 @@ protected: byte _NESNametable[16][64], _NESAttributes[64]; byte _NESBaseTiles; byte _NESNametableObj[16][64]; + byte _NESMasktable[16][8]; int _NESObj_x; /* Bitmap decompressors */ @@ -257,6 +258,7 @@ protected: /* Mask decompressors */ void drawStripC64Mask(byte *dst, int stripnr, int width, int height) const; + void drawStripNESMask(byte *dst, int stripnr, int height) const; void decompressMaskImgOr(byte *dst, const byte *src, int height) const; void decompressMaskImg(byte *dst, const byte *src, int height) const; -- cgit v1.2.3