aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-04-16 23:37:50 -0400
committerkwolekr <kwolekr@minetest.net>2015-04-16 23:38:05 -0400
commit821d0025da3d7dec662e75c6ce2ea32e86aec508 (patch)
treec609455732a6bbcf12c4c00a6f1627bb5c15cf14 /src/mapgen.h
parent4abb96fb546b5975c74ff2cc295255fe17126287 (diff)
downloadminetest-821d0025da3d7dec662e75c6ce2ea32e86aec508.tar.gz
minetest-821d0025da3d7dec662e75c6ce2ea32e86aec508.tar.bz2
minetest-821d0025da3d7dec662e75c6ce2ea32e86aec508.zip
Biomes: Remove referenced biomes from Decorations on clear
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index 5ae99c3cd..ee7e8227e 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -229,6 +229,8 @@ public:
virtual ObjDef *getRaw(u32 index) const;
virtual ObjDef *setRaw(u32 index, ObjDef *obj);
+ size_t getNumObjects() const { return m_objects.size(); }
+ ObjDefType getType() const { return m_objtype; }
INodeDefManager *getNodeDef() const { return m_ndef; }
u32 validateHandle(ObjDefHandle handle) const;