From dcdba20a69e84189e13f303b8c3996149a0997c6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 25 Jul 2002 21:15:55 +0000 Subject: output box flags, too; ignore annoying warning svn-id: r4630 --- debug.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/debug.cpp b/debug.cpp index 4fe0d6560c..37cc9c609c 100644 --- a/debug.cpp +++ b/debug.cpp @@ -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; -- cgit v1.2.3