diff options
author | Nicola Mettifogo | 2007-01-17 11:12:02 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-01-17 11:12:02 +0000 |
commit | 2541fcd82aea8542673e063c59ed99257f5e768f (patch) | |
tree | 8090ededdc27c83d1004be8b8e4696738a0c5291 | |
parent | ebec953012aa6604b762dcc5aafc3fb707204f16 (diff) | |
download | scummvm-rg350-2541fcd82aea8542673e063c59ed99257f5e768f.tar.gz scummvm-rg350-2541fcd82aea8542673e063c59ed99257f5e768f.tar.bz2 scummvm-rg350-2541fcd82aea8542673e063c59ed99257f5e768f.zip |
fixed broken tab widths
svn-id: r25111
-rw-r--r-- | engines/parallaction/defs.h | 4 | ||||
-rw-r--r-- | engines/parallaction/parallaction.cpp | 4 | ||||
-rw-r--r-- | engines/parallaction/walk.cpp | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/engines/parallaction/defs.h b/engines/parallaction/defs.h index 5829c603e7..054238ddd7 100644 --- a/engines/parallaction/defs.h +++ b/engines/parallaction/defs.h @@ -101,8 +101,8 @@ void beep(); char *skip_whitespace(char *s); enum { - kDebugDisk = 1 << 0, - kDebugWalk = 1 << 1 + kDebugDisk = 1 << 0, + kDebugWalk = 1 << 1 }; } // namespace Parallaction diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 0dcefc241c..9c1f267cc9 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -180,8 +180,8 @@ Parallaction::Parallaction(OSystem *syst) : 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"); } diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index b0e29ca9cd..7813233aea 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -49,7 +49,7 @@ int32 dotProduct(Point *p1, Point *p2) { // 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 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { } } - 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 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { } // 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 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { 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 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { 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 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { } while (true); - debugC(1, kDebugWalk, "walk path completed"); + debugC(1, kDebugWalk, "walk path completed"); memFree(v44); return (WalkNode*)v58._node._next; |