1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

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.
This commit is contained in:
kwolekr 2015-09-13 00:09:00 -04:00
parent 1d6911676e
commit beba969413
4 changed files with 37 additions and 15 deletions

View file

@ -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);
};