mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Respect game mapgen flags and save world noise params
This commit is contained in:
@@ -101,19 +101,16 @@ public:
|
||||
~EmergeManager();
|
||||
|
||||
void loadMapgenParams();
|
||||
static MapgenSpecificParams *createMapgenParams(const std::string &mgname);
|
||||
void initMapgens();
|
||||
Mapgen *getCurrentMapgen();
|
||||
Mapgen *createMapgen(const std::string &mgname, int mgid,
|
||||
MapgenParams *mgparams);
|
||||
MapgenSpecificParams *createMapgenParams(const std::string &mgname);
|
||||
static void getMapgenNames(std::list<const char *> &mgnames);
|
||||
void startThreads();
|
||||
void stopThreads();
|
||||
bool enqueueBlockEmerge(u16 peer_id, v3s16 p, bool allow_generate);
|
||||
|
||||
void loadParamsFromSettings(Settings *settings);
|
||||
void saveParamsToSettings(Settings *settings);
|
||||
|
||||
//mapgen helper methods
|
||||
Biome *getBiomeAtPoint(v3s16 p);
|
||||
int getGroundLevelAtPoint(v2s16 p);
|
||||
|
Reference in New Issue
Block a user