diff options
author | Max Horn | 2005-02-06 16:51:57 +0000 |
---|---|---|
committer | Max Horn | 2005-02-06 16:51:57 +0000 |
commit | 683e934908ac90253e25f78d3f8d299d122b136b (patch) | |
tree | 22d97df19791d9ef72c0ff5ca1059ff25a3e8186 /scumm | |
parent | ac72fcd63dcf0684ffbd4b8c0f133fb8767a0953 (diff) | |
download | scummvm-rg350-683e934908ac90253e25f78d3f8d299d122b136b.tar.gz scummvm-rg350-683e934908ac90253e25f78d3f8d299d122b136b.tar.bz2 scummvm-rg350-683e934908ac90253e25f78d3f8d299d122b136b.zip |
Removed pointless debug calls (they just cause overhead)
svn-id: r16738
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/nut_renderer.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scumm/nut_renderer.cpp b/scumm/nut_renderer.cpp index 8d6fcd56c2..a74d75e851 100644 --- a/scumm/nut_renderer.cpp +++ b/scumm/nut_renderer.cpp @@ -114,7 +114,6 @@ static int32 codec1(byte *dst, byte *src, int height) { } bool NutRenderer::loadFont(const char *filename) { - debug(8, "NutRenderer::loadFont(\"%s\") called", filename); if (_loaded) { warning("NutRenderer::loadFont() Font already loaded, ok, loading..."); } @@ -198,7 +197,6 @@ bool NutRenderer::loadFont(const char *filename) { } int NutRenderer::getCharWidth(byte c) const { - debug(8, "NutRenderer::getCharWidth() called"); if (!_loaded) { warning("NutRenderer::getCharWidth() Font is not loaded"); return 0; @@ -214,7 +212,6 @@ int NutRenderer::getCharWidth(byte c) const { } int NutRenderer::getCharHeight(byte c) const { - debug(8, "NutRenderer::getCharHeight() called"); if (!_loaded) { warning("NutRenderer::getCharHeight() Font is not loaded"); return 0; @@ -230,7 +227,6 @@ int NutRenderer::getCharHeight(byte c) const { } int NutRenderer::getCharOffsX(byte c) const { - debug(8, "NutRenderer::getCharOffsX() called"); if (!_loaded) { warning("NutRenderer::getCharOffsX() Font is not loaded"); return 0; @@ -247,7 +243,6 @@ int NutRenderer::getCharOffsX(byte c) const { } int NutRenderer::getCharOffsY(byte c) const { - debug(8, "NutRenderer::getCharOffsY() called"); if (!_loaded) { warning("NutRenderer::getCharOffsY() Font is not loaded"); return 0; @@ -264,7 +259,6 @@ int NutRenderer::getCharOffsY(byte c) const { } void NutRenderer::drawShadowChar(const Graphics::Surface &s, int c, int x, int y, byte color, bool showShadow) { - debug(8, "NutRenderer::drawShadowChar('%c', %d, %d, %d, %d) called", c, x, y, (int)color, showShadow); if (!_loaded) { warning("NutRenderer::drawShadowChar() Font is not loaded"); return; @@ -363,7 +357,7 @@ void NutRenderer::drawChar(const Graphics::Surface &s, byte c, int x, int y, byt void NutRenderer::draw2byte(const Graphics::Surface &s, int c, int x, int y, byte color) { if (!_loaded) { - debug(2, "NutRenderer::draw2byte() Font is not loaded"); + warning("NutRenderer::draw2byte() Font is not loaded"); return; } |