diff options
author | Alyssa Milburn | 2011-01-20 21:35:00 +0000 |
---|---|---|
committer | Alyssa Milburn | 2011-01-20 21:35:00 +0000 |
commit | b10f072c9e735b85edc297d243b12ae50a9fb833 (patch) | |
tree | d94e4a423dc32f934558c4a71aa33a4da62fccf2 /engines/mohawk/graphics.h | |
parent | 1e2ac8bc13d264d3bfe7766a501df7454f972c7d (diff) | |
download | scummvm-rg350-b10f072c9e735b85edc297d243b12ae50a9fb833.tar.gz scummvm-rg350-b10f072c9e735b85edc297d243b12ae50a9fb833.tar.bz2 scummvm-rg350-b10f072c9e735b85edc297d243b12ae50a9fb833.zip |
MOHAWK: Add CSTime engine.
svn-id: r55362
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r-- | engines/mohawk/graphics.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index 22dcb86aff..89189d442a 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -44,6 +44,7 @@ class MohawkEngine; class MohawkEngine_Myst; class MohawkEngine_Riven; class MohawkEngine_LivingBooks; +class MohawkEngine_CSTime; class MohawkBitmap; class MystBitmap; @@ -243,6 +244,23 @@ private: MohawkEngine_LivingBooks *_vm; }; +class CSTimeGraphics : public GraphicsManager { +public: + CSTimeGraphics(MohawkEngine_CSTime *vm); + ~CSTimeGraphics(); + + void drawRect(Common::Rect rect, byte color); + +protected: + MohawkSurface *decodeImage(uint16 id); + Common::Array<MohawkSurface *> decodeImages(uint16 id); + MohawkEngine *getVM() { return (MohawkEngine *)_vm; } + +private: + MohawkBitmap *_bmpDecoder; + MohawkEngine_CSTime *_vm; +}; + } // End of namespace Mohawk #endif |