diff options
author | Matthew Hoops | 2010-11-28 22:55:15 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-28 22:55:15 +0000 |
commit | 2d924afa9d307c6eaa8126c8e0367b9e1216da5e (patch) | |
tree | bbf2b2aa747e5c338f6ea77d8daaa02e3198ae4e /engines/mohawk/graphics.h | |
parent | f403c0f8a862573d46957f8adaf8dc32b7548e2e (diff) | |
download | scummvm-rg350-2d924afa9d307c6eaa8126c8e0367b9e1216da5e.tar.gz scummvm-rg350-2d924afa9d307c6eaa8126c8e0367b9e1216da5e.tar.bz2 scummvm-rg350-2d924afa9d307c6eaa8126c8e0367b9e1216da5e.zip |
MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape.
svn-id: r54558
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r-- | engines/mohawk/graphics.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index 38d174b481..71bdf2f4a7 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -196,11 +196,13 @@ private: class LBGraphics : public GraphicsManager { public: - LBGraphics(MohawkEngine_LivingBooks *vm); + LBGraphics(MohawkEngine_LivingBooks *vm, uint16 width, uint16 height); ~LBGraphics(); - void copyImageToScreen(uint16 image, uint16 left = 0, uint16 top = 0); + void preloadImage(uint16 image); + void copyImageToScreen(uint16 image, bool useOffsets = false, int left = 0, int top = 0); void setPalette(uint16 id); + bool imageIsTransparentAt(uint16 image, bool useOffsets, int x, int y); protected: MohawkSurface *decodeImage(uint16 id); |