From 8d84086f35b714906be013d536c42cf9c3dd4828 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 24 Jul 2011 10:12:08 +0300 Subject: removed unnecessary verbosity from debug output of tile.cpp --- src/tile.cpp | 103 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 54 insertions(+), 49 deletions(-) (limited to 'src') diff --git a/src/tile.cpp b/src/tile.cpp index 23fa1129d..27f86c732 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -179,7 +179,7 @@ void TextureSource::processQueue() dstream<<"INFO: TextureSource::processQueue(): " <<"got texture request with " - <<"name="< @@ -194,7 +194,7 @@ void TextureSource::processQueue() u32 TextureSource::getTextureId(const std::string &name) { - //dstream<<"INFO: getTextureId(): name="< result_queue; @@ -226,8 +226,8 @@ u32 TextureSource::getTextureId(const std::string &name) // Throw a request in m_get_texture_queue.add(name, 0, 0, &result_queue); - dstream<<"INFO: Waiting for texture from main thread, name=" - <getValue(); } } - dstream<<"INFO: getTextureIdDirect(): name="<getVideoDriver(); assert(driver); @@ -708,8 +712,9 @@ video::IImage* generate_image_from_scratch(std::string name, { // Construct base name base_image_name = name.substr(0, last_separator_position); - dstream<<"INFO: generate_image_from_scratch(): Calling itself recursively" - " to get base image, name="<createImageFromFile(path.c_str()); if(image == NULL) { - dstream<<"WARNING: Could not load image \""< dim(2,2); @@ -782,7 +787,7 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, // If base image is NULL, load as base. if(baseimg == NULL) { - dstream<<"INFO: Setting "< dim = image->getDimension(); //core::dimension2d dim(16,16); @@ -817,7 +822,7 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, { // A special texture modification - dstream<<"INFO: getTextureIdDirect(): generating special " + dstream<<"INFO: generate_image(): generating special " <<"modification \""<createImageFromFile(path.c_str()); if(image == NULL) { - dstream<<"WARNING: getTextureIdDirect(): Loading path \"" + dstream<<"WARNING: generate_image(): Loading path \"" <queryFeature(video::EVDF_RENDER_TO_TARGET) == false) { - dstream<<"WARNING: getTextureIdDirect(): EVDF_RENDER_TO_TARGET" + dstream<<"WARNING: generate_image(): EVDF_RENDER_TO_TARGET" " not supported. Creating fallback image"<