summaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-06-30 22:55:20 +0100
committerGitHub <noreply@github.com>2019-06-30 22:55:20 +0100
commitbb14b7e9564b982ddcecb972218bfdae00cb4de4 (patch)
tree8d7e6a4c053d0fc837c031f135adc309732c1888 /src/mapgen/mapgen.h
parent93f7e10e0dcf6d1f729daf01596ba1b66146329a (diff)
downloadminetest-bb14b7e9564b982ddcecb972218bfdae00cb4de4.tar.gz
minetest-bb14b7e9564b982ddcecb972218bfdae00cb4de4.tar.bz2
minetest-bb14b7e9564b982ddcecb972218bfdae00cb4de4.zip
Dungeongen: Remove most hardcoded dungeon nodes (#8594)
Biome-defined dungeon nodes was added as a feature to MT 5.0.0. So now remove most of the hardcoded dungeon node code that assumes a game has stone, sandstone, desert stone, and no other stone types. If biome-defined dungeon nodes are not found, dungeon nodes fall back to the 'cobble' mapgen alias if present, if not present they fall back to biome-defined 'stone'. Remove now-unnecessary mapgen aliases from MapgenBasic. Non-mgv6 games now only need to define 3 to 5 mapgen aliases. Document dungeon parameters. Make c_lava_source fallback to c_water_source as both are used as cave liquids.
Diffstat (limited to 'src/mapgen/mapgen.h')
-rw-r--r--src/mapgen/mapgen.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h
index 2fc3aed95..f98c3f377 100644
--- a/src/mapgen/mapgen.h
+++ b/src/mapgen/mapgen.h
@@ -257,21 +257,11 @@ protected:
v3s16 full_node_min;
v3s16 full_node_max;
- // Content required for generateBiomes
content_t c_stone;
- content_t c_desert_stone;
- content_t c_sandstone;
content_t c_water_source;
content_t c_river_water_source;
content_t c_lava_source;
-
- // Content required for generateDungeons
content_t c_cobble;
- content_t c_stair_cobble;
- content_t c_mossycobble;
- content_t c_stair_desert_stone;
- content_t c_sandstonebrick;
- content_t c_stair_sandstone_block;
int ystride;
int zstride;