minetest/src/mapgen
paramat 861cfd8484 Dungeons: Avoid generation in multiple liquid nodes and 'airlike'
Previously only 'mapgen water source' and 'mapgen river water source'
were checked for. Games can use multiple liquid nodes defined for biomes,
many of which will not be aliased to those 2 mapgen aliases, causing
floating dungeons to generate in some liquids.

Now we check for liquid drawtype instead, so can remove liquid nodes
from dungeonparams.

Also check for 'airlike' drawtype instead of 'CONTENT_AIR' to avoid
generation in 'airlike' nodes in some rare situations. This will also be
needed for when we add definable biome air nodes.
2018-02-13 03:48:39 +00:00
..
CMakeLists.txt Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
cavegen.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
cavegen.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
dungeongen.cpp Dungeons: Avoid generation in multiple liquid nodes and 'airlike' 2018-02-13 03:48:39 +00:00
dungeongen.h Dungeons: Avoid generation in multiple liquid nodes and 'airlike' 2018-02-13 03:48:39 +00:00
mapgen.cpp Dungeons: Avoid generation in multiple liquid nodes and 'airlike' 2018-02-13 03:48:39 +00:00
mapgen.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
mapgen_carpathian.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_carpathian.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_flat.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_flat.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_fractal.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_fractal.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_singlenode.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
mapgen_singlenode.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_v5.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_v5.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_v6.cpp Dungeons: Avoid generation in multiple liquid nodes and 'airlike' 2018-02-13 03:48:39 +00:00
mapgen_v6.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_v7.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_v7.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_valleys.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mapgen_valleys.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mg_biome.cpp Biomes: Add 'get heat', 'get humidity', 'get biome data' APIs 2018-01-16 08:47:07 +00:00
mg_biome.h Biomes: Add 'get heat', 'get humidity', 'get biome data' APIs 2018-01-16 08:47:07 +00:00
mg_decoration.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mg_decoration.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mg_ore.cpp Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mg_ore.h Mapgen folder: Update and improve copyright information of files 2018-01-15 04:42:08 +00:00
mg_schematic.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
mg_schematic.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
treegen.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
treegen.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00