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:
parent
5b6bc8a12b
commit
524d446757
11 changed files with 37 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue