diff options
author | Paweł Kołodziejski | 2003-06-06 05:27:45 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-06-06 05:27:45 +0000 |
commit | 00288b07f8463b61a39ab57eec415f149c333fb1 (patch) | |
tree | 5b039b07d2e7ca15a027b801e774716f727145e3 /scumm/gfx.h | |
parent | 1f846b55dce6c66b169d033dc0d8ab4a46616c37 (diff) | |
download | scummvm-rg350-00288b07f8463b61a39ab57eec415f149c333fb1.tar.gz scummvm-rg350-00288b07f8463b61a39ab57eec415f149c333fb1.tar.bz2 scummvm-rg350-00288b07f8463b61a39ab57eec415f149c333fb1.zip |
fixed almost object drawing for v1 games, (ugly hack for drawBitmap)
svn-id: r8345
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r-- | scumm/gfx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h index f10ef8f613..c388134ebf 100644 --- a/scumm/gfx.h +++ b/scumm/gfx.h @@ -122,13 +122,15 @@ protected: bool _zbufferDisabled; - byte _C64Colors[4], _C64CharMap[256 * 8], _C64PicMap[4096], _C64ColorMap[4096]; + byte _C64Colors[4], _C64CharMap[2048], _C64ObjectMap[2048], _C64PicMap[4096], _C64ColorMap[4096]; byte _C64MaskMap[4096], _C64MaskChar[4096]; + bool _C64ObjectMode; /* Bitmap decompressors */ bool decompressBitmap(byte *bgbak_ptr, const byte *src, int numLinesToProcess); void decodeStripEGA(byte *dst, const byte *src, int height); - void decodeC64Gfx(byte *src, byte *dst, int size); + void decodeC64Gfx(const byte *src, byte *dst, int size); + void drawStripC64Object(byte *dst, int stripnr, int width, int height); void drawStripC64Background(byte *dst, int stripnr, int height); void drawStripC64Mask(byte *dst, int stripnr, int height); void unkDecodeA(byte *dst, const byte *src, int height); |