projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a mapblock analyzing function for debugging use and fixed remaining mapgen...
[oweals/minetest.git]
/
src
/
mapblock.h
diff --git
a/src/mapblock.h
b/src/mapblock.h
index 8f3b8464a83bedbaa714555211045b18f56235c3..741c306eb9968c58c0a3052ce9b0e3a8122f8774 100644
(file)
--- 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