Persistent storage for global configuration #666
Labels
Enhancement
FileFinder
Patch available
Settings
All about customizable features, storing and applying them
UX
For issues affecting the user experience, such annoyances, counter-intuitive or ugly design
Milestone
This one superseds #53
The game browser would make a bit more sense when you could browse (or auto scan as planned for Android) your hard disk and add game directories.
The game directories must be remembered.
This needs changes to the FileFinder:
CreateDirectory: As the name says
GetConfigDirectory: Create path to config directory if non existant and return a DirectoryTree handle to it. SDL2 has a function for this (can't remember the name). The code could be used as a reference because I don't want a SDL2 dependency.
GetConfigFile: Return path to config file in config directory. Format to be decided, probably INI or JSON (picojson header)
Could probably also store other things in this file like button mappings (joystick), but that's not subject of this issue
The text was updated successfully, but these errors were encountered: