From e9525f53c654a1527f94a5638c06a94aee45d224 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 7 Feb 2016 21:23:21 +0100 Subject: MOHAWK: Move debug rect draw control to the console It was previously bound to F4 --- engines/mohawk/console.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/mohawk/console.cpp') diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index 9b5bae78be..629cfdf306 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -63,6 +63,7 @@ MystConsole::MystConsole(MohawkEngine_Myst *vm) : GUI::Debugger(), _vm(vm) { registerCmd("disableInitOpcodes", WRAP_METHOD(MystConsole, Cmd_DisableInitOpcodes)); registerCmd("cache", WRAP_METHOD(MystConsole, Cmd_Cache)); registerCmd("resources", WRAP_METHOD(MystConsole, Cmd_Resources)); + registerVar("show_resource_rects", &_vm->_showResourceRects); } MystConsole::~MystConsole() { -- cgit v1.2.3