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/tile.cpp') 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"< Date: Sun, 24 Jul 2011 12:45:52 +0300 Subject: Updated the texture atlas a bit --- src/tile.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/tile.cpp') diff --git a/src/tile.cpp b/src/tile.cpp index 27f86c732..9f6a6eb72 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -518,13 +518,11 @@ void TextureSource::buildMainAtlas() sourcelist.push_back("cobble.png"); sourcelist.push_back("mossycobble.png"); sourcelist.push_back("gravel.png"); + sourcelist.push_back("cactus.png"); + sourcelist.push_back("jungletree.png"); sourcelist.push_back("stone.png^mineral_coal.png"); sourcelist.push_back("stone.png^mineral_iron.png"); - sourcelist.push_back("mud.png^mineral_coal.png"); - sourcelist.push_back("mud.png^mineral_iron.png"); - sourcelist.push_back("sand.png^mineral_coal.png"); - sourcelist.push_back("sand.png^mineral_iron.png"); // Padding to disallow texture bleeding s32 padding = 16; -- cgit v1.2.3