Public Member Functions | |
Console (Saga2Engine *vm) | |
Public Member Functions inherited from GUI::Debugger | |
int | getCharsPerLine () |
int | debugPrintf (MSVC_PRINTF const char *format,...) GCC_PRINTF(2 |
int void | debugPrintColumns (const Common::StringArray &list) |
virtual void | onFrame () |
virtual void | attach (const char *entry=nullptr) |
bool | isActive () const |
Additional Inherited Members | |
Protected Types inherited from GUI::Debugger | |
enum | VarType { DVAR_BYTE, DVAR_INT, DVAR_FLOAT, DVAR_BOOL, DVAR_INTARRAY, DVAR_STRING } |
typedef Common::Functor1< const char *, bool > | defaultCommand |
typedef Common::Functor2< int, const char **, bool > | Debuglet |
Protected Member Functions inherited from GUI::Debugger | |
void | registerVar (const Common::String &varname, byte *variable) |
void | registerVar (const Common::String &varname, int *variable) |
void | registerVar (const Common::String &varname, float *variable) |
void | registerVar (const Common::String &varname, bool *variable) |
void | registerVar (const Common::String &varname, int32 **variable, int arraySize) |
void | registerVar (const Common::String &varname, Common::String *variable) |
void | registerCmd (const Common::String &cmdname, Debuglet *debuglet) |
void | registerDefaultCmd (defaultCommand *defaultCommandProcessor) |
void | clearVars () |
void | setPrompt (Common::String prompt) |
void | resetPrompt () |
virtual void | preEnter () |
virtual void | postEnter () |
virtual bool | handleCommand (int argc, const char **argv, bool &keepRunning) |
void | detach () |
bool | cmdExit (int argc, const char **argv) |
bool | cmdHelp (int argc, const char **argv) |
bool | cmdOpenLog (int argc, const char **argv) |
bool | cmdMd5 (int argc, const char **argv) |
bool | cmdMd5Mac (int argc, const char **argv) |
bool | cmdDebugLevel (int argc, const char **argv) |
bool | cmdDebugFlagsList (int argc, const char **argv) |
bool | cmdDebugFlagEnable (int argc, const char **argv) |
bool | cmdDebugFlagDisable (int argc, const char **argv) |
bool | cmdClearLog (int argc, const char **argv) |
bool | cmdExecFile (int argc, const char **argv) |
Protected Attributes inherited from GUI::Debugger | |
PauseToken | _debugPauseToken |
GUI::ConsoleDialog * | _debuggerDialog |