aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_flat.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dungeons: Settable density noise, move number calculation to mapgens (#8473)Paramat2019-06-011-0/+1
| | | | | | | | | | | | Add user-settable noise parameters for dungeon density to each mapgen, except V6 which hardcodes this noise parameter. Move the calculation of number of dungeons generated in a mapchunk out of dungeongen.cpp and into mapgen code, to allow mapgens to generate any desired number of dungeons in a mapchunk, instead of being forced to have number of dungeons determined by a density noise. This is more flexible and allows mapgens to use dungeon generation to create custom structures, such as occasional mega-dungeons.
* mapgen: drop mapgen id from child mapgens.Loïc Blot2019-03-311-1/+1
| | | | | | This id must be owned by the child mapgen and never be set to a misc value by a developer Also use nullptr in some places
* Dungeons: Add Y limits in all mapgensparamat2018-02-201-0/+6
| | | | Preserve the upper limit used in mgvalleys.
* Mapgen folder: Update and improve copyright information of filesparamat2018-01-151-2/+2
|
* Move files to subdirectories (#6599)Vitaliy2017-11-081-0/+76
* Move files around