[Scummvm-cvs-logs] SF.net SVN: scummvm:[54040] scummvm/trunk/engines/sword25/gfx/image/ vectorimagerenderer.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Nov 2 10:50:46 CET 2010
Revision: 54040
http://scummvm.svn.sourceforge.net/scummvm/?rev=54040&view=rev
Author: fingolfin
Date: 2010-11-02 09:50:45 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
SWORD25: Convert printf to debugN
Modified Paths:
--------------
scummvm/trunk/engines/sword25/gfx/image/vectorimagerenderer.cpp
Modified: scummvm/trunk/engines/sword25/gfx/image/vectorimagerenderer.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/image/vectorimagerenderer.cpp 2010-11-02 09:50:29 UTC (rev 54039)
+++ scummvm/trunk/engines/sword25/gfx/image/vectorimagerenderer.cpp 2010-11-02 09:50:45 UTC (rev 54040)
@@ -329,17 +329,17 @@
#if 0
const char *codes[] = {"ART_MOVETO", "ART_MOVETO_OPEN", "ART_CURVETO", "ART_LINETO", "ART_END"};
for (int i = 0;; i++) {
- printf(" bez[%d].code = %s;\n", i, codes[bez[i].code]);
+ debugN(" bez[%d].code = %s;\n", i, codes[bez[i].code]);
if (bez[i].code == ART_END)
break;
if (bez[i].code == ART_CURVETO) {
- printf(" bez[%d].x1 = %f; bez[%d].y1 = %f;\n", i, bez[i].x1, i, bez[i].y1);
- printf(" bez[%d].x2 = %f; bez[%d].y2 = %f;\n", i, bez[i].x2, i, bez[i].y2);
+ debugN(" bez[%d].x1 = %f; bez[%d].y1 = %f;\n", i, bez[i].x1, i, bez[i].y1);
+ debugN(" bez[%d].x2 = %f; bez[%d].y2 = %f;\n", i, bez[i].x2, i, bez[i].y2);
}
- printf(" bez[%d].x3 = %f; bez[%d].y3 = %f;\n", i, bez[i].x3, i, bez[i].y3);
+ debugN(" bez[%d].x3 = %f; bez[%d].y3 = %f;\n", i, bez[i].x3, i, bez[i].y3);
}
- printf(" drawBez(bez, buffer, 1.0, 1.0, %f, 0x%08x);\n", penWidth, color);
+ debugN(" drawBez(bez, buffer, 1.0, 1.0, %f, 0x%08x);\n", penWidth, color);
#endif
// HACK: Some frames have green bounding boxes drawn.
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