diff options
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 |