scummvm/engines/parallaction/debug.h
David Turner 81729b87e8 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
2011-01-14 03:25:39 +00:00

44 lines
1.1 KiB
C++

#ifndef PARALLACTION_DEBUGGER_H
#define PARALLACTION_DEBUGGER_H
#include "gui/debugger.h"
#include "parallaction/input.h"
namespace Parallaction {
class Parallaction;
class Debugger : public GUI::Debugger {
public:
Debugger(Parallaction *vm);
virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ
private:
virtual void preEnter();
virtual void postEnter();
private:
Parallaction *_vm;
MouseTriState _mouseState;
bool Cmd_DebugLevel(int argc, const char **argv);
bool Cmd_Location(int argc, const char **argv);
bool Cmd_Give(int argc, const char **argv);
bool Cmd_Zones(int argc, const char **argv);
bool Cmd_Animations(int argc, const char **argv);
bool Cmd_LocalFlags(int argc, const char **argv);
bool Cmd_GlobalFlags(int argc, const char **argv);
bool Cmd_ToggleGlobalFlag(int argc, const char **argv);
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);
};
} // End of namespace Parallaction
#endif