1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

L-Systems treegen update.

This commit is contained in:
RealBadAngel 2013-01-07 01:35:05 +01:00 committed by Ilya Zhuravlev
parent 099d7ff2ad
commit 8b75736c6f
4 changed files with 107 additions and 66 deletions

View file

@ -38,12 +38,15 @@ std::string rules_c;
std::string rules_d;
MapNode trunknode;
MapNode leavesnode;
MapNode leaves2node;
int leaves2_chance;
int angle;
int iterations;
int iterations_random_level;
bool thin_trunks;
bool fruit_tree;
std::string trunk_type;
bool thin_branches;
MapNode fruitnode;
int fruit_chance;
};
// Add default tree