mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Minor script api fixes/cleanups
This commit is contained in:
@@ -50,10 +50,10 @@ public:
|
||||
// Finalized map generation parameters
|
||||
MapgenParams *mapgen_params = nullptr;
|
||||
|
||||
bool getMapSetting(const std::string &name, std::string *value_out);
|
||||
bool getMapSetting(const std::string &name, std::string *value_out) const;
|
||||
|
||||
bool getMapSettingNoiseParams(
|
||||
const std::string &name, NoiseParams *value_out);
|
||||
bool getMapSettingNoiseParams(const std::string &name,
|
||||
NoiseParams *value_out) const;
|
||||
|
||||
// Note: Map config becomes read-only after makeMapgenParams() gets called
|
||||
// (i.e. mapgen_params is non-NULL). Attempts to set map config after
|
||||
|
Reference in New Issue
Block a user