mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
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. svn-id: r55234
This commit is contained in:
parent
28e7ea8c22
commit
81729b87e8
@ -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
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user