diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-24 12:09:33 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-24 12:09:33 +0300 |
commit | 29d905f98a8ce7db9ae78a572b51d479f04fb48d (patch) | |
tree | 4d5419980a43b8407251a22bd7f8147984e5a105 /src/mapblock.h | |
parent | ed8f5576a5ca8adb8505295fc56019b1cbb4d8ad (diff) | |
download | hax-minetest-server-29d905f98a8ce7db9ae78a572b51d479f04fb48d.tar.gz hax-minetest-server-29d905f98a8ce7db9ae78a572b51d479f04fb48d.zip |
Added a mapblock analyzing function for debugging use and fixed remaining mapgen bugs
Diffstat (limited to 'src/mapblock.h')
-rw-r--r-- | src/mapblock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mapblock.h b/src/mapblock.h index 8f3b8464a..741c306eb 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -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 |