aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-08-18 17:43:18 +0000
committerMax Horn2002-08-18 17:43:18 +0000
commit97d127252bf5ae7958cd0ded27855be3c2188fa6 (patch)
treece31d9e0d53d6959f267d5553f1b967b6f4f5d7f
parentb204c21c32d9c55cf0f6542909d3cd8ae2d70cc2 (diff)
downloadscummvm-rg350-97d127252bf5ae7958cd0ded27855be3c2188fa6.tar.gz
scummvm-rg350-97d127252bf5ae7958cd0ded27855be3c2188fa6.tar.bz2
scummvm-rg350-97d127252bf5ae7958cd0ded27855be3c2188fa6.zip
print out actor class bits
svn-id: r4757
-rw-r--r--debug.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/debug.cpp b/debug.cpp
index af69ae87bb..6957f13bf4 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -260,16 +260,17 @@ void ScummDebugger::printActors(int act)
int i;
Actor *a;
- printf("+--------------------------------------------------------------+\n");
- printf("|# |room| x y |elev|cos|width|box|mov|zp|frame|scale|spd|dir|\n");
- printf("+--+----+--------+----+---+-----+---+---+--+-----+-----+---+---+\n");
+ printf("+------------------------------------------------------------------+\n");
+ printf("|# |room| x y |elev|cos|width|box|mov|zp|frame|scale|spd|dir|cls|\n");
+ printf("+--+----+--------+----+---+-----+---+---+--+-----+-----+---+---+---+\n");
for (i = 1; i < _s->NUM_ACTORS; i++) {
if (act == -1 || act == i) {
a = &_s->_actors[i];
if (a->visible)
- printf("|%2d|%4d|%3d %3d|%4d|%3d|%5d|%3d|%3d|%2d|%5d|%5d|%3d|%3d|\n",
- i, a->room, a->x, a->y, a->elevation, a->costume, a->width,
- a->walkbox, a->moving, a->forceClip, a->frame, a->scalex, a->speedx, a->facing);
+ printf("|%2d|%4d|%3d %3d|%4d|%3d|%5d|%3d|%3d|%2d|%5d|%5d|%3d|%3d|$%02x|\n",
+ a->number, a->room, a->x, a->y, a->elevation, a->costume,
+ a->width, a->walkbox, a->moving, a->forceClip, a->frame,
+ a->scalex, a->speedx, a->facing, _s->_classData[a->number]);
}
}
printf("+--------------------------------------------------------------+\n");
@@ -291,7 +292,7 @@ void ScummDebugger::printScripts()
ss->freezeCount, ss->cutsceneOverride, ss->unk5);
}
}
- printf("+---------------------------------+\n");
+ printf("+-------------------------------------+\n");
}