Move settings to a standard text-based file format with meaningful order
I propose to refactor Settings.{cpp,h}
so that it parses and writes the config in an INI-style format, which sections for each meaningful category (graphics, input, etc.) and parameters sorted alphabetically under each section.
The current set of settings could become something like that:
[audio]
music = 1
stereo_mode = 0
stereo_reverse = 0
stereo_separation = 0.05
volume = 0.8
[devtools]
enabled = 0
floating = 0
text = 1
wireframe = 0
[gameplay]
damagebar = 0
gamespeed = 1
[graphics]
blood = 2
blur = 0
damage_effects = 1
decals = 1
details = 2
fullscreen = 0
screenheight = 768
screenwidth = 1024
[input]
key_forward = 26
key_* = *
invert_mouse = 0
mouse_sensitivity = 1
WDYT? If you think it interesting I can work on it, I could probably adapt Godot's ConfigFile parser for that.