Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
mg_ore.h File Reference
#include <unordered_set>
#include "objdef.h"
#include "noise.h"
#include "nodedef.h"
+ Include dependency graph for mg_ore.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ore
 
class  OreScatter
 
class  OreSheet
 
class  OrePuff
 
class  OreBlob
 
class  OreVein
 
class  OreStratum
 
class  OreManager
 

Macros

#define OREFLAG_ABSHEIGHT   0x01
 
#define OREFLAG_PUFF_CLIFFS   0x02
 
#define OREFLAG_PUFF_ADDITIVE   0x04
 
#define OREFLAG_USE_NOISE   0x08
 
#define OREFLAG_USE_NOISE2   0x10
 

Typedefs

typedef u16 biome_t
 

Enumerations

enum  OreType {
  ORE_SCATTER , ORE_SHEET , ORE_PUFF , ORE_BLOB ,
  ORE_VEIN , ORE_STRATUM
}
 

Variables

FlagDesc flagdesc_ore []
 

Macro Definition Documentation

◆ OREFLAG_ABSHEIGHT

#define OREFLAG_ABSHEIGHT   0x01

◆ OREFLAG_PUFF_ADDITIVE

#define OREFLAG_PUFF_ADDITIVE   0x04

Referenced by OrePuff::generate().

◆ OREFLAG_PUFF_CLIFFS

#define OREFLAG_PUFF_CLIFFS   0x02

Referenced by OrePuff::generate().

◆ OREFLAG_USE_NOISE

#define OREFLAG_USE_NOISE   0x08

◆ OREFLAG_USE_NOISE2

#define OREFLAG_USE_NOISE2   0x10

Typedef Documentation

◆ biome_t

typedef u16 biome_t

Enumeration Type Documentation

◆ OreType

enum OreType
Enumerator
ORE_SCATTER 
ORE_SHEET 
ORE_PUFF 
ORE_BLOB 
ORE_VEIN 
ORE_STRATUM 

Variable Documentation

◆ flagdesc_ore

FlagDesc flagdesc_ore[]
extern