mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Print some camera info
svn-id: r15925
This commit is contained in:
parent
b03c70f460
commit
232ef35298
@ -81,6 +81,7 @@ ScummDebugger::ScummDebugger(ScummEngine *s)
|
||||
DCmd_Register("actors", &ScummDebugger::Cmd_PrintActor);
|
||||
DCmd_Register("box", &ScummDebugger::Cmd_PrintBox);
|
||||
DCmd_Register("matrix", &ScummDebugger::Cmd_PrintBoxMatrix);
|
||||
DCmd_Register("camera", &ScummDebugger::Cmd_Camera);
|
||||
DCmd_Register("room", &ScummDebugger::Cmd_Room);
|
||||
DCmd_Register("objects", &ScummDebugger::Cmd_PrintObjects);
|
||||
DCmd_Register("object", &ScummDebugger::Cmd_Object);
|
||||
@ -609,6 +610,14 @@ bool ScummDebugger::Cmd_DebugLevel(int argc, const char **argv) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ScummDebugger::Cmd_Camera(int argc, const char **argv) {
|
||||
DebugPrintf("Camera: cur (%d,%d) - dest (%d,%d) - accel (%d,%d) -- last (%d,%d)\n",
|
||||
_vm->camera._cur.x, _vm->camera._cur.y, _vm->camera._dest.x, _vm->camera._dest.y,
|
||||
_vm->camera._accel.x, _vm->camera._accel.y, _vm->camera._last.x, _vm->camera._last.y);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ScummDebugger::Cmd_PrintBox(int argc, const char **argv) {
|
||||
int num, i = 0;
|
||||
|
||||
|
@ -50,6 +50,7 @@ protected:
|
||||
bool Cmd_PrintBoxMatrix(int argc, const char **argv);
|
||||
bool Cmd_PrintObjects(int argc, const char **argv);
|
||||
bool Cmd_Actor(int argc, const char **argv);
|
||||
bool Cmd_Camera(int argc, const char **argv);
|
||||
bool Cmd_Object(int argc, const char **argv);
|
||||
bool Cmd_Script(int argc, const char **argv);
|
||||
bool Cmd_PrintScript(int argc, const char **argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user