From 654528422dbe9174eaad34bde7bfab5b4c29739d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 13 Mar 2005 23:18:59 +0000 Subject: Preliminary support for MM NES. svn-id: r17133 --- scumm/gfx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scumm/gfx.h') diff --git a/scumm/gfx.h b/scumm/gfx.h index a715d94651..df55ca8a5b 100644 --- a/scumm/gfx.h +++ b/scumm/gfx.h @@ -229,12 +229,16 @@ protected: byte _C64MaskMap[4096], _C64MaskChar[4096]; bool _C64ObjectMode; + byte _NESPatTable[4096], _NESNametable[16][64], _NESAttributes[64], _NESPalette[16]; + byte _NESBaseTiles; + /* Bitmap decompressors */ bool decompressBitmap(byte *dst, int dstPitch, const byte *src, int numLinesToProcess); void drawStripEGA(byte *dst, int dstPitch, const byte *src, int height) const; void drawStripC64Object(byte *dst, int dstPitch, int stripnr, int width, int height); void drawStripC64Background(byte *dst, int dstPitch, int stripnr, int height); + void drawStripNES(byte *dst, int dstPitch, int stripnr, int height); void drawStripComplex(byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const; void drawStripBasicH(byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const; @@ -275,6 +279,7 @@ public: StripTable *generateStripTable(const byte *src, int width, int height, StripTable *table) const; void decodeC64Gfx(const byte *src, byte *dst, int size) const; + void decodeNESGfx(const byte *room); void drawBMAPBg(const byte *ptr, VirtScreen *vs, int startstrip); void drawBMAPObject(const byte *ptr, VirtScreen *vs, int obj, int x, int y, int w, int h); -- cgit v1.2.3