MOHAWK: Allow disabling compilation of Myst
This commit is contained in:
parent
344369c294
commit
e5811cd6c3
14 changed files with 125 additions and 52 deletions
|
@ -24,9 +24,6 @@
|
|||
*/
|
||||
|
||||
#include "mohawk/console.h"
|
||||
#include "mohawk/myst.h"
|
||||
#include "mohawk/myst_areas.h"
|
||||
#include "mohawk/myst_scripts.h"
|
||||
#include "mohawk/graphics.h"
|
||||
#include "mohawk/riven.h"
|
||||
#include "mohawk/riven_external.h"
|
||||
|
@ -35,8 +32,16 @@
|
|||
#include "mohawk/sound.h"
|
||||
#include "mohawk/video.h"
|
||||
|
||||
#ifdef ENABLE_MYST
|
||||
#include "mohawk/myst.h"
|
||||
#include "mohawk/myst_areas.h"
|
||||
#include "mohawk/myst_scripts.h"
|
||||
#endif
|
||||
|
||||
namespace Mohawk {
|
||||
|
||||
#ifdef ENABLE_MYST
|
||||
|
||||
MystConsole::MystConsole(MohawkEngine_Myst *vm) : GUI::Debugger(), _vm(vm) {
|
||||
DCmd_Register("changeCard", WRAP_METHOD(MystConsole, Cmd_ChangeCard));
|
||||
DCmd_Register("curCard", WRAP_METHOD(MystConsole, Cmd_CurCard));
|
||||
|
@ -307,6 +312,8 @@ bool MystConsole::Cmd_Resources(int argc, const char **argv) {
|
|||
return true;
|
||||
}
|
||||
|
||||
#endif // ENABLE_MYST
|
||||
|
||||
RivenConsole::RivenConsole(MohawkEngine_Riven *vm) : GUI::Debugger(), _vm(vm) {
|
||||
DCmd_Register("changeCard", WRAP_METHOD(RivenConsole, Cmd_ChangeCard));
|
||||
DCmd_Register("curCard", WRAP_METHOD(RivenConsole, Cmd_CurCard));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue