From 9ca1a888032be5b7ccc14b347f6a85ac8040e6c3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Mar 2005 20:27:12 +0000 Subject: Moved NES stuff in class Gdi into a struct _NES svn-id: r17278 --- scumm/gfx.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'scumm/gfx.h') 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; -- cgit v1.2.3