diff options
author | Max Horn | 2002-07-25 21:15:55 +0000 |
---|---|---|
committer | Max Horn | 2002-07-25 21:15:55 +0000 |
commit | dcdba20a69e84189e13f303b8c3996149a0997c6 (patch) | |
tree | 13bff2da3da935b4d6f91d7d1fbaa3197199340e | |
parent | 5b438bd24819b28f47b1d52e10f3ee7126cf91bf (diff) | |
download | scummvm-rg350-dcdba20a69e84189e13f303b8c3996149a0997c6.tar.gz scummvm-rg350-dcdba20a69e84189e13f303b8c3996149a0997c6.tar.bz2 scummvm-rg350-dcdba20a69e84189e13f303b8c3996149a0997c6.zip |
output box flags, too; ignore annoying warning
svn-id: r4630
-rw-r--r-- | debug.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -112,6 +112,7 @@ bool ScummDebugger::do_command() int num, i = 0; BoxCoords box; byte *boxm = _s->getBoxMatrixBaseAddr(); + int flags; num = _s->getNumBoxes(); printf("Walk matrix:\n"); @@ -126,11 +127,12 @@ bool ScummDebugger::do_command() printf("\nWalk boxes:\n"); for (i = 0; i < num; i++) { - warning("BoxTest currently unimplemented in new graphics code\n"); + //warning("BoxTest currently unimplemented in new graphics code\n"); /*BoxTest(i); */ _s->getBoxCoordinates(i, &box); - printf("%d: [%d x %d] [%d x %d] [%d x %d] [%d x %d]\n", i, - box.ul.x, box.ul.y, box.ll.x, box.ll.y, box.ur.x, box.ur.y, box.lr.x, box.lr.y); + flags = _s->getBoxFlags(i); + printf("%d: [%d x %d] [%d x %d] [%d x %d] [%d x %d], flags=0x%02x\n", i, + box.ul.x, box.ul.y, box.ll.x, box.ll.y, box.ur.x, box.ur.y, box.lr.x, box.lr.y), flags; } } return true; |