Age | Commit message (Collapse) | Author |
|
|
|
|
|
This fixes the Mapgen V5 calcLighting segfault
|
|
|
|
|
|
|
|
|
|
The cause of a single light source seemingly being lit without spread
was due to its creation in the +Y mapblock boundary layer during map
generation, which was ignored as the overtop. This overtop explicitly
needs to be omitted during sunlight propagation, however. To accomplish
this, Mapgen::calcLighting() was split into separate functions taking
separate parameters.
Additionally, do not diminish light too early during spread. This fixes the
output inconsistency between Map::updateLighting and Mapgen::calcLighting.
|
|
|
|
|
|
Also rewrite mapgen registration for static initialization
|
|
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
|
|
|
|
set_metadata
|
|
Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes
|
|
node. Add water top depth and shore height parameters. Remove water dust node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3d noise with a buffer created for 2d
|
|
NoiseParams to lua_api.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add 'absolute value' option to noise map functions
Extend persistence modulation to 3D noise
Extend 'eased' option to noise2d_perlin* functions
Some noise.cpp formatting fixups
|
|
|
|
Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files
|
|
of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
|
|
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
|
|
|
|
|
|
|
|
Split up ModApiMapgen::l_register_decoration()
Define and make use of CONTAINS() and ARRLEN() macros
|
|
|
|
|
|
|