1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Minor script api fixes/cleanups

This commit is contained in:
sfan5 2022-12-28 23:37:31 +01:00
parent 5b6bc8a12b
commit 524d446757
11 changed files with 37 additions and 36 deletions

View file

@ -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