Commit Graph

167 Commits

Author SHA1 Message Date
Glenn Maynard 6e20d9d52d use IPreference::GetPreferenceByName 2007-01-22 22:42:39 +00:00
John Bauer fa74b9fdcc A new set of preferences has a screwed up Theme setting. SM acts
as if the theme were set to "default", which is correct, but when you
enter the Appearances menu, it changes the theme to "beat" instead.
This change fixes the bug by making SM use the same string constant
everywhere the default theme is set.
2006-12-05 20:58:26 +00:00
John Bauer ab37d685a0 Fix up the way enum options are set, which is broken in many cases.
Do this by correctly calling ToString and FromString.  Also, fix the
missing metric for DefaultFailType.

Still broken is the way a new set of preferences doesn't have "default"
as the default theme.
2006-12-05 16:56:01 +00:00
Glenn Maynard c7755ece19 remove SoundResampleQuality
add m_sPrefName, so more prefs can access prefs generically
2006-11-21 04:13:09 +00:00
Glenn Maynard 08bf61191d Add FailAtEnd, which means "check failure only at the very
end of the song" (intended for use with "PassMark", which
needs a better name).  This isn't called "FailEndOfSong" to
avoid confusion, and was the prompting for renaming
FailEndOfSong.)
2006-11-09 09:09:40 +00:00
Glenn Maynard f20ce1377b remove DefaultFailTypeNoOff 2006-11-09 09:08:05 +00:00
Glenn Maynard ff4376868f FailEndOfSong sounds like "fail at the end of the song", but
actually means "fail immediately, but you can play the rest
of the song anyway".  Rename FAIL_END_OF_SONG to
FAIL_IMMEDIATE_CONTINUE, to reflect this better.
2006-11-09 07:49:49 +00:00
Glenn Maynard 30fd6d77b4 maybe workaround g++ 3.3 weirdness 2006-10-07 08:56:12 +00:00
Glenn Maynard 0493bc75a9 standard enums for some preference types 2006-10-07 05:52:45 +00:00
Glenn Maynard 9affdf4b1a fix theme changing 2006-10-05 01:06:06 +00:00
Glenn Maynard e91a806b37 remove LuaFunctions.h 2006-09-29 09:54:50 +00:00
Glenn Maynard beef1efa87 partial ARRAYSIZE -> ARRAYLEN 2006-08-08 18:57:00 +00:00
Glenn Maynard 2d9b15746f If the selected language doesn't exist, eg. default selection picked
Macedonian and the theme doesn't support that language, we'll actually
use BASE_LANGUAGE, so show that language as selected in
options, not the one that sorts to the top.
2006-08-08 18:55:16 +00:00
Steve Checkoway a07e194cf1 Revert. Fixes Linux build. 2006-07-18 05:51:37 +00:00
Jason Felds 366c3440d4 Fix VC8 macro redef warning. (more to come) 2006-07-18 03:56:37 +00:00
Glenn Maynard 9843feb01f make invalid conf types non-fatal 2006-07-05 02:39:47 +00:00
Chris Danford 0aa85dc163 brighter default for "movies off" 2006-06-27 19:01:40 +00:00
Steve Checkoway cf9447e2b5 Save the Theme preference when changing themes. 2006-06-16 21:36:17 +00:00
Chris Danford daf48e67bc move installer strings to an unselectable theme for easier exporting via tools.exe 2006-06-14 07:42:40 +00:00
Chris Danford 6b7b595b9f don't use 'dark' in bgbrightness. That string is also the name of a mod and other languages do not translate to the same work as English does 2006-06-05 10:01:30 +00:00
Chris Danford 02d27d345d add "Dark" background brightness option 2006-03-30 02:48:40 +00:00
Glenn Maynard 7793715749 fix langauge changes not saved to disk 2006-03-03 07:32:45 +00:00
Glenn Maynard 4433dc510e The "aspect ratio" preference is complicated for casual users. Add a simple on/off wide-screen toggle. 2006-02-22 08:25:49 +00:00
Steve Checkoway a65d13c6d1 class -> typedef set. 2006-02-07 08:29:36 +00:00
Chris Danford 2ff000fc8a give up on auto AR. Handling the AR when the resolution is falling back is more complicated than it's worth. 2006-02-07 00:55:03 +00:00
Chris Danford bcf84d9bda re-add Auto AR. Tie it to the desktop resolution which does not change when toggling between fullscreen and windowed. This assumes that the desktop resolution is using square pixels. This assumption will hold true for all out-of-the-box machines with a widescreen display. 2006-02-06 23:40:28 +00:00
Chris Danford 3ed40f6559 remove auto aspect ratio. We can't have the aspect ratio changing mid-game when the screen resolution changes (toggling fullscreen) 2006-02-06 20:15:33 +00:00
Chris Danford ec809e5e3e show native names for each language 2006-01-27 08:13:01 +00:00
Chris Danford e09e502038 CenteredSingle->Center1Player 2006-01-27 07:09:43 +00:00
Chris Danford af732e66aa solo single -> centered single 2006-01-27 06:46:41 +00:00
Glenn Maynard 17ac1647fd cleanup 2006-01-25 09:42:26 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 17e790bef5 don't MakeUpper 2006-01-08 20:10:46 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Chris Danford 9c377d3f00 set theme and pseudolocalize at the same time 2006-01-08 05:35:02 +00:00
Glenn Maynard 2255a72086 use IPreference::GetPreferenceByName 2005-12-31 01:59:52 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 800158e185 move floating globals into a namespace 2005-12-02 01:16:28 +00:00
Chris Danford 11e5aeb8b9 use | marker for "don't theme this choice" 2005-12-01 19:27:33 +00:00
Chris Danford 797b829659 complete removal of Visualizations 2005-11-28 17:47:46 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Chris Danford 81037f05cd move Preferences from ThemeManager to completely in PrefsManager
Also, allow Defaults.ini and Static.ini to have sections
2005-11-09 10:55:30 +00:00
Glenn Maynard 9c0670b104 don't reset graphics for changing the language 2005-11-01 19:29:10 +00:00
Chris Danford e97d8ec930 add BGBrightnessNoZero 2005-10-30 05:37:13 +00:00
Glenn Maynard f3d55ef26e allow disabling song backgrounds (without disabling backgrounds entirely
with 0% Brightness, which gives an ugly black background)
2005-10-29 20:59:08 +00:00
Glenn Maynard 8c9b57dbae m_BackgroundMode -> m_RandomBackgroundMode 2005-10-29 20:04:57 +00:00
Glenn Maynard 6b06a89634 cleanup (should probably use spaces for tables like this; this is a mess with
standard 8-space tab stops)
2005-10-27 19:33:29 +00:00
Glenn Maynard 5e9fcddbbc cleanup 2005-10-27 19:29:04 +00:00
Glenn Maynard 0336db43c6 Sync up more SOptionsMenu pref names, and use the ConfOption code path when possible,
to reduce PREFSMAN access.
2005-10-27 16:47:23 +00:00
Glenn Maynard c0a37b7324 remove old "MOVE" macro 2005-10-27 16:14:23 +00:00