Glenn Maynard
6d9e23f60c
cleanup
2007-04-27 19:53:33 +00:00
Steve Checkoway
ef22ba5d57
SONGMAN API change.
2007-04-07 05:11:47 +00:00
Glenn Maynard
1f1ae1a465
fix default selection
2007-03-22 07:06:08 +00:00
Glenn Maynard
9e5cf1ec61
add GetDefaultOption
2007-03-18 09:51:44 +00:00
Chris Danford
0160e23705
style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
...
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford
f77647b5ad
enum name cleanup: DIFFICULTY_* -> Difficulty_*
2007-02-22 07:18:05 +00:00
Glenn Maynard
ffc66719f7
cleanup
2006-11-21 03:48:12 +00:00
Glenn Maynard
c86c218522
MessageToString -> MessageIDToString
2006-11-14 04:26:38 +00:00
Steve Checkoway
e87789da7c
Rename XToString2 to XToString.
2006-10-15 00:09:18 +00:00
Steve Checkoway
04bff6bc1d
Use XToString2.
2006-10-15 00:00:22 +00:00
Glenn Maynard
f18cb36048
don't AtEval these args
2006-10-11 02:41:24 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
8a4ddd1515
Invalid
2006-10-07 04:13:43 +00:00
Glenn Maynard
e531249704
naming cleanups
2006-09-26 20:49:10 +00:00
Glenn Maynard
f806ec5936
StepsType_Invalid
2006-09-26 20:28:46 +00:00
Glenn Maynard
f567a0fd28
cleanup arg order
2006-09-26 08:54:54 +00:00
Steve Checkoway
d7e64dc979
Simplify. PushStack was only calling Push and possibly generating a function for each enumerated type which in the end only called Push. Rename PopStack -> Pop to be symmetric with Push.
2006-09-21 07:06:18 +00:00
Glenn Maynard
d04a5920fa
LuaExpression -> LuaReference
2006-09-21 02:09:44 +00:00
Steve Checkoway
b1ccf2e5ff
The correct syntax for theme metrics is "class::name".
2006-09-17 05:37:42 +00:00
Steve Checkoway
6ea2a41b00
Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible.
2006-09-17 01:19:19 +00:00
Glenn Maynard
45e5f76af0
when there's a sensible error handling path, prefer to use it instead of asserting
2006-09-07 04:26:59 +00:00
Glenn Maynard
685e2e7412
Split part of OptionRow::GetThemedItemText into OptionRowHandler::GetThemedItemText.
...
(OptionRowHandler handles low-level option sets, including row and option
titles; OptionRow handles ScreenOption-specific parts, like "NextRow".)
2006-09-01 04:54:15 +00:00
Glenn Maynard
e6d1712c27
move OptionRowDefinition into OptionRowHandler
...
(want OptionRowHandler to be easily usable without OptionRow; ORH is
really part of ORD, not OptionRow)
2006-09-01 04:37:39 +00:00
Glenn Maynard
3f468cb30a
move OptionTitle into OptionRowHandler
2006-09-01 04:29:24 +00:00
Glenn Maynard
1a42ad7d4e
simplify
2006-08-31 23:06:22 +00:00
Chris Danford
7ac45c24e4
save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore.
2006-08-05 02:38:05 +00:00
Glenn Maynard
9843feb01f
make invalid conf types non-fatal
2006-07-05 02:39:47 +00:00
Chris Danford
418b41ab22
add OptionRowHandler* MakeSimple( const MenuRowDef &mr )
2006-06-12 22:51:43 +00:00
Steve Checkoway
268624f8ec
Minor spacing cleanup.
2006-05-20 05:40:09 +00:00
Glenn Maynard
c7b6b038c5
fix assert if P2 doesn't match any options and P1 is active
2006-03-24 18:16:28 +00:00
Chris Danford
e5da1a542a
fix AV preloading SPlayerOptions when no course selected
2006-03-01 21:37:49 +00:00
Glenn Maynard
9ac8082f3a
more useful warning
2006-02-28 21:45:46 +00:00
Glenn Maynard
977689ac83
Annoying: allow OptionRowHandlers to specify what they reloaded, and
...
don't re-create things if we've only changed what's enabled. Use this
with the Lua interface, by making EnabledForPlayers a function returning
a table instead of a table.
2006-02-27 05:43:39 +00:00
Glenn Maynard
b492263f82
closer to a fixed Reload
2006-02-26 21:32:52 +00:00
Glenn Maynard
2de0170202
fix ReloadRowMessages ignored
2006-02-26 09:37:37 +00:00
Glenn Maynard
30bc09ee74
fix speed line
2006-02-18 03:18:58 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
b52e776f36
remove def param; use m_Def
2006-01-19 03:43:29 +00:00
Glenn Maynard
bc138aa563
def is always m_Def
2006-01-19 03:36:06 +00:00
Glenn Maynard
e3798432d4
implement OptionRowHandlerListSteps::Reload
2006-01-18 06:44:13 +00:00
Glenn Maynard
32b83fbc00
move similar code together, in hopes of nudging them together later
2006-01-18 03:18:03 +00:00
Glenn Maynard
6adbf26fb3
Give each "list" type its own class, and create them in OptionRowHandlerUtil::Make.
...
- The metrics-visible "list" type should only be used for items that actually
use ScreenOptionsMaster lists. The fact that the others use the same class
for convenience is an implementation detail.
- Each type can have its own Reload() method, if appropriate.
2006-01-18 02:56:41 +00:00
Glenn Maynard
1f3b71f3b1
move SelectExactlyOne and GetOneSelection into a namespace
2006-01-18 02:00:22 +00:00
Glenn Maynard
9b37d8966c
LoadInternal doesn't call Init()
2006-01-18 00:09:37 +00:00
Glenn Maynard
b1cfe1bb72
unify m_Def.Init
2006-01-18 00:09:11 +00:00
Glenn Maynard
2b172e7f7c
Remove defOut param; it's always m_Def.
2006-01-18 00:06:25 +00:00
Glenn Maynard
04a702ea22
cleanup
2006-01-17 23:26:49 +00:00
Glenn Maynard
1e4c5cabe0
add OptionRowHandlerUtil::MakeNull
2006-01-17 20:39:56 +00:00
Glenn Maynard
85d654a306
remove unused parameter; simplify
2006-01-17 20:36:29 +00:00
Glenn Maynard
d1126e82b3
fix base not called
2006-01-17 20:19:04 +00:00