From 29d905f98a8ce7db9ae78a572b51d479f04fb48d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 24 Jul 2011 12:09:33 +0300 Subject: Added a mapblock analyzing function for debugging use and fixed remaining mapgen bugs --- src/mapblock.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mapblock.h') 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 -- cgit v1.2.3