toml format is now used for settings file

This commit is contained in:
MihailRis
2023-11-14 15:51:26 +03:00
parent 3723cf491f
commit 69b309dc60
5 changed files with 63 additions and 353 deletions
+2 -3
View File
@@ -43,9 +43,8 @@ struct EngineSettings {
Use values in range [1.0 - 2.0] where 1.0 is linear, 2.0 is quadratic
*/
float fogCurve = 1.6f;
};
void load_settings(EngineSettings& settings, std::string filename);
void save_settings(EngineSettings& settings, std::string filename);
#endif // SRC_SETTINGS_H_