Fix only one texture being updated on window resize breaking sidebyside and topbottom...
[oweals/minetest.git] / src / mapgen.h
index 037cdd1f915f3a95c7c4d7db01b5dd65fac92287..3c897e02315a58c58b3ea5d42d2e4d826070fb22 100644 (file)
@@ -209,7 +209,7 @@ Ore *createOre(OreType type);
 
 
 enum DecorationType {
-       DECO_SIMPLE,
+       DECO_SIMPLE = 1,
        DECO_SCHEMATIC,
        DECO_LSYSTEM
 };
@@ -313,7 +313,7 @@ public:
        void saveSchematicFile(INodeDefManager *ndef);
 
        bool getSchematicFromMap(Map *map, v3s16 p1, v3s16 p2);
-       void placeStructure(Map *map, v3s16 p);
+       void placeStructure(Map *map, v3s16 p, bool force_placement);
        void applyProbabilities(v3s16 p0,
                std::vector<std::pair<v3s16, u8> > *plist,
                std::vector<std::pair<s16, u8> > *splist);