ScummVM API documentation
Voyeur::Debugger Class Reference
Inheritance diagram for Voyeur::Debugger:
GUI::Debugger

Public Member Functions

 Debugger (VoyeurEngine *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
 

Public Attributes

bool _isTimeActive
 
bool _showMousePosition
 

Protected Member Functions

bool Cmd_Time (int argc, const char **argv)
 
bool Cmd_Hotspots (int argc, const char **argv)
 
bool Cmd_Mouse (int argc, const char **argv)
 
- 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)
 

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 Attributes inherited from GUI::Debugger
PauseToken _debugPauseToken
 
GUI::ConsoleDialog_debuggerDialog
 

Member Function Documentation

◆ Cmd_Time()

bool Voyeur::Debugger::Cmd_Time ( int  argc,
const char **  argv 
)
protected

Turn time on or off, set the current time period, or the camera delay within the current time period.

◆ Cmd_Hotspots()

bool Voyeur::Debugger::Cmd_Hotspots ( int  argc,
const char **  argv 
)
protected

List the active hotspots during the current time period

◆ Cmd_Mouse()

bool Voyeur::Debugger::Cmd_Mouse ( int  argc,
const char **  argv 
)
protected

Toggle showing the mouse on the screen

Member Data Documentation

◆ _isTimeActive

bool Voyeur::Debugger::_isTimeActive

Specifies whether time should pass, and the video camera's batteries go down true


The documentation for this class was generated from the following file: