From beba96941365a750f8b681df7a73566bdf797f0c Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 13 Sep 2015 00:09:00 -0400 Subject: Ore: Add ore sheet column height range selection Modders are now able to select the range of ore column height, and the midpoint at which they 'grow' starting from. This commit adds three new parameters for the 'sheet' ore type: column_height_min, column_height_max, and column_midpoint_factor. clust_size is now deprecated for this ore type. --- src/mg_ore.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mg_ore.h') diff --git a/src/mg_ore.h b/src/mg_ore.h index ffe8cfe50..db204437e 100644 --- a/src/mg_ore.h +++ b/src/mg_ore.h @@ -87,6 +87,10 @@ class OreSheet : public Ore { public: static const bool NEEDS_NOISE = true; + u16 column_height_min; + u16 column_height_max; + float column_midpoint_factor; + virtual void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, u8 *biomemap); }; -- cgit v1.2.3