aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-16 03:20:32 +0000
committerEugene Sandulenko2005-03-16 03:20:32 +0000
commitf86768fee8aabb448152092b95a0a0b08e59eb63 (patch)
tree0fc24b4274f3b1bca8033e174034d848a9d9452f /scumm/scumm.h
parentdd71f57aeb2d921e89d4409a2548bddc4280a2d3 (diff)
downloadscummvm-rg350-f86768fee8aabb448152092b95a0a0b08e59eb63.tar.gz
scummvm-rg350-f86768fee8aabb448152092b95a0a0b08e59eb63.tar.bz2
scummvm-rg350-f86768fee8aabb448152092b95a0a0b08e59eb63.zip
Preliminary support for NES charsets. Colors are wrong and we get glitches
caused by too narrow screen. Also text clearing doesn't work. svn-id: r17164
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 4c7fbb6b32..49daf51cc7 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -471,8 +471,12 @@ public:
BaseCostumeRenderer* _costumeRenderer;
- int _v1MMNESCostumeSet;
- byte *_v1MMNESCostumeGfx[2];
+ int _NESCostumeSet;
+ byte *_NESCostumeGfx[2];
+
+ byte _NESPatTable[4096];
+ byte _NESPalette[16];
+ byte _NESBaseTiles;
char *_audioNames;
int32 _numAudioNames;
@@ -916,6 +920,8 @@ protected:
void initBGBuffers(int height);
void initCycl(const byte *ptr); // Color cycle
+ void decodeNESBaseTiles();
+
void drawObject(int obj, int arg);
void drawRoomObjects(int arg);
void drawRoomObject(int i, int arg);