mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copy
This commit is contained in:
parent
2062c80e21
commit
3c65d1acec
27 changed files with 225 additions and 77 deletions
|
@ -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()
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue