diff options
author | Matthew Hoops | 2010-11-18 13:31:12 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-18 13:31:12 +0000 |
commit | 48416a7f038dba69a72aa9de2fef1dc1e9087405 (patch) | |
tree | b56a8dd064b259a571b545f7f3b25a04861f6349 /engines/mohawk/bitmap.h | |
parent | 51a954c1dd07c475b01c898ac8614f5a2a83185b (diff) | |
download | scummvm-rg350-48416a7f038dba69a72aa9de2fef1dc1e9087405.tar.gz scummvm-rg350-48416a7f038dba69a72aa9de2fef1dc1e9087405.tar.bz2 scummvm-rg350-48416a7f038dba69a72aa9de2fef1dc1e9087405.zip |
MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)
svn-id: r54319
Diffstat (limited to 'engines/mohawk/bitmap.h')
-rw-r--r-- | engines/mohawk/bitmap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mohawk/bitmap.h b/engines/mohawk/bitmap.h index f1fde92f33..7e1ddcc573 100644 --- a/engines/mohawk/bitmap.h +++ b/engines/mohawk/bitmap.h @@ -60,6 +60,11 @@ enum BitmapFormat { kFlag24_MAC = 0x1000 // 24 bit pixel data has been converted to MAC 32 bit format }; +enum OldBitmapFormat { + kOldPackLZ = 0x0020, + kOldDrawRLE8 = 0x0100 +}; + struct BitmapHeader { uint16 width; uint16 height; @@ -99,10 +104,10 @@ protected: // The actual LZ decoder static Common::SeekableReadStream *decompressLZ(Common::SeekableReadStream *stream, uint32 uncompressedSize); -private: Common::SeekableReadStream *_data; Graphics::Surface *_surface; +private: const char *getPackName(); void unpackImage(); const char *getDrawName(); |