From e5811cd6c39333cf7a51eb4943bf4ead0aff681c Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 28 Mar 2011 15:20:30 -0400 Subject: MOHAWK: Allow disabling compilation of Myst --- engines/mohawk/graphics.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'engines/mohawk/graphics.h') diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index fbac2f2ea1..99baa4e339 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -33,26 +33,16 @@ #include "graphics/pict.h" namespace Graphics { - -class JPEG; - + class JPEG; } namespace Mohawk { class MohawkEngine; -class MohawkEngine_Myst; class MohawkEngine_Riven; class MohawkEngine_LivingBooks; class MohawkEngine_CSTime; class MohawkBitmap; -class MystBitmap; - -enum RectState{ - kRectEnabled, - kRectDisabled, - kRectUnreachable -}; class MohawkSurface { public: @@ -118,6 +108,17 @@ private: Common::HashMap > _subImageCache; }; +#ifdef ENABLE_MYST + +class MystBitmap; +class MohawkEngine_Myst; + +enum RectState { + kRectEnabled, + kRectDisabled, + kRectUnreachable +}; + class MystGraphics : public GraphicsManager { public: MystGraphics(MohawkEngine_Myst*); @@ -162,6 +163,8 @@ private: Common::Rect _viewport; }; +#endif + struct SFXERecord { // Record values uint16 frameCount; -- cgit v1.2.3