From a7248a0601a5b8e34fa9cccc3543e93fa9ab6649 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Nov 2010 21:37:47 +0000 Subject: ENGINES: Replace many printfs by warning/debug/debugN svn-id: r54031 --- engines/parallaction/font.cpp | 4 ++-- engines/parallaction/parser_ns.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/font.cpp b/engines/parallaction/font.cpp index d1c67f1338..bf2bf6d419 100644 --- a/engines/parallaction/font.cpp +++ b/engines/parallaction/font.cpp @@ -574,7 +574,7 @@ void AmigaFont::blitData(byte c) { } uint16 AmigaFont::width(byte c) { -// printf("kern(%i) = %i, space(%i) = %i\t", c, getKerning(c), c, getSpacing(c)); +// debug("kern(%i) = %i, space(%i) = %i\t", c, getKerning(c), c, getSpacing(c)); return getKerning(c) + getSpacing(c); } @@ -642,7 +642,7 @@ Font *AmigaDisk_ns::createFont(const char *name, Common::SeekableReadStream &str } Font *DosDisk_br::createFont(const char *name, Common::ReadStream &stream) { -// printf("DosDisk_br::createFont(%s)\n", name); +// debug("DosDisk_br::createFont(%s)", name); Font *font; if (_vm->getFeatures() & GF_DEMO) { diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index ff24a06ceb..994cfa46fb 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -23,7 +23,6 @@ * */ - #include "parallaction/parallaction.h" #include "parallaction/parser.h" #include "parallaction/sound.h" @@ -1284,7 +1283,7 @@ DECLARE_ZONE_PARSER(commands) { DECLARE_ZONE_PARSER(label) { debugC(7, kDebugParser, "ZONE_PARSER(label) "); -// printf("label: %s", _tokens[1]); +// debug("label: %s", _tokens[1]); ctxt.z->_label = _vm->_gfx->renderFloatingLabel(_vm->_labelFont, _tokens[1]); ctxt.z->_flags &= ~kFlagsNoName; } -- cgit v1.2.3