mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Treegen: Add pine tree. Force place trunks
Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
This commit is contained in:
parent
9527984dbc
commit
74eb14cc80
2 changed files with 495 additions and 266 deletions
756
src/treegen.cpp
756
src/treegen.cpp
File diff suppressed because it is too large
Load diff
|
@ -62,7 +62,10 @@ namespace treegen {
|
||||||
void make_tree(MMVManip &vmanip, v3s16 p0,
|
void make_tree(MMVManip &vmanip, v3s16 p0,
|
||||||
bool is_apple_tree, INodeDefManager *ndef, int seed);
|
bool is_apple_tree, INodeDefManager *ndef, int seed);
|
||||||
// Add jungle tree
|
// Add jungle tree
|
||||||
void make_jungletree(VoxelManipulator &vmanip, v3s16 p0,
|
void make_jungletree(MMVManip &vmanip, v3s16 p0,
|
||||||
|
INodeDefManager *ndef, int seed);
|
||||||
|
// Add pine tree
|
||||||
|
void make_pine_tree(MMVManip &vmanip, v3s16 p0,
|
||||||
INodeDefManager *ndef, int seed);
|
INodeDefManager *ndef, int seed);
|
||||||
|
|
||||||
// Add L-Systems tree (used by engine)
|
// Add L-Systems tree (used by engine)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue