aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mg_decoration.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Decoration API: Add lightweight ability to have complete coverage (#7456)Paramat2018-06-241-9/+29
| | | | | | | | | | | | | | When the noise value or fill_ratio >= 10.0 complete coverage is enabled. This disables random placement to avoid redundant multiple placements at one position. Instead, 1 decoration per surface node is placed by looping across each division. '10' was chosen as this is the fill_ratio that previously created very near complete coverage. The complete coverage feature therefore integrates smoothly when noise is used for variable decoration density. 'fill_ratio = 10' should be used by modders who want a decoration placed on every surface node. Compared to before such a decoration placement will be 10 times faster.
* Schematic decorations: Fix placement bug when centred and rotated (#7365)Paramat2018-05-241-5/+14
| | | | | | Previously, the centering caused by the 'place center x/z' flags did not take rotation into account. So schematics with unequal X and Z dimensions were incorrectly placed. The bug was hidden for schematics equal in X and Z dimensions.
* VoxelArea: add_{x,y,z,p} must be staticLoic Blot2018-03-091-4/+4
| | | | | Fix some documentations issues Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
* Mapgen folder: Update and improve copyright information of filesparamat2018-01-151-2/+2
|
* Use std::vector instead of dynamic C-Array (#6744)adrido2017-12-101-12/+10
|
* Move files to subdirectories (#6599)Vitaliy2017-11-081-0/+377
* Move files around