aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-05-14 16:29:04 +0200
committerMax Horn2011-05-14 16:30:30 +0200
commitdc85f5c473bebc59378dad5f99dede059d68c59d (patch)
treee2f8aa1417205ff18d33909758bd3f4a89466fe1
parent7557cbd617266c1bf8d37d59bc5d0abfb6d00a94 (diff)
downloadscummvm-rg350-dc85f5c473bebc59378dad5f99dede059d68c59d.tar.gz
scummvm-rg350-dc85f5c473bebc59378dad5f99dede059d68c59d.tar.bz2
scummvm-rg350-dc85f5c473bebc59378dad5f99dede059d68c59d.zip
SCUMM: Show actor visible height in debugger
-rw-r--r--engines/scumm/debugger.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp
index 205b7a493c..9cfdfbccc9 100644
--- a/engines/scumm/debugger.cpp
+++ b/engines/scumm/debugger.cpp
@@ -399,14 +399,15 @@ bool ScummDebugger::Cmd_PrintActor(int argc, const char **argv) {
int i;
Actor *a;
- DebugPrintf("+-----------------------------------------------------------+\n");
- DebugPrintf("|# | x | y | w |elev|cos|box|mov| zp|frm|scl|dir| cls |\n");
- DebugPrintf("+--+----+----+---+----+---+---+---+---+---+---+---+---------+\n");
+ DebugPrintf("+---------------------------------------------------------------+\n");
+ DebugPrintf("|# | x | y | w | h |elev|cos|box|mov| zp|frm|scl|dir| cls |\n");
+ DebugPrintf("+--+----+----+---+---+----+---+---+---+---+---+---+---+---------+\n");
for (i = 1; i < _vm->_numActors; i++) {
a = _vm->_actors[i];
if (a->_visible)
- DebugPrintf("|%2d|%4d|%4d|%3d|%4d|%3d|%3d|%3d|%3d|%3d|%3d|%3d|$%08x|\n",
- a->_number, a->getRealPos().x, a->getRealPos().y, a->_width, a->getElevation(),
+ DebugPrintf("|%2d|%4d|%4d|%3d|%3d|%4d|%3d|%3d|%3d|%3d|%3d|%3d|%3d|$%08x|\n",
+ a->_number, a->getRealPos().x, a->getRealPos().y, a->_width, a->_bottom - a->_top,
+ a->getElevation(),
a->_costume, a->_walkbox, a->_moving, a->_forceClip, a->_frame,
a->_scalex, a->getFacing(), _vm->_classData[a->_number]);
}