[Scummvm-cvs-logs] SF.net SVN: scummvm:[55234] scummvm/trunk/engines/parallaction
tdhs at users.sourceforge.net
tdhs at users.sourceforge.net
Fri Jan 14 04:25:41 CET 2011
Revision: 55234
http://scummvm.svn.sourceforge.net/scummvm/?rev=55234&view=rev
Author: tdhs
Date: 2011-01-14 03:25:39 +0000 (Fri, 14 Jan 2011)
Log Message:
-----------
PARALLACTION: Add debug console command "showmouse".
This command forces the mouse state to Enabled and Visible.
This is intended to help playtesting in Big Red Adventure, which has an issue currently with the mouse pointer getting stuck in the hidden state in some cases.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/debug.cpp
scummvm/trunk/engines/parallaction/debug.h
Modified: scummvm/trunk/engines/parallaction/debug.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/debug.cpp 2011-01-14 00:13:27 UTC (rev 55233)
+++ scummvm/trunk/engines/parallaction/debug.cpp 2011-01-14 03:25:39 UTC (rev 55234)
@@ -47,7 +47,7 @@
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 @@
return true;
}
+bool Debugger::Cmd_ShowMouse(int argc, const char** argv) {
+ _mouseState = MOUSE_ENABLED_SHOW;
+ return true;
+}
+
} // namespace Parallaction
Modified: scummvm/trunk/engines/parallaction/debug.h
===================================================================
--- scummvm/trunk/engines/parallaction/debug.h 2011-01-14 00:13:27 UTC (rev 55233)
+++ scummvm/trunk/engines/parallaction/debug.h 2011-01-14 03:25:39 UTC (rev 55234)
@@ -33,6 +33,7 @@
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);
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list