summaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-06-03 08:59:07 +0100
committerparamat <mat.gregory@virginmedia.com>2015-06-18 07:05:22 +0100
commite45ecad3ab401e169d1c8c9ba9448360b215b3e5 (patch)
tree37ee377eb171a4aeec150bc846db374f982705e1 /src/mapgen.h
parent2da150378039371761b2f8d1a13036382228e248 (diff)
downloadminetest-e45ecad3ab401e169d1c8c9ba9448360b215b3e5.tar.gz
minetest-e45ecad3ab401e169d1c8c9ba9448360b215b3e5.tar.bz2
minetest-e45ecad3ab401e169d1c8c9ba9448360b215b3e5.zip
Biome API: Add noise defined biome blend
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index a875e0f3d..a1cc8af53 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -115,7 +115,9 @@ struct MapgenParams {
u32 flags;
NoiseParams np_biome_heat;
+ NoiseParams np_biome_heat_blend;
NoiseParams np_biome_humidity;
+ NoiseParams np_biome_humidity_blend;
MapgenSpecificParams *sparams;
@@ -126,7 +128,9 @@ struct MapgenParams {
water_level(1),
flags(MG_TREES | MG_CAVES | MG_LIGHT),
np_biome_heat(NoiseParams(50, 50, v3f(750.0, 750.0, 750.0), 5349, 3, 0.5, 2.0)),
+ np_biome_heat_blend(NoiseParams(0, 1.5, v3f(8.0, 8.0, 8.0), 13, 2, 1.0, 2.0)),
np_biome_humidity(NoiseParams(50, 50, v3f(750.0, 750.0, 750.0), 842, 3, 0.5, 2.0)),
+ np_biome_humidity_blend(NoiseParams(0, 1.5, v3f(8.0, 8.0, 8.0), 90003, 2, 1.0, 2.0)),
sparams(NULL)
{}