aboutsummaryrefslogtreecommitdiff
path: root/src/mg_biome.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-06-03 12:58:50 +0100
committerparamat <mat.gregory@virginmedia.com>2016-06-05 16:37:02 +0100
commitd24f3841740b471eff384c8bd6e8bbfdfd03a3e2 (patch)
treede6aad2e1173a9bdf3e67d730f5c65bc25cffa06 /src/mg_biome.h
parent7841f1c5098d73b7538623cf898ca1e32ac6773d (diff)
downloadminetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.tar.gz
minetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.tar.bz2
minetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.zip
Biome API: Add per-biome riverbed material and depth
Mgvalleys: Remove riverbed sand placement from base terrain generation Riverbed material placement moved to MapgenBasic::generateBiomes() Document fields and add note that the biome API is still unstable
Diffstat (limited to 'src/mg_biome.h')
-rw-r--r--src/mg_biome.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mg_biome.h b/src/mg_biome.h
index 568d0b1ac..eb0a18a2f 100644
--- a/src/mg_biome.h
+++ b/src/mg_biome.h
@@ -54,11 +54,13 @@ public:
content_t c_water_top;
content_t c_water;
content_t c_river_water;
+ content_t c_riverbed;
content_t c_dust;
s16 depth_top;
s16 depth_filler;
s16 depth_water_top;
+ s16 depth_riverbed;
s16 y_min;
s16 y_max;