summaryrefslogtreecommitdiff
path: root/src/mg_decoration.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-28 22:37:27 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-28 22:37:27 -0500
commit863379a4c68b9862ea6913c1b1e475d022aba100 (patch)
tree00c6089cdf46a1bfaae17bc0c52ed90db47976d2 /src/mg_decoration.h
parentc5faa644056c892ccf5e41cfde87a5b107149951 (diff)
downloadminetest-863379a4c68b9862ea6913c1b1e475d022aba100.tar.gz
minetest-863379a4c68b9862ea6913c1b1e475d022aba100.tar.bz2
minetest-863379a4c68b9862ea6913c1b1e475d022aba100.zip
Decoration: Add height_min and height_max parameters
Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
Diffstat (limited to 'src/mg_decoration.h')
-rw-r--r--src/mg_decoration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mg_decoration.h b/src/mg_decoration.h
index 910f1a581..3c96611c7 100644
--- a/src/mg_decoration.h
+++ b/src/mg_decoration.h
@@ -66,6 +66,8 @@ public:
int mapseed;
std::vector<content_t> c_place_on;
s16 sidelen;
+ s16 height_min;
+ s16 height_max;
float fill_ratio;
NoiseParams np;