aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/bitmap.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-25 02:59:56 +0000
committerMatthew Hoops2010-11-25 02:59:56 +0000
commit4c733c427862fa45315e56bcba07e03bb3872ed2 (patch)
tree52e6978c5d80ee87a0c60b22a1c2ef0c88aa2168 /engines/mohawk/bitmap.h
parent3abab136da51b9dcb5589052c8645a8d30d904bb (diff)
downloadscummvm-rg350-4c733c427862fa45315e56bcba07e03bb3872ed2.tar.gz
scummvm-rg350-4c733c427862fa45315e56bcba07e03bb3872ed2.tar.bz2
scummvm-rg350-4c733c427862fa45315e56bcba07e03bb3872ed2.zip
MOHAWK: Cleanup image surface handling
- Renamed ImageData to MohawkSurface - Added offset x/y fields to MohawkSurface - The image cache now stores MohawkSurface pointers - Switched Living Books to 8bpp mode (it requires that in the end anyway) svn-id: r54468
Diffstat (limited to 'engines/mohawk/bitmap.h')
-rw-r--r--engines/mohawk/bitmap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/bitmap.h b/engines/mohawk/bitmap.h
index 844185035e..13df68738e 100644
--- a/engines/mohawk/bitmap.h
+++ b/engines/mohawk/bitmap.h
@@ -34,7 +34,7 @@
namespace Mohawk {
-class ImageData;
+class MohawkSurface;
enum BitmapFormat {
kBitsPerPixel1 = 0x0000,
@@ -84,7 +84,7 @@ public:
MohawkBitmap();
virtual ~MohawkBitmap();
- virtual ImageData *decodeImage(Common::SeekableReadStream *stream);
+ virtual MohawkSurface *decodeImage(Common::SeekableReadStream *stream);
protected:
BitmapHeader _header;
@@ -147,7 +147,7 @@ public:
MystBitmap() : MohawkBitmap() {}
~MystBitmap() {}
- ImageData *decodeImage(Common::SeekableReadStream *stream);
+ MohawkSurface *decodeImage(Common::SeekableReadStream *stream);
protected:
byte getBitsPerPixel() { return _info.bitsPerPixel; }
@@ -181,7 +181,7 @@ public:
OldMohawkBitmap() : MohawkBitmap() {}
~OldMohawkBitmap() {}
- ImageData *decodeImage(Common::SeekableReadStream *stream);
+ MohawkSurface *decodeImage(Common::SeekableReadStream *stream);
protected:
byte getBitsPerPixel() { return 8; }