aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Lighting: Fix nearly all issueskwolekr2015-01-041-2/+1
| | | | | | | | | | | 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.
* MgV5/6/7: Generate dungeons above water levelparamat2015-01-011-3/+9
| | | | | | Use/add stone_surface_max_y to speed-optimise/guide dungeon generation MgV7: Don't let mountain terrain chop dungeons at mapchunk borders Make mountain terrain update stone_surface_max_y for caves in mountains
* Fix some lingering code style issueskwolekr2014-12-291-11/+22
|
* Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)kwolekr2014-12-291-1/+1
|
* Biome API: Add shore top and shore filler nodes, underwater node, water top ↵paramat2014-12-281-18/+24
| | | | node. Add water top depth and shore height parameters. Remove water dust node
* Re-add hacky fix for underwater grass, to fix mgv7 user's biomesparamat2014-12-201-10/+12
|
* Mapgens: Rename m_emerge to prevent name collisionskwolekr2014-12-121-5/+5
|
* Clean up Noise macroskwolekr2014-12-111-1/+1
|
* Noise: Automatically transform noise maps if neededkwolekr2014-12-101-4/+0
|
* Noise: Create a deep copy of NoiseParamskwolekr2014-12-101-3/+3
|
* Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr2014-12-091-2/+2
|
* Add flags and lacunarity as new noise parameterskwolekr2014-12-071-13/+13
| | | | | | | 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
* Mapgen V5: Fix use of uninitialized value in ctorkwolekr2014-12-071-2/+2
|
* Rewrite generate notification mechanismkwolekr2014-12-061-32/+24
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵paramat2014-12-031-8/+16
| | | | of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
* Mgv5 1 up 1 down overgeneration for biome surface continuityparamat2014-11-201-16/+18
|
* Mgv5 get ground level at point function. Fast spawn player versionparamat2014-11-201-4/+37
|
* Fix warnings and other misc. minor changeskwolekr2014-11-141-6/+2
|
* Mapgen v7: Fix uninitialized spflagskwolekr2014-11-121-5/+5
| | | | Mapgen v5: Fix minor style issue
* Add Generator Element Management frameworkkwolekr2014-11-121-11/+5
| | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager
* Tune cave noise scales to 6. Fix blobs spflag, now enabled. Update conf.exampleparamat2014-11-091-18/+21
|
* Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, ↵paramat2014-11-081-0/+496
blobs