[Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.126,1.127
Max Horn
fingolfin at users.sourceforge.net
Sun Aug 15 07:41:00 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29905
Modified Files:
debugger.cpp
Log Message:
Show a bit less info so that the output of the 'actors' command fits into the console
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- debugger.cpp 14 Aug 2004 19:41:59 -0000 1.126
+++ debugger.cpp 15 Aug 2004 14:40:02 -0000 1.127
@@ -417,18 +417,18 @@
int i;
Actor *a;
- DebugPrintf("+----------------------------------------------------------------+\n");
- DebugPrintf("|# |room| x | y |elev|cos|width|box|mov| zp|frame|scale|dir|cls|\n");
- DebugPrintf("+--+----+----+----+----+---+-----+---+---+---+-----+-----+---+---+\n");
+ DebugPrintf("+-----------------------------------------------------+\n");
+ DebugPrintf("|# | x | y | w |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|%4d|%4d|%3d|%5d|%3d|%3d|%3d|%5d|%5d|%3d|$%02x|\n",
- a->number, a->room, a->_pos.x, a->_pos.y, a->getElevation(), a->costume,
- a->width, a->walkbox, a->moving, a->forceClip, a->frame,
+ DebugPrintf("|%2d|%4d|%4d|%3d|%4d|%3d|%3d|%3d|%3d|%3d|%3d|%3d|$%02x|\n",
+ a->number, a->_pos.x, a->_pos.y, a->width, a->getElevation(),
+ a->costume, a->walkbox, a->moving, a->forceClip, a->frame,
a->scalex, a->getFacing(), int(_vm->_classData[a->number]&0xFF));
}
- DebugPrintf("+----------------------------------------------------------------+\n");
+ DebugPrintf("+-----------------------------------------------------+\n");
return true;
}
More information about the Scummvm-git-logs
mailing list