8#include <unordered_set>
21#define OREFLAG_ABSHEIGHT 0x01
22#define OREFLAG_PUFF_CLIFFS 0x02
23#define OREFLAG_PUFF_ADDITIVE 0x04
24#define OREFLAG_USE_NOISE 0x08
25#define OREFLAG_USE_NOISE2 0x10
u16 biome_t
Definition cavegen.h:10
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:353
OreBlob()
Definition mg_ore.h:113
ObjDef * clone() const override
Definition mg_ore.cpp:345
virtual ~OreManager()=default
OreManager()
Definition mg_ore.h:184
OreManager * clone() const
Definition mg_ore.cpp:60
size_t placeAllOres(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax)
Definition mg_ore.cpp:33
static Ore * create(OreType type)
Definition mg_ore.h:160
const char * getObjectTitle() const
Definition mg_ore.h:155
void clear()
Definition mg_ore.cpp:50
virtual ~OrePuff()
Definition mg_ore.cpp:251
Noise * noise_puff_bottom
Definition mg_ore.h:100
NoiseParams np_puff_bottom
Definition mg_ore.h:98
ObjDef * clone() const override
Definition mg_ore.cpp:258
NoiseParams np_puff_top
Definition mg_ore.h:97
Noise * noise_puff_top
Definition mg_ore.h:99
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:272
OrePuff()
Definition mg_ore.h:102
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:133
OreScatter()
Definition mg_ore.h:71
ObjDef * clone() const override
Definition mg_ore.cpp:125
OreSheet()
Definition mg_ore.h:81
ObjDef * clone() const override
Definition mg_ore.cpp:182
u16 column_height_min
Definition mg_ore.h:85
u16 column_height_max
Definition mg_ore.h:86
float column_midpoint_factor
Definition mg_ore.h:87
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:195
virtual ~OreStratum()
Definition mg_ore.cpp:504
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:523
ObjDef * clone() const override
Definition mg_ore.cpp:510
Noise * noise_stratum_thickness
Definition mg_ore.h:138
u16 stratum_thickness
Definition mg_ore.h:139
NoiseParams np_stratum_thickness
Definition mg_ore.h:137
OreStratum()
Definition mg_ore.h:141
void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override
Definition mg_ore.cpp:438
ObjDef * clone() const override
Definition mg_ore.cpp:425
int sizey_prev
Definition mg_ore.h:124
virtual ~OreVein()
Definition mg_ore.cpp:419
float random_factor
Definition mg_ore.h:122
OreVein()
Definition mg_ore.h:126
Noise * noise2
Definition mg_ore.h:123
s16 y_max
Definition mg_ore.h:48
Ore(bool needs_noise)
Definition mg_ore.h:56
virtual ~Ore()
Definition mg_ore.cpp:71
std::vector< content_t > c_wherein
Definition mg_ore.h:43
s16 clust_size
Definition mg_ore.h:46
const bool needs_noise
Definition mg_ore.h:40
u32 flags
Definition mg_ore.h:50
void cloneTo(Ore *def) const
Definition mg_ore.cpp:102
virtual void generate(MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap)=0
float nthresh
Definition mg_ore.h:51
NoiseParams np
Definition mg_ore.h:52
std::unordered_set< biome_t > biomes
Definition mg_ore.h:54
u8 ore_param2
Definition mg_ore.h:49
u32 clust_scarcity
Definition mg_ore.h:44
Noise * noise
Definition mg_ore.h:53
s16 clust_num_ores
Definition mg_ore.h:45
virtual void resolveNodeNames()
Definition mg_ore.cpp:77
s16 y_min
Definition mg_ore.h:47
size_t placeOre(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax)
Definition mg_ore.cpp:84
content_t c_ore
Definition mg_ore.h:42
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
u16 content_t
Definition mapnode.h:22
OreType
Definition mg_ore.h:27
@ ORE_SCATTER
Definition mg_ore.h:28
@ ORE_VEIN
Definition mg_ore.h:32
@ ORE_SHEET
Definition mg_ore.h:29
@ ORE_BLOB
Definition mg_ore.h:31
@ ORE_STRATUM
Definition mg_ore.h:33
@ ORE_PUFF
Definition mg_ore.h:30
u16 biome_t
Definition mg_ore.h:13
FlagDesc flagdesc_ore[]
Definition mg_ore.cpp:16