aboutsummaryrefslogtreecommitdiff
path: root/advtrains/models/advtrains_dtrack_swrcr.b3d
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2017-10-31 13:52:32 +0100
committerorwell96 <orwell@bleipb.de>2017-10-31 13:52:32 +0100
commit9294e770ca1360f3d90edd4afc02730b87b0765e (patch)
tree6e8de9804ec3b2a13ed137de0e8e723192b5b1cd /advtrains/models/advtrains_dtrack_swrcr.b3d
parentcac7753158531b17900bb71619bfb03b4e071d5f (diff)
downloadadvtrains-9294e770ca1360f3d90edd4afc02730b87b0765e.tar.gz
advtrains-9294e770ca1360f3d90edd4afc02730b87b0765e.tar.bz2
advtrains-9294e770ca1360f3d90edd4afc02730b87b0765e.zip
Change name of the node database group in order to clone node database code into a library mod
advtrains will keep its own node database code for reasons of crash recovery, with the handicap that improvements to nplib need to be manually backported.
Diffstat (limited to 'advtrains/models/advtrains_dtrack_swrcr.b3d')
0 files changed, 0 insertions, 0 deletions
wc">std::string rules_d; MapNode trunknode; MapNode leavesnode; MapNode leaves2node; int leaves2_chance; int angle; int iterations; int iterations_random_level; std::string trunk_type; bool thin_branches; MapNode fruitnode; int fruit_chance; int seed; }; // Add default tree void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0, bool is_apple_tree, INodeDefManager *ndef, int seed); // Add jungle tree void make_jungletree(VoxelManipulator &vmanip, v3s16 p0, INodeDefManager *ndef, int seed); // Add L-Systems tree (used by engine) void make_ltree(ManualMapVoxelManipulator &vmanip, v3s16 p0, INodeDefManager *ndef, TreeDef tree_definition); // Spawn L-systems tree from LUA void spawn_ltree (ServerEnvironment *env, v3s16 p0, INodeDefManager *ndef, TreeDef tree_definition); // L-System tree gen helper functions void tree_node_placement(ManualMapVoxelManipulator &vmanip, v3f p0, MapNode node); void tree_trunk_placement(ManualMapVoxelManipulator &vmanip, v3f p0, TreeDef &tree_definition); void tree_leaves_placement(ManualMapVoxelManipulator &vmanip, v3f p0, PseudoRandom ps, TreeDef &tree_definition); void tree_single_leaves_placement(ManualMapVoxelManipulator &vmanip, v3f p0, PseudoRandom ps, TreeDef &tree_definition); void tree_fruit_placement(ManualMapVoxelManipulator &vmanip, v3f p0, TreeDef &tree_definition);