38 bool getMapSetting(
const std::string &name, std::string *value_out)
const;
47 const std::string &value,
bool override_meta =
false);
50 const NoiseParams *value,
bool override_meta =
false);
Definition map_settings_manager.h:30
MapSettingsManager(const std::string &map_meta_path)
Definition map_settings_manager.cpp:13
bool loadMapMeta()
Definition map_settings_manager.cpp:82
Settings * m_defaults
Definition map_settings_manager.h:60
bool setMapSetting(const std::string &name, const std::string &value, bool override_meta=false)
Definition map_settings_manager.cpp:52
bool getMapSettingNoiseParams(const std::string &name, NoiseParams *value_out) const
Definition map_settings_manager.cpp:44
bool setMapSettingNoiseParams(const std::string &name, const NoiseParams *value, bool override_meta=false)
Definition map_settings_manager.cpp:67
~MapSettingsManager()
Definition map_settings_manager.cpp:29
MapgenParams * makeMapgenParams()
Definition map_settings_manager.cpp:126
MapgenParams * mapgen_params
Definition map_settings_manager.h:36
Settings * m_map_settings
Definition map_settings_manager.h:61
std::string m_map_meta_path
Definition map_settings_manager.h:57
bool getMapSetting(const std::string &name, std::string *value_out) const
Definition map_settings_manager.cpp:37
SettingsHierarchy m_hierarchy
Definition map_settings_manager.h:59
bool saveMapMeta()
Definition map_settings_manager.cpp:97
Definition settings.h:109