From 31855054842ccd2ac04c3c2b272e146fca88baa9 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Mon, 29 Dec 2014 16:19:30 +0100 Subject: [PATCH] Debug code that slipped into the previous commit --- include/implem/layer.inl | 1 - include/implem/tilemapdata.inl | 1 - include/implem/tyler.inl | 1 - 3 files changed, 3 deletions(-) diff --git a/include/implem/layer.inl b/include/implem/layer.inl index 1da8bf0..0d92af8 100644 --- a/include/implem/layer.inl +++ b/include/implem/layer.inl @@ -38,7 +38,6 @@ namespace dk { template void Layer::preload (const coords& parFrom, const coords& parTo) { m_tiles.clear(); - std::cout << "Asking to fetch from " << parFrom << " to " << parTo << "\n"; const auto area = implem::area(parTo - parFrom); m_tiles.reserve(area); m_tilemap.fetch(m_tiles, parFrom, parTo); diff --git a/include/implem/tilemapdata.inl b/include/implem/tilemapdata.inl index 024119c..dd88bef 100644 --- a/include/implem/tilemapdata.inl +++ b/include/implem/tilemapdata.inl @@ -57,7 +57,6 @@ namespace dk { template void TileMapData::fetch (std::vector& parOut, const coords& parFrom, const coords& parTo) { //TODO: implement - std::cout << "Would fetch data from " << parFrom << " to " << parTo << "\n"; const auto count = implem::area(parTo - parFrom); std::fill_n(std::back_inserter(parOut), count, T()); } diff --git a/include/implem/tyler.inl b/include/implem/tyler.inl index 750a791..31fe24a 100644 --- a/include/implem/tyler.inl +++ b/include/implem/tyler.inl @@ -48,7 +48,6 @@ namespace dk { ///-------------------------------------------------------------------------- template void Tyler::preload (const coords& parFrom, const coords& parTo) { - std::cout << "Looping through layers askin' for " << parFrom << " to " << parTo << "\n"; for (auto& layer : m_layers) { layer->preload(parFrom, parTo); }