1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Added a mapblock analyzing function for debugging use and fixed remaining mapgen bugs

This commit is contained in:
Perttu Ahola 2011-07-24 12:09:33 +03:00
parent ed8f5576a5
commit 29d905f98a
5 changed files with 179 additions and 19 deletions

View file

@ -743,5 +743,10 @@ inline s16 getNodeBlockY(s16 y)
return getContainerPos(y, MAP_BLOCKSIZE);
}
/*
Get a quick string to describe what a block actually contains
*/
std::string analyze_block(MapBlock *block);
#endif