[Scummvm-cvs-logs] SF.net SVN: scummvm:[36208] scummvm/trunk/engines/parallaction/walk.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Tue Feb 3 11:38:56 CET 2009


Revision: 36208
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36208&view=rev
Author:   peres001
Date:     2009-02-03 10:38:56 +0000 (Tue, 03 Feb 2009)

Log Message:
-----------
Removed newlines from debug statements.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/walk.cpp

Modified: scummvm/trunk/engines/parallaction/walk.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/walk.cpp	2009-02-02 23:20:55 UTC (rev 36207)
+++ scummvm/trunk/engines/parallaction/walk.cpp	2009-02-03 10:38:56 UTC (rev 36208)
@@ -499,10 +499,10 @@
 
 		if (_ch->_walkPath.empty()) {
 			finalizeWalk();
-			debugC(3, kDebugWalk, "PathWalker_BR::walk, case 0\n");
+			debugC(3, kDebugWalk, "PathWalker_BR::walk, case 0");
 			return;
 		} else {
-			debugC(3, kDebugWalk, "PathWalker_BR::walk, moving to next node\n");
+			debugC(3, kDebugWalk, "PathWalker_BR::walk, moving to next node");
 		}
 	}
 
@@ -512,7 +512,7 @@
 	int xStep = (scale * 16) / 100 + 1;
 	int yStep = (scale * 10) / 100 + 1;
 
-	debugC(9, kDebugWalk, "calculated step: (%i, %i)\n", xStep, yStep);
+	debugC(9, kDebugWalk, "calculated step: (%i, %i)", xStep, yStep);
 
 	_fieldC = 0;
 	_step++;
@@ -579,10 +579,10 @@
 		}
 	}
 
-	debugC(9, kDebugWalk, "foot (%i, %i) dest (%i, %i) deltas = %i/%i \n", _startFoot.x, _startFoot.y, p.x, p.y, delta.x, delta.y);
+	debugC(9, kDebugWalk, "foot (%i, %i) dest (%i, %i) deltas = %i/%i ", _startFoot.x, _startFoot.y, p.x, p.y, delta.x, delta.y);
 
 	if (_fieldC) {
-		debugC(9, kDebugWalk, "PathWalker_BR::walk, foot moved from (%i, %i) to (%i, %i)\n", _startFoot.x, _startFoot.y, newpos.x, newpos.y);
+		debugC(9, kDebugWalk, "PathWalker_BR::walk, foot moved from (%i, %i) to (%i, %i)", _startFoot.x, _startFoot.y, newpos.x, newpos.y);
 		_ch->_ani->setF(walkFrame + _dirFrame + 1);
 		_startFoot.x = newpos.x;
 		_startFoot.y = newpos.y;
@@ -592,11 +592,11 @@
 
 	if (_fieldC || !_ch->_walkPath.empty()) {
 //		checkTrap();
-		debugC(3, kDebugWalk, "PathWalker_BR::walk, case 1\n");
+		debugC(3, kDebugWalk, "PathWalker_BR::walk, case 1");
 		return;
 	}
 
-	debugC(3, kDebugWalk, "PathWalker_BR::walk, case 2\n");
+	debugC(3, kDebugWalk, "PathWalker_BR::walk, case 2");
 	finalizeWalk();
 	return;
 }


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