An options menu which allows for disabling sound and music in game.
Removes the disable music button from the game.
Changes the directory in which scores are saved to match the XDG standard.
Adds the jsoncpp dependency.
Save high scores in the options file instead of their own files.
The jsoncpp library is used to save all the options in a json file.
Some things in this PR which could be seen as negative:
High scores set with the previous save format are not loaded.
An additional dependency is now required to build.
The disable music button was removed and the other buttons were not moved. To me this doesn't look weird and I don't miss the button, but others may not like it.
So @JoseTomasTocino the only input I'd like to have here would be if any of the possible negatives for this PR should be addressed or not if you have time.
This PR adds the following:
The jsoncpp library is used to save all the options in a json file.
Some things in this PR which could be seen as negative:
So @JoseTomasTocino the only input I'd like to have here would be if any of the possible negatives for this PR should be addressed or not if you have time.