Show diamond-shaped tiles on a larger map.
This commit is contained in:
parent
edbb3fe1d8
commit
1c5cb6299c
8 changed files with 36 additions and 25 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue