summaryrefslogtreecommitdiff
path: root/src/mapgen/mg_biome.h
Commit message (Collapse)AuthorAge
* Fix broken `BiomeGen` abstraction (#11107)sfan52021-03-23
|
* Allow more than 255 biomes, document new maximum (#9855)Paramat2020-05-20
| | | | Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
* Fix remaining issues with mapgen scriptapisfan52020-05-05
|
* Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copysfan52020-05-05
|
* Allow ObjDefManager instances to be clonedsfan52020-05-05
|
* Allow multiple cave liquids in a biome definition (#8481)Paramat2019-05-18
| | | | | | | | | | | | | This allows games to specify biome cave liquids and avoid the old hardcoded behaviour, but preserves the ability to have multiple cave liquids in one biome, such as lava and water. When multiple cave liquids are defined by the biome definition, make each entire cave use a randomly chosen liquid, instead of every small cave segment using a randomly chosen liquid. Plus an optimisation: Don't place nodes if cave liquid is defined as 'air'
* Biome API / dungeons: Add biome-defined dungeon nodesParamat2018-04-07
| | | | | | | | | | Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'. If 'node_dungeon' is not defined dungeons fall back to classic behaviour. Remove messy and imprecise dungeon material code from 'generateBiomes()'. Code deciding dungeon materials is now in 'generateDungeons()' and uses the biome at mapchunk centre for more precision. Remove hardcoded 'MG_STONE' types as long intended.
* Biome API / cavegen: Add definable cave liquid for a biome (#7192)Paramat2018-04-05
| | | | Add 'node_cave_liquid' as a new field in biome registration. If field is absent cave liquids fall back to classic behaviour.
* Mapgen: Remove unused mgv7 code and some unused biometypesParamat2018-03-26
|
* Biomes: Add 'min_pos'/'max_pos' xyz biome limitsparamat2018-03-09
| | | | 'y_min' and 'y_max' are still accepted for compatibility.
* Biomes: Add 'get heat', 'get humidity', 'get biome data' APIsparamat2018-01-16
| | | | | 'get biome data' returns biome id, heat and humidity. Clean up nearby lines in lua_api.txt.
* Mapgen folder: Update and improve copyright information of filesparamat2018-01-15
|
* Biomes: Add vertical biome blend (#6853)Paramat2018-01-05
| | | | Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
* Move files to subdirectories (#6599)Vitaliy2017-11-08
* Move files around