Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
mg_decoration.cpp File Reference
#include "mg_decoration.h"
#include "mg_schematic.h"
#include "mapgen.h"
#include "noise.h"
#include "map.h"
#include "log.h"
#include "util/numeric.h"
#include <algorithm>
#include <vector>
#include "mapgen/treegen.h"
+ Include dependency graph for mg_decoration.cpp:

Variables

FlagDesc flagdesc_deco []
 

Variable Documentation

◆ flagdesc_deco

FlagDesc flagdesc_deco[]
Initial value:
= {
{"place_center_x", DECO_PLACE_CENTER_X},
{"place_center_y", DECO_PLACE_CENTER_Y},
{"place_center_z", DECO_PLACE_CENTER_Z},
{"force_placement", DECO_FORCE_PLACEMENT},
{"liquid_surface", DECO_LIQUID_SURFACE},
{"all_floors", DECO_ALL_FLOORS},
{"all_ceilings", DECO_ALL_CEILINGS},
{NULL, 0}
}
#define DECO_PLACE_CENTER_Z
Definition mg_decoration.h:29
#define DECO_ALL_CEILINGS
Definition mg_decoration.h:34
#define DECO_FORCE_PLACEMENT
Definition mg_decoration.h:31
#define DECO_PLACE_CENTER_Y
Definition mg_decoration.h:28
#define DECO_PLACE_CENTER_X
Definition mg_decoration.h:27
#define DECO_ALL_FLOORS
Definition mg_decoration.h:33
#define DECO_LIQUID_SURFACE
Definition mg_decoration.h:32

Referenced by ModApiMapgen::l_place_schematic(), ModApiMapgen::l_place_schematic_on_vmanip(), and ModApiMapgen::l_register_decoration().