mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 04:15:44 +02:00
Stratum ore: Add option for a constant thickness stratum
Add a 'stratum thickness' integer parameter, as an alternative to providing a 2nd noise parameter for thickness variation.
This commit is contained in:
@@ -35,6 +35,7 @@ class MMVManip;
|
||||
#define OREFLAG_PUFF_CLIFFS 0x02
|
||||
#define OREFLAG_PUFF_ADDITIVE 0x04
|
||||
#define OREFLAG_USE_NOISE 0x08
|
||||
#define OREFLAG_USE_NOISE2 0x10
|
||||
|
||||
enum OreType {
|
||||
ORE_SCATTER,
|
||||
@@ -139,6 +140,7 @@ public:
|
||||
|
||||
NoiseParams np_stratum_thickness;
|
||||
Noise *noise_stratum_thickness = nullptr;
|
||||
u16 stratum_thickness;
|
||||
|
||||
OreStratum() = default;
|
||||
virtual ~OreStratum();
|
||||
|
Reference in New Issue
Block a user