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

Go to the source code of this file.

Classes

class  Decoration
 
class  DecoSimple
 
class  DecoSchematic
 
class  DecoLSystem
 
class  DecorationManager
 

Namespaces

namespace  treegen
 

Macros

#define DECO_PLACE_CENTER_X   0x01
 
#define DECO_PLACE_CENTER_Y   0x02
 
#define DECO_PLACE_CENTER_Z   0x04
 
#define DECO_USE_NOISE   0x08
 
#define DECO_FORCE_PLACEMENT   0x10
 
#define DECO_LIQUID_SURFACE   0x20
 
#define DECO_ALL_FLOORS   0x40
 
#define DECO_ALL_CEILINGS   0x80
 

Typedefs

typedef u16 biome_t
 

Enumerations

enum  DecorationType { DECO_SIMPLE , DECO_SCHEMATIC , DECO_LSYSTEM }
 

Variables

FlagDesc flagdesc_deco []
 

Macro Definition Documentation

◆ DECO_ALL_CEILINGS

#define DECO_ALL_CEILINGS   0x80

Referenced by Decoration::placeDeco().

◆ DECO_ALL_FLOORS

#define DECO_ALL_FLOORS   0x40

Referenced by Decoration::placeDeco().

◆ DECO_FORCE_PLACEMENT

#define DECO_FORCE_PLACEMENT   0x10

◆ DECO_LIQUID_SURFACE

#define DECO_LIQUID_SURFACE   0x20

Referenced by Decoration::placeDeco().

◆ DECO_PLACE_CENTER_X

#define DECO_PLACE_CENTER_X   0x01

◆ DECO_PLACE_CENTER_Y

#define DECO_PLACE_CENTER_Y   0x02

◆ DECO_PLACE_CENTER_Z

#define DECO_PLACE_CENTER_Z   0x04

◆ DECO_USE_NOISE

#define DECO_USE_NOISE   0x08

Typedef Documentation

◆ biome_t

typedef u16 biome_t

Enumeration Type Documentation

◆ DecorationType

Enumerator
DECO_SIMPLE 
DECO_SCHEMATIC 
DECO_LSYSTEM 

Variable Documentation

◆ flagdesc_deco