X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmg_schematic.h;h=da885954062aea81750c6828f35f5b414de3e299;hb=5c0e659516857733d968707490b16bcf62f33c92;hp=5c732648edaadd561bf3451af186e08c243ac21f;hpb=2b99d904f6b8197931954772b6466d8ee56cafc9;p=dragonfireclient.git diff --git a/src/mg_schematic.h b/src/mg_schematic.h index 5c732648e..da8859540 100644 --- a/src/mg_schematic.h +++ b/src/mg_schematic.h @@ -106,8 +106,9 @@ class Schematic : public ObjDef, public NodeResolver { bool serializeToLua(std::ostream *os, const std::vector &names, bool use_comments, u32 indent_spaces); - void blitToVManip(v3s16 p, MMVManip *vm, Rotation rot, bool force_place); - void placeStructure(Map *map, v3s16 p, u32 flags, Rotation rot, bool force_place); + void blitToVManip(MMVManip *vm, v3s16 p, Rotation rot, bool force_place); + bool placeOnVManip(MMVManip *vm, v3s16 p, u32 flags, Rotation rot, bool force_place); + void placeOnMap(Map *map, v3s16 p, u32 flags, Rotation rot, bool force_place); void applyProbabilities(v3s16 p0, std::vector > *plist,