summaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-24 12:09:33 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-24 12:09:33 +0300
commit29d905f98a8ce7db9ae78a572b51d479f04fb48d (patch)
tree4d5419980a43b8407251a22bd7f8147984e5a105 /src/mapblock.h
parented8f5576a5ca8adb8505295fc56019b1cbb4d8ad (diff)
downloadminetest-29d905f98a8ce7db9ae78a572b51d479f04fb48d.tar.gz
minetest-29d905f98a8ce7db9ae78a572b51d479f04fb48d.tar.bz2
minetest-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.h5
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