diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:57:41 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:57:41 +0100 |
commit | 6ccb5835ff55d85156be91473c598eca9d6cb9a6 (patch) | |
tree | 7f1eaf8b94694c8e24e206909ba8f55a1ebfbb3e /src/map_settings_manager.h | |
parent | 244713971a976e43e8740b6a9d9d122e37020ef2 (diff) | |
download | dragonfireclient-6ccb5835ff55d85156be91473c598eca9d6cb9a6.tar.xz |
Revert "Make Lint Happy"
This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4.
Diffstat (limited to 'src/map_settings_manager.h')
-rw-r--r-- | src/map_settings_manager.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/map_settings_manager.h b/src/map_settings_manager.h index e7383cec5..5baa38455 100644 --- a/src/map_settings_manager.h +++ b/src/map_settings_manager.h @@ -42,10 +42,10 @@ struct MapgenParams; to whichever Map-related objects that may require it. - Save these active settings to the metadata file when requested */ -class MapSettingsManager -{ +class MapSettingsManager { public: - MapSettingsManager(Settings *user_settings, const std::string &map_meta_path); + MapSettingsManager(Settings *user_settings, + const std::string &map_meta_path); ~MapSettingsManager(); // Finalized map generation parameters @@ -53,16 +53,17 @@ public: bool getMapSetting(const std::string &name, std::string *value_out); - bool getMapSettingNoiseParams(const std::string &name, NoiseParams *value_out); + bool getMapSettingNoiseParams( + const std::string &name, NoiseParams *value_out); // Note: Map config becomes read-only after makeMapgenParams() gets called // (i.e. mapgen_params is non-NULL). Attempts to set map config after // params have been finalized will result in failure. - bool setMapSetting(const std::string &name, const std::string &value, - bool override_meta = false); + bool setMapSetting(const std::string &name, + const std::string &value, bool override_meta = false); - bool setMapSettingNoiseParams(const std::string &name, const NoiseParams *value, - bool override_meta = false); + bool setMapSettingNoiseParams(const std::string &name, + const NoiseParams *value, bool override_meta = false); bool loadMapMeta(); bool saveMapMeta(); |