aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.cpp8
1 files 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;