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
Glenn Maynard
a629be2800
style
2006-01-17 06:51:22 +00:00
Glenn Maynard
b1c4fc168a
cleanup
2006-01-16 22:38:53 +00:00
Glenn Maynard
9f50c2aa5f
cleanup
2006-01-16 22:22:29 +00:00
Glenn Maynard
e23bebcfa3
Init() is only called by Load(); merge calls. Call it before setting m_cmds.
2006-01-15 23:10:50 +00:00
Glenn Maynard
0e4e3aa932
These code paths all call Init() and defOut.Init, including
...
the fall-through case. Merge them. (They're all a little
wrong: they clear m_cmds, which causes a crash later in
ImportOption on the error case, which is what I'm really
trying to fix ...)
2006-01-15 23:03:31 +00:00
Glenn Maynard
cb4739ff31
Use ApplyCommitsScreens. This is simpler, and eliminates one of the
...
few remaining uses of "NEXT_SCREEN" (deviations from the Screen path)
and nonstandard "SM_GoToNextScreen".
2006-01-15 08:04:40 +00:00
Chris Danford
848b2b0909
spacing cleanup
2006-01-09 01:07:02 +00:00
Chris Danford
fc18dbd342
make more strings localizable
2006-01-08 18:40:20 +00:00
Chris Danford
44225ad379
XToThemedString -> XToLocalizedString
2006-01-07 04:11:29 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00
Chris Danford
00b346939d
add OptionRowHandlerGameCommand to cut out unnecessary level of indirection in metrics
2005-12-06 04:25:52 +00:00
Chris Danford
11e5aeb8b9
use | marker for "don't theme this choice"
2005-12-01 19:27:33 +00:00
Chris Danford
8b8fa8aad3
move CommonMetrics into a namespace so that it's clear where they're coming from when used.
2005-10-27 05:16:19 +00:00
Chris Danford
e50a401341
move Character stuff out of messy GAMESTATE and into CHARMAN
2005-08-14 12:06:40 +00:00
Chris Danford
7191258c0a
clean up enum Message names so that they match the corresponding strings
2005-08-14 07:29:48 +00:00
Chris Danford
23b2cbdd59
Character -> CharacterID
...
add Character DisplayName
2005-08-14 02:00:27 +00:00
Glenn Maynard
635b6e805a
cleanup
2005-07-19 22:47:49 +00:00
Chris Danford
146c505c5a
change sprBullet to an AutoActor
2005-07-16 07:01:48 +00:00
Glenn Maynard
6badb0dd8c
transitioning m_bEditing -> m_EditMode, IsEditing()
2005-07-14 05:12:56 +00:00
Chris Danford
848d6c89e2
OptionRow: member name cleanup, add focus commands
2005-07-06 06:11:56 +00:00
Chris Danford
f0335f486c
GROUP_ALL_MUSIC -> GROUP_ALL
...
use GROUP_ALL as sentinel value in PreferredCourse
2005-06-24 06:06:16 +00:00