summaryrefslogtreecommitdiff
path: root/src/mapgen/mg_biome.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-01-04 23:10:55 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-05 00:10:55 +0100
commit549cfd9db80c858bdc8d23a237ea57ccf5f68400 (patch)
treef027da5fdacc905d5f5941aa645e68e5994adb51 /src/mapgen/mg_biome.h
parentff2ceed381f0f9c7da5e147cdb9abf0118804ed6 (diff)
downloadminetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.tar.gz
minetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.tar.bz2
minetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.zip
Biomes: Add vertical biome blend (#6853)
Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
Diffstat (limited to 'src/mapgen/mg_biome.h')
-rw-r--r--src/mapgen/mg_biome.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapgen/mg_biome.h b/src/mapgen/mg_biome.h
index f45238f28..0f3fd76a9 100644
--- a/src/mapgen/mg_biome.h
+++ b/src/mapgen/mg_biome.h
@@ -67,6 +67,7 @@ public:
s16 y_max;
float heat_point;
float humidity_point;
+ s16 vertical_blend;
virtual void resolveNodeNames();
};