diff options
author | Max Horn | 2010-11-02 09:50:45 +0000 |
---|---|---|
committer | Max Horn | 2010-11-02 09:50:45 +0000 |
commit | 438da9b22065d09d2a8b26766e19e542a4c90d2b (patch) | |
tree | 855c87a464c652d33fa93ba598796fd278e46043 /engines/sword25/gfx/image/vectorimagerenderer.cpp | |
parent | 8047f79a46058ca1c520632469aa6422e81cf904 (diff) | |
download | scummvm-rg350-438da9b22065d09d2a8b26766e19e542a4c90d2b.tar.gz scummvm-rg350-438da9b22065d09d2a8b26766e19e542a4c90d2b.tar.bz2 scummvm-rg350-438da9b22065d09d2a8b26766e19e542a4c90d2b.zip |
SWORD25: Convert printf to debugN
svn-id: r54040
Diffstat (limited to 'engines/sword25/gfx/image/vectorimagerenderer.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimagerenderer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sword25/gfx/image/vectorimagerenderer.cpp b/engines/sword25/gfx/image/vectorimagerenderer.cpp index 43ac8683ac..7587aab4e5 100644 --- a/engines/sword25/gfx/image/vectorimagerenderer.cpp +++ b/engines/sword25/gfx/image/vectorimagerenderer.cpp @@ -329,17 +329,17 @@ void drawBez(ArtBpath *bez1, ArtBpath *bez2, art_u8 *buffer, int width, int heig #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. |