aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-13 23:18:59 +0000
committerEugene Sandulenko2005-03-13 23:18:59 +0000
commit654528422dbe9174eaad34bde7bfab5b4c29739d (patch)
tree07e9547efb98795e349c0ecd775a12673be6c871 /scumm/gfx.h
parente7ea46c0a3bed29d8f995072c049cfdf2dd39dd6 (diff)
downloadscummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.gz
scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.bz2
scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.zip
Preliminary support for MM NES.
svn-id: r17133
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h5
1 files changed, 5 insertions, 0 deletions
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);