-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings (like whether tiles are enabled, and screen resolution/fullscreen) should be saved #384
Comments
It turns out there's command line options to set these: |
Here's a (likely incomplete) list of settings that we probably want:
I think most of these settings should be modifiable at runtime; most of them already exist in-game, they're just not saved to disk. The file format should be simple enough to be easily parseable and writable, maybe something like this:
|
I think JSON is a good candidate format. Here's a library that might work: https://github.com/DaveGamble/cJSON |
Hi! I decided to take a look on this issue. I'm working in this repo. I already implemented input and output functionality for a JSON config. I was able to add following settings:
I also tried to take a look into window size settings, but I'm unsure about which part of the code is responsible for the window size. Perhaps you could point me in the right direction? |
It would be nice if settings, like whether tiles are enabled, screen resolution, and whether fullscreen is enabled, were saved, so it wasn't necessary to set them each time you open Brogue.
The text was updated successfully, but these errors were encountered: