Show diamond-shaped tiles on a larger map.

This commit is contained in:
King_DuckZ 2015-05-24 17:19:10 +02:00
commit 1c5cb6299c
8 changed files with 36 additions and 25 deletions

View file

@ -52,5 +52,8 @@ namespace dk {
void Layer<T, D>::onPreload (const coords& parFrom, const coords& parTo) {
m_tiles.clear();
m_tilemap.fetch(m_tiles, parFrom, parTo);
#if !defined(NDEBUG)
std::cout << "Preloading layer from " << parFrom << " to " << parTo << '\n';
#endif
}
}