[Scummvm-cvs-logs] SF.net SVN: scummvm: [25111] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Wed Jan 17 12:12:03 CET 2007
Revision: 25111
http://scummvm.svn.sourceforge.net/scummvm/?rev=25111&view=rev
Author: peres001
Date: 2007-01-17 03:12:02 -0800 (Wed, 17 Jan 2007)
Log Message:
-----------
fixed broken tab widths
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/defs.h
scummvm/trunk/engines/parallaction/parallaction.cpp
scummvm/trunk/engines/parallaction/walk.cpp
Modified: scummvm/trunk/engines/parallaction/defs.h
===================================================================
--- scummvm/trunk/engines/parallaction/defs.h 2007-01-16 22:16:12 UTC (rev 25110)
+++ scummvm/trunk/engines/parallaction/defs.h 2007-01-17 11:12:02 UTC (rev 25111)
@@ -101,8 +101,8 @@
char *skip_whitespace(char *s);
enum {
- kDebugDisk = 1 << 0,
- kDebugWalk = 1 << 1
+ kDebugDisk = 1 << 0,
+ kDebugWalk = 1 << 1
};
} // namespace Parallaction
Modified: scummvm/trunk/engines/parallaction/parallaction.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.cpp 2007-01-16 22:16:12 UTC (rev 25110)
+++ scummvm/trunk/engines/parallaction/parallaction.cpp 2007-01-17 11:12:02 UTC (rev 25111)
@@ -180,8 +180,8 @@
Common::addSpecialDebugLevel(kDebugInventory, "Inventory", "Inventory debug level");
Common::addSpecialDebugLevel(kDebugLocation, "Location", "Locations debug level");
*/
- Common::addSpecialDebugLevel(kDebugDisk, "Disk", "Disk debug level");
- Common::addSpecialDebugLevel(kDebugWalk, "Walk", "Walk debug level");
+ Common::addSpecialDebugLevel(kDebugDisk, "Disk", "Disk debug level");
+ Common::addSpecialDebugLevel(kDebugWalk, "Walk", "Walk debug level");
}
Modified: scummvm/trunk/engines/parallaction/walk.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/walk.cpp 2007-01-16 22:16:12 UTC (rev 25110)
+++ scummvm/trunk/engines/parallaction/walk.cpp 2007-01-17 11:12:02 UTC (rev 25111)
@@ -49,7 +49,7 @@
// x, y: mouse click (foot) coordinates
//
WalkNode *buildWalkPath(uint16 x, uint16 y) {
- debugC(1, kDebugWalk, "buildWalkPath to (%i, %i)", x, y);
+ debugC(1, kDebugWalk, "buildWalkPath to (%i, %i)", x, y);
int16 to_x = x;
int16 to_y = y;
@@ -107,7 +107,7 @@
}
}
- debugC(1, kDebugWalk, "found closest path point at (%i, %i)", to_x, to_y);
+ debugC(1, kDebugWalk, "found closest path point at (%i, %i)", to_x, to_y);
WalkNode *v48 = (WalkNode*)memAlloc(sizeof(WalkNode));
WalkNode *v44 = (WalkNode*)memAlloc(sizeof(WalkNode));
@@ -126,7 +126,7 @@
}
// path is obstructed: find alternative
- debugC(1, kDebugWalk, "trying to build walk path to (%i, %i)", to_x, to_y);
+ debugC(1, kDebugWalk, "trying to build walk path to (%i, %i)", to_x, to_y);
WalkNode v58;
memset(&v58, 0, sizeof(WalkNode));
@@ -192,7 +192,7 @@
v34 = v30 = (_si - v20._x) * (_si - v20._x) + (_di - v20._y) * (_di - v20._y);
- debugC(1, kDebugWalk, "adding walk node (%i, %i) to path", _newnode->_x, _newnode->_y);
+ debugC(1, kDebugWalk, "adding walk node (%i, %i) to path", _newnode->_x, _newnode->_y);
addNode(&v48->_node, &_newnode->_node);
v48 = _newnode;
@@ -203,7 +203,7 @@
if (v38 != 0 && v34 > v38) {
// no alternative path (gap?)
freeNodeList(v58._node._next);
- debugC(1, kDebugWalk, "can't find a path node: rejecting partial path");
+ debugC(1, kDebugWalk, "can't find a path node: rejecting partial path");
return v44;
} else {
_si = ((WalkNode*)(v58._node._next))->_x;
@@ -214,7 +214,7 @@
} while (true);
- debugC(1, kDebugWalk, "walk path completed");
+ debugC(1, kDebugWalk, "walk path completed");
memFree(v44);
return (WalkNode*)v58._node._next;
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