From 4a7572d893fd50c25ff7576bdb7064bc3a85711d Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 28 Mar 2011 15:31:14 -0400 Subject: MOHAWK: Allow disabling compiling cstime --- engines/mohawk/console.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/console.h') diff --git a/engines/mohawk/console.h b/engines/mohawk/console.h index cefd0b1f4c..450802f508 100644 --- a/engines/mohawk/console.h +++ b/engines/mohawk/console.h @@ -32,9 +32,9 @@ namespace Mohawk { class MohawkEngine_Riven; class MohawkEngine_LivingBooks; -class MohawkEngine_CSTime; #ifdef ENABLE_MYST + class MohawkEngine_Myst; class MystConsole : public GUI::Debugger { @@ -60,6 +60,7 @@ private: bool Cmd_Cache(int argc, const char **argv); bool Cmd_Resources(int argc, const char **argv); }; + #endif class RivenConsole : public GUI::Debugger { @@ -102,6 +103,10 @@ private: bool Cmd_ChangePage(int argc, const char **argv); }; +#ifdef ENABLE_CSTIME + +class MohawkEngine_CSTime; + class CSTimeConsole : public GUI::Debugger { public: CSTimeConsole(MohawkEngine_CSTime *vm); @@ -120,6 +125,8 @@ private: bool Cmd_InvItem(int argc, const char **argv); }; +#endif + } // End of namespace Mohawk #endif -- cgit v1.2.3