1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-01 15:55:26 +01:00

Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copy

This commit is contained in:
sfan5
2020-04-10 02:05:20 +02:00
committed by Loïc Blot
parent 2062c80e21
commit 3c65d1acec
27 changed files with 225 additions and 77 deletions

View File

@@ -99,11 +99,13 @@ public:
ObjDef *clone() const;
DecoSchematic() = default;
virtual ~DecoSchematic();
virtual size_t generate(MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling);
Rotation rotation;
Schematic *schematic = nullptr;
bool was_cloned = false; // see FIXME inside DecoSchemtic::clone()
};