diff options
Diffstat (limited to 'engines/sword2/console.cpp')
-rw-r--r-- | engines/sword2/console.cpp | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/engines/sword2/console.cpp b/engines/sword2/console.cpp index 7c45368951..810b40c583 100644 --- a/engines/sword2/console.cpp +++ b/engines/sword2/console.cpp @@ -82,45 +82,45 @@ Debugger::Debugger(Sword2Engine *vm) // Register commands - DCmd_Register("continue", WRAP_METHOD(Debugger, Cmd_Exit)); - DCmd_Register("q", WRAP_METHOD(Debugger, Cmd_Exit)); - DCmd_Register("mem", WRAP_METHOD(Debugger, Cmd_Mem)); - DCmd_Register("tony", WRAP_METHOD(Debugger, Cmd_Tony)); - DCmd_Register("res", WRAP_METHOD(Debugger, Cmd_Res)); - DCmd_Register("reslist", WRAP_METHOD(Debugger, Cmd_ResList)); - DCmd_Register("starts", WRAP_METHOD(Debugger, Cmd_Starts)); - DCmd_Register("start", WRAP_METHOD(Debugger, Cmd_Start)); - DCmd_Register("s", WRAP_METHOD(Debugger, Cmd_Start)); - DCmd_Register("info", WRAP_METHOD(Debugger, Cmd_Info)); - DCmd_Register("walkgrid", WRAP_METHOD(Debugger, Cmd_WalkGrid)); - DCmd_Register("mouse", WRAP_METHOD(Debugger, Cmd_Mouse)); - DCmd_Register("player", WRAP_METHOD(Debugger, Cmd_Player)); - DCmd_Register("reslook", WRAP_METHOD(Debugger, Cmd_ResLook)); - DCmd_Register("cur", WRAP_METHOD(Debugger, Cmd_CurrentInfo)); - DCmd_Register("runlist", WRAP_METHOD(Debugger, Cmd_RunList)); - DCmd_Register("kill", WRAP_METHOD(Debugger, Cmd_Kill)); - DCmd_Register("nuke", WRAP_METHOD(Debugger, Cmd_Nuke)); - DCmd_Register("var", WRAP_METHOD(Debugger, Cmd_Var)); - DCmd_Register("rect", WRAP_METHOD(Debugger, Cmd_Rect)); - DCmd_Register("clear", WRAP_METHOD(Debugger, Cmd_Clear)); - DCmd_Register("debugon", WRAP_METHOD(Debugger, Cmd_DebugOn)); - DCmd_Register("debugoff", WRAP_METHOD(Debugger, Cmd_DebugOff)); - DCmd_Register("saverest", WRAP_METHOD(Debugger, Cmd_SaveRest)); - DCmd_Register("timeon", WRAP_METHOD(Debugger, Cmd_TimeOn)); - DCmd_Register("timeoff", WRAP_METHOD(Debugger, Cmd_TimeOff)); - DCmd_Register("text", WRAP_METHOD(Debugger, Cmd_Text)); - DCmd_Register("showvar", WRAP_METHOD(Debugger, Cmd_ShowVar)); - DCmd_Register("hidevar", WRAP_METHOD(Debugger, Cmd_HideVar)); - DCmd_Register("version", WRAP_METHOD(Debugger, Cmd_Version)); - DCmd_Register("animtest", WRAP_METHOD(Debugger, Cmd_AnimTest)); - DCmd_Register("texttest", WRAP_METHOD(Debugger, Cmd_TextTest)); - DCmd_Register("linetest", WRAP_METHOD(Debugger, Cmd_LineTest)); - DCmd_Register("events", WRAP_METHOD(Debugger, Cmd_Events)); - DCmd_Register("sfx", WRAP_METHOD(Debugger, Cmd_Sfx)); - DCmd_Register("english", WRAP_METHOD(Debugger, Cmd_English)); - DCmd_Register("finnish", WRAP_METHOD(Debugger, Cmd_Finnish)); - DCmd_Register("polish", WRAP_METHOD(Debugger, Cmd_Polish)); - DCmd_Register("fxq", WRAP_METHOD(Debugger, Cmd_FxQueue)); + registerCmd("continue", WRAP_METHOD(Debugger, Cmd_Exit)); + registerCmd("q", WRAP_METHOD(Debugger, Cmd_Exit)); + registerCmd("mem", WRAP_METHOD(Debugger, Cmd_Mem)); + registerCmd("tony", WRAP_METHOD(Debugger, Cmd_Tony)); + registerCmd("res", WRAP_METHOD(Debugger, Cmd_Res)); + registerCmd("reslist", WRAP_METHOD(Debugger, Cmd_ResList)); + registerCmd("starts", WRAP_METHOD(Debugger, Cmd_Starts)); + registerCmd("start", WRAP_METHOD(Debugger, Cmd_Start)); + registerCmd("s", WRAP_METHOD(Debugger, Cmd_Start)); + registerCmd("info", WRAP_METHOD(Debugger, Cmd_Info)); + registerCmd("walkgrid", WRAP_METHOD(Debugger, Cmd_WalkGrid)); + registerCmd("mouse", WRAP_METHOD(Debugger, Cmd_Mouse)); + registerCmd("player", WRAP_METHOD(Debugger, Cmd_Player)); + registerCmd("reslook", WRAP_METHOD(Debugger, Cmd_ResLook)); + registerCmd("cur", WRAP_METHOD(Debugger, Cmd_CurrentInfo)); + registerCmd("runlist", WRAP_METHOD(Debugger, Cmd_RunList)); + registerCmd("kill", WRAP_METHOD(Debugger, Cmd_Kill)); + registerCmd("nuke", WRAP_METHOD(Debugger, Cmd_Nuke)); + registerCmd("var", WRAP_METHOD(Debugger, Cmd_Var)); + registerCmd("rect", WRAP_METHOD(Debugger, Cmd_Rect)); + registerCmd("clear", WRAP_METHOD(Debugger, Cmd_Clear)); + registerCmd("debugon", WRAP_METHOD(Debugger, Cmd_DebugOn)); + registerCmd("debugoff", WRAP_METHOD(Debugger, Cmd_DebugOff)); + registerCmd("saverest", WRAP_METHOD(Debugger, Cmd_SaveRest)); + registerCmd("timeon", WRAP_METHOD(Debugger, Cmd_TimeOn)); + registerCmd("timeoff", WRAP_METHOD(Debugger, Cmd_TimeOff)); + registerCmd("text", WRAP_METHOD(Debugger, Cmd_Text)); + registerCmd("showvar", WRAP_METHOD(Debugger, Cmd_ShowVar)); + registerCmd("hidevar", WRAP_METHOD(Debugger, Cmd_HideVar)); + registerCmd("version", WRAP_METHOD(Debugger, Cmd_Version)); + registerCmd("animtest", WRAP_METHOD(Debugger, Cmd_AnimTest)); + registerCmd("texttest", WRAP_METHOD(Debugger, Cmd_TextTest)); + registerCmd("linetest", WRAP_METHOD(Debugger, Cmd_LineTest)); + registerCmd("events", WRAP_METHOD(Debugger, Cmd_Events)); + registerCmd("sfx", WRAP_METHOD(Debugger, Cmd_Sfx)); + registerCmd("english", WRAP_METHOD(Debugger, Cmd_English)); + registerCmd("finnish", WRAP_METHOD(Debugger, Cmd_Finnish)); + registerCmd("polish", WRAP_METHOD(Debugger, Cmd_Polish)); + registerCmd("fxq", WRAP_METHOD(Debugger, Cmd_FxQueue)); } void Debugger::varGet(int var) { |