mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add minetest.get_mapgen_object to API
This commit is contained in:
parent
2c0b51795e
commit
8aa930f28e
14 changed files with 188 additions and 9 deletions
|
@ -93,6 +93,7 @@ public:
|
|||
~EmergeManager();
|
||||
|
||||
void initMapgens(MapgenParams *mgparams);
|
||||
Mapgen *getCurrentMapgen();
|
||||
Mapgen *createMapgen(std::string mgname, int mgid,
|
||||
MapgenParams *mgparams);
|
||||
MapgenParams *createMapgenParams(std::string mgname);
|
||||
|
@ -111,6 +112,7 @@ public:
|
|||
|
||||
class EmergeThread : public SimpleThread
|
||||
{
|
||||
public:
|
||||
Server *m_server;
|
||||
ServerMap *map;
|
||||
EmergeManager *emerge;
|
||||
|
@ -118,7 +120,6 @@ class EmergeThread : public SimpleThread
|
|||
bool enable_mapgen_debug_info;
|
||||
int id;
|
||||
|
||||
public:
|
||||
Event qevent;
|
||||
std::queue<v3s16> blockqueue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue