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
Chris Danford
6e5b3a5ed8
fix PrefsManager::m_sCurrentGame not current, so GamePrefs from Static.ini weren't being used
2005-10-28 01:44:19 +00:00
Glenn Maynard
495799d04b
missing header
2005-10-27 17:28:04 +00:00
Glenn Maynard
ccbbb2e5ec
Add an optional template parameter to Preference to specify the operating type
...
for conversions. This way, Preference doesn't need to know about every enum
type used with it. (This means that you can't construct a Preference<T,U> from T,
since you don't know U, which led to the previous ScreenOptionsMasterPrefs.cpp
change.)
2005-10-27 15:47:31 +00:00
Chris Danford
e00a57e05e
use Preference1D
2005-10-26 23:09:56 +00:00
Chris Danford
feb1bfb0fc
naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
...
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Glenn Maynard
ea1bede8c3
drop StepMania.ini sections. Almost everything is in [Options], and it's
...
hard enough keeping straight which arbitrary options screen an option
is in without having a separate categorization for the INI. (This will
simplify later changes.)
2005-05-19 01:25:38 +00:00
Chris Danford
820fb0b361
broadcast on Preference changes
2005-05-06 20:41:05 +00:00
Glenn Maynard
61064820b9
SetFromStack
2005-02-22 04:22:24 +00:00
Glenn Maynard
ef12eea2d4
Add Preference<type>::PushValue() (note that this is not a PushSelf).
2005-01-30 02:02:42 +00:00
Glenn Maynard
dbb52c70d7
real fix for options
2004-12-07 09:22:38 +00:00
Glenn Maynard
f7bb6ef29e
grr, not quite
2004-12-07 08:32:29 +00:00
Glenn Maynard
8e57c4ca76
This should fix options menu crashes. Adding casts to the MOVE() macros
...
didn't make it work, since there was no cast overload to bool&, etc; it
just forced the (non-POD) type to that type, which resulted in the struct
being clobbered.
2004-12-07 08:28:24 +00:00
Glenn Maynard
ba929b8e71
move more common stuff out of the template class, so g_pvpSubscribers is
...
more useful
2004-12-07 01:44:17 +00:00
Sean Burke
e15d1da6b7
Revert and fix a bit better.
2004-12-04 20:44:02 +00:00
Steve Checkoway
eaca864906
Fix crash (only gcc?)
2004-12-04 20:36:29 +00:00
Chris Danford
005a7f5efa
convert more prefs to use Preference
2004-12-04 10:35:50 +00:00
Chris Danford
d46bfd460d
convert some prefs to use Preference
2004-12-04 08:21:54 +00:00
Chris Danford
63e138a212
remove includes from Preference.h
2004-12-04 07:15:22 +00:00
Chris Danford
5127ceef4d
remove CachedThemeMetrics in favor of ThemeMetric<T>
...
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Chris Danford
807d892f4f
allow theme to specify logical screen dimensions
2004-09-21 06:07:12 +00:00
Steve Checkoway
2279d9ba2c
Oops, missed one.
2004-09-13 04:45:36 +00:00
Steve Checkoway
3dc17a7804
Add virtual dtor, fix init order, const fixes, add operator const T& so you can use the preference exactly like its type.
2004-09-13 04:37:38 +00:00
Chris Danford
4a08923844
add missing file
2004-09-13 04:27:52 +00:00