ce8669f0491cf6bdd691d46918a42e3172460dab
As noted in my previous commit message, I think ThemePrefs.ForceSave() can safely be deprecated. Since many novice themers look to default when learning, I think it's better to use ThemePrefs.Save() as the system was originally designed. I moved the ThemePrefs.Save() call out of ScreenTitleMenu decoration to ScreenOptionsService in. This seems safer to me; Pay/Freeplay never hit ScreenTitleMenu which could be another reason ThemePrefs would never get saved. Additionally, moving the call to ScreenOptionsService in also seems to have fixed a bug where switching themes via the Appearance Options service menu would cause the new theme to inherit all of the previous theme's ini settings. I'm still not entirely sure why. I've done a fair amount of testing with this. I've tried deleting the ThemePrefs.ini file outright and booting fresh into both default and Simply Love. In both cases, the ThemePrefs.ini file is written when StepMania exits or when the user hit ScreenOptionsService, whichever comes first. I've tried switching between various themes, including those that did not use ThemePrefs. I haven't seen any sections being created erroneously and themes that do use ThemePrefs don't seem to inherit the previous theme's settings any longer. Still, it *very* possible that I've missed some edge case(s) and is probably worth a few people testing before merging.
…
StepMania
StepMania is an advanced cross-platform rhythm game for home and arcade use.
Advanced cross-platform rhythm game for home and arcade use.
##Installing from Source##
StepMania can be compiled using CMake. More information about using CMake can be found in both the Build directory and CMake's documentation.
##Build Status##
We use Travis as our continuous integration server. The status can be found below.
##Resources##
- Website: http://www.stepmania.com/
- IRC: irc.freenode.net/#stepmania-devs
- Theming Wiki: http://goo.gl/SO7W5
- Lua Documentation for Themes: http://goo.gl/XNiov
##Licensing Terms##
- All of the our source code is under the MIT license.
- Any songs that are included within this repository are under the CC-NC license.
- The MAD library and FFmpeg codecs when built with our code use the GPL license.
Languages
C++
85.7%
Lua
4.3%
C
4.3%
Rich Text Format
2.3%
CMake
1.1%
Other
2%