mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
toml format is now used for settings file
This commit is contained in:
parent
3723cf491f
commit
69b309dc60
5 changed files with 63 additions and 353 deletions
|
|
@ -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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue