]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mg_schematic.h
Script API: Make the craft recipe field 'method' consistent
[dragonfireclient.git] / src / mg_schematic.h
index 5c732648edaadd561bf3451af186e08c243ac21f..da885954062aea81750c6828f35f5b414de3e299 100644 (file)
@@ -106,8 +106,9 @@ class Schematic : public ObjDef, public NodeResolver {
        bool serializeToLua(std::ostream *os, const std::vector<std::string> &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<std::pair<v3s16, u8> > *plist,