diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/debug.cpp | 7 | ||||
-rw-r--r-- | engines/parallaction/debug.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/parallaction/debug.cpp b/engines/parallaction/debug.cpp index f9e80fa288..bebbab968b 100644 --- a/engines/parallaction/debug.cpp +++ b/engines/parallaction/debug.cpp @@ -47,7 +47,7 @@ Debugger::Debugger(Parallaction *vm) DCmd_Register("locations", WRAP_METHOD(Debugger, Cmd_Locations)); DCmd_Register("gfxobjects", WRAP_METHOD(Debugger, Cmd_GfxObjects)); DCmd_Register("programs", WRAP_METHOD(Debugger, Cmd_Programs)); - + DCmd_Register("showmouse", WRAP_METHOD(Debugger, Cmd_ShowMouse)); } @@ -322,4 +322,9 @@ bool Debugger::Cmd_Programs(int argc, const char** argv) { return true; } +bool Debugger::Cmd_ShowMouse(int argc, const char** argv) { + _mouseState = MOUSE_ENABLED_SHOW; + return true; +} + } // namespace Parallaction diff --git a/engines/parallaction/debug.h b/engines/parallaction/debug.h index 2f807b0e88..887d08e945 100644 --- a/engines/parallaction/debug.h +++ b/engines/parallaction/debug.h @@ -33,6 +33,7 @@ private: bool Cmd_Locations(int argc, const char **argv); bool Cmd_GfxObjects(int argc, const char **argv); bool Cmd_Programs(int argc, const char** argv); + bool Cmd_ShowMouse(int argc, const char** argv); Common::String decodeZoneFlags(uint32 flags); }; |