diff options
author | Matthew Hoops | 2011-03-28 15:20:30 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-03-28 22:26:23 -0400 |
commit | e5811cd6c39333cf7a51eb4943bf4ead0aff681c (patch) | |
tree | 236d057aa30fdbbf870cf337b8679e276a1fd1d8 /engines/mohawk/cursors.h | |
parent | 344369c294e4ade7b6f72de27daf794b0d23d3e3 (diff) | |
download | scummvm-rg350-e5811cd6c39333cf7a51eb4943bf4ead0aff681c.tar.gz scummvm-rg350-e5811cd6c39333cf7a51eb4943bf4ead0aff681c.tar.bz2 scummvm-rg350-e5811cd6c39333cf7a51eb4943bf4ead0aff681c.zip |
MOHAWK: Allow disabling compilation of Myst
Diffstat (limited to 'engines/mohawk/cursors.h')
-rw-r--r-- | engines/mohawk/cursors.h | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/engines/mohawk/cursors.h b/engines/mohawk/cursors.h index e6c417948f..f8a9429689 100644 --- a/engines/mohawk/cursors.h +++ b/engines/mohawk/cursors.h @@ -40,25 +40,6 @@ namespace Common { namespace Mohawk { -// 803-805 are animated, one large bmp which is in chunks - these are NEVER USED -// Other cursors (200, 300, 400, 500, 600, 700) are not the same in each stack -enum { - kDefaultMystCursor = 100, // The default hand - kWhitePageCursor = 800, // Holding a white page - kRedPageCursor = 801, // Holding a red page - kBluePageCursor = 802, // Holding a blue page - // kDroppingWhitePageAnimCursor = 803, - // kDroppingRedPageAnimCursor = 804, - // kDroppingBluePageAnimCursor = 805, - kNewMatchCursor = 900, // Match that has not yet been lit - kLitMatchCursor = 901, // Match that's burning - kDeadMatchCursor = 902, // Match that's been extinguished - kKeyCursor = 903, // Key in Lighthouse in Stoneship - kRotateClockwiseCursor = 904, // Rotate gear clockwise (boiler on Myst) - kRotateCounterClockwiseCursor = 905, // Rotate gear counter clockwise (boiler on Myst) - kMystZipModeCursor = 999 // Zip Mode cursor -}; - enum { kRivenOpenHandCursor = 2003, kRivenClosedHandCursor = 2004, @@ -69,8 +50,6 @@ enum { class MohawkArchive; class MohawkEngine; -class MohawkEngine_Myst; -class MystBitmap; class CursorManager { public: @@ -103,6 +82,30 @@ private: uint32 _tag; }; +#ifdef ENABLE_MYST + +// 803-805 are animated, one large bmp which is in chunks - these are NEVER USED +// Other cursors (200, 300, 400, 500, 600, 700) are not the same in each stack +enum { + kDefaultMystCursor = 100, // The default hand + kWhitePageCursor = 800, // Holding a white page + kRedPageCursor = 801, // Holding a red page + kBluePageCursor = 802, // Holding a blue page + // kDroppingWhitePageAnimCursor = 803, + // kDroppingRedPageAnimCursor = 804, + // kDroppingBluePageAnimCursor = 805, + kNewMatchCursor = 900, // Match that has not yet been lit + kLitMatchCursor = 901, // Match that's burning + kDeadMatchCursor = 902, // Match that's been extinguished + kKeyCursor = 903, // Key in Lighthouse in Stoneship + kRotateClockwiseCursor = 904, // Rotate gear clockwise (boiler on Myst) + kRotateCounterClockwiseCursor = 905, // Rotate gear counter clockwise (boiler on Myst) + kMystZipModeCursor = 999 // Zip Mode cursor +}; + +class MohawkEngine_Myst; +class MystBitmap; + // The cursor manager for Myst // Uses WDIB + CLRC resources class MystCursorManager : public CursorManager { @@ -121,6 +124,8 @@ private: MystBitmap *_bmpDecoder; }; +#endif // ENABLE_MYST + // The cursor manager for NE EXE's class NECursorManager : public CursorManager { public: |