[Scummvm-cvs-logs] SF.net SVN: scummvm: [25371] scummvm/trunk/engines/scumm/debugger.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Feb 4 02:52:51 CET 2007
Revision: 25371
http://scummvm.svn.sourceforge.net/scummvm/?rev=25371&view=rev
Author: fingolfin
Date: 2007-02-03 17:52:50 -0800 (Sat, 03 Feb 2007)
Log Message:
-----------
Use Actor::getRealPos instead of Actor::getPos in the debugger
Modified Paths:
--------------
scummvm/trunk/engines/scumm/debugger.cpp
Modified: scummvm/trunk/engines/scumm/debugger.cpp
===================================================================
--- scummvm/trunk/engines/scumm/debugger.cpp 2007-02-04 01:24:43 UTC (rev 25370)
+++ scummvm/trunk/engines/scumm/debugger.cpp 2007-02-04 01:52:50 UTC (rev 25371)
@@ -384,11 +384,11 @@
DebugPrintf("Actor[%d].ignoreBoxes = %d\n", actnum, a->_ignoreBoxes);
} else if (!strcmp(argv[2], "x")) {
a->putActor(value, a->getRealPos().y);
- DebugPrintf("Actor[%d].x = %d\n", actnum, a->getPos().x);
+ DebugPrintf("Actor[%d].x = %d\n", actnum, a->getRealPos().x);
_vm->_fullRedraw = true;
} else if (!strcmp(argv[2], "y")) {
a->putActor(a->getRealPos().x, value);
- DebugPrintf("Actor[%d].y = %d\n", actnum, a->getPos().y);
+ DebugPrintf("Actor[%d].y = %d\n", actnum, a->getRealPos().y);
_vm->_fullRedraw = true;
} else if (!strcmp(argv[2], "_elevation")) {
a->setElevation(value);
@@ -427,7 +427,7 @@
a = _vm->_actors[i];
if (a->_visible)
DebugPrintf("|%2d|%4d|%4d|%3d|%4d|%3d|%3d|%3d|%3d|%3d|%3d|%3d|$%08x|\n",
- a->_number, a->getPos().x, a->getPos().y, a->_width, a->getElevation(),
+ a->_number, a->getRealPos().x, a->getRealPos().y, a->_width, a->getElevation(),
a->_costume, a->_walkbox, a->_moving, a->_forceClip, a->_frame,
a->_scalex, a->getFacing(), _vm->_classData[a->_number]);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list