aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorMax Horn2005-03-28 20:27:12 +0000
committerMax Horn2005-03-28 20:27:12 +0000
commit9ca1a888032be5b7ccc14b347f6a85ac8040e6c3 (patch)
tree94c8d24cbe30d83e4b131a7031a6d9c418810211 /scumm/gfx.h
parentc5a77afb01dcb4dc9329cecbb603beb73cfed592 (diff)
downloadscummvm-rg350-9ca1a888032be5b7ccc14b347f6a85ac8040e6c3.tar.gz
scummvm-rg350-9ca1a888032be5b7ccc14b347f6a85ac8040e6c3.tar.bz2
scummvm-rg350-9ca1a888032be5b7ccc14b347f6a85ac8040e6c3.zip
Moved NES stuff in class Gdi into a struct _NES
svn-id: r17278
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index f1ebe9ac3c..8f903c8724 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -231,12 +231,13 @@ protected:
byte maskMap[4096], maskChar[4096];
} _C64;
- byte _NESBaseTiles;
- byte _NESNametable[16][64], _NESNametableObj[16][64];
- byte _NESAttributes[64], _NESAttributesObj[64];
- byte _NESMasktable[16][8], _NESMasktableObj[16][8];
- int _NESObj_x;
- bool _NEShasmask;
+ struct {
+ byte nametable[16][64], nametableObj[16][64];
+ byte attributes[64], attributesObj[64];
+ byte masktable[16][8], masktableObj[16][8];
+ int objX;
+ bool hasmask;
+ } _NES;
/** For V2 games, we cache offsets into the room graphics, to speed up things. */
StripTable *_roomStrips;