mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +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
|
@ -83,7 +83,7 @@ struct MapgenV6Params : public MapgenParams {
|
|||
|
||||
class MapgenV6 : public Mapgen {
|
||||
public:
|
||||
EmergeManager *m_emerge;
|
||||
EmergeParams *m_emerge;
|
||||
|
||||
int ystride;
|
||||
u32 spflags;
|
||||
|
@ -133,7 +133,7 @@ public:
|
|||
content_t c_stair_cobble;
|
||||
content_t c_stair_desert_stone;
|
||||
|
||||
MapgenV6(MapgenV6Params *params, EmergeManager *emerge);
|
||||
MapgenV6(MapgenV6Params *params, EmergeParams *emerge);
|
||||
~MapgenV6();
|
||||
|
||||
virtual MapgenType getType() const { return MAPGEN_V6; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue