#include <mg_decoration.h>
|
ObjDef * | clone () const |
|
| DecoSchematic ()=default |
|
virtual | ~DecoSchematic () |
|
virtual size_t | generate (MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling) |
|
| Decoration ()=default |
|
virtual | ~Decoration ()=default |
|
virtual void | resolveNodeNames () |
|
bool | canPlaceDecoration (MMVManip *vm, v3s16 p) |
|
size_t | placeDeco (Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax) |
|
virtual | ~ObjDef ()=default |
|
| NodeResolver () |
|
virtual | ~NodeResolver () |
|
void | cloneTo (NodeResolver *res) const |
|
bool | getIdFromNrBacklog (content_t *result_out, const std::string &node_alt, content_t c_fallback, bool error_on_fallback=true) |
|
bool | getIdsFromNrBacklog (std::vector< content_t > *result_out, bool all_required=false, content_t c_fallback=CONTENT_IGNORE) |
|
bool | isResolveDone () const |
|
void | reset (bool resolve_done=false) |
|
◆ DecoSchematic()
DecoSchematic::DecoSchematic |
( |
| ) |
|
|
default |
◆ ~DecoSchematic()
DecoSchematic::~DecoSchematic |
( |
| ) |
|
|
virtual |
◆ clone()
ObjDef * DecoSchematic::clone |
( |
| ) |
const |
|
virtual |
◆ generate()
Implements Decoration.
References Schematic::blitToVManip(), Decoration::canPlaceDecoration(), DECO_FORCE_PLACEMENT, DECO_PLACE_CENTER_X, DECO_PLACE_CENTER_Y, DECO_PLACE_CENTER_Z, Decoration::flags, VoxelManipulator::m_area, VoxelArea::MaxEdge, VoxelArea::MinEdge, p(), Decoration::place_offset_y, PcgRandom::range(), ROTATE_0, ROTATE_180, ROTATE_270, ROTATE_RAND, rotation, schematic, and Schematic::size.
◆ rotation
◆ schematic
Schematic* DecoSchematic::schematic = nullptr |
◆ was_cloned
bool DecoSchematic::was_cloned = false |
The documentation for this class was generated from the following files: