]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapgen/treegen.h
Include irrlichttypes.h first to work around Irrlicht#433 (#10872)
[minetest.git] / src / mapgen / treegen.h
index 5ab79f428afcf9f4638492721c35e4421289db61..59a418824128f1a958f29e6fd43cbdb772e90d9e 100644 (file)
@@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class MMVManip;
 class NodeDefManager;
-class ServerEnvironment;
-
+class ServerMap;
 
 namespace treegen {
 
@@ -73,12 +72,10 @@ namespace treegen {
        treegen::error make_ltree(MMVManip &vmanip, v3s16 p0,
                const NodeDefManager *ndef, TreeDef tree_definition);
        // Spawn L-systems tree from LUA
-       treegen::error spawn_ltree (ServerEnvironment *env, v3s16 p0,
+       treegen::error spawn_ltree (ServerMap *map, v3s16 p0,
                const NodeDefManager *ndef, const TreeDef &tree_definition);
 
        // L-System tree gen helper functions
-       void tree_node_placement(MMVManip &vmanip, v3f p0,
-               MapNode node);
        void tree_trunk_placement(MMVManip &vmanip, v3f p0,
                TreeDef &tree_definition);
        void tree_leaves_placement(MMVManip &vmanip, v3f p0,