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
418b41ab22
add OptionRowHandler* MakeSimple( const MenuRowDef &mr )
2006-06-12 22:51:43 +00:00
Mike Calfin
3b68311391
OptionRowHandler.h was changed (removing the class before the constructor definition on line 20) - it caused compilation failures with gcc 4.1.1. ffmpeg include files updated to 0.4.9 20060530.
2006-06-10 20:11:53 +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
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
1f3b71f3b1
move SelectExactlyOne and GetOneSelection into a namespace
2006-01-18 02:00:22 +00:00
Glenn Maynard
a3dc5596de
OptionRow::Reload doesn't take an OptionRowDefinition.
...
Implement Reload() explicitly, so we can clearly short-
circuit for static rows.
Fix up ScreenOptionsEditCourseEntry (broken during the
course of things).
2006-01-18 01:34:45 +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
ce43aab773
simplify Reload
2006-01-17 21:36:44 +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
2c1d2827a9
store an OptionRowDefinition inside OptionRowHandler
2006-01-17 20:21:16 +00:00
Glenn Maynard
0c949f7757
overload LoadInternal, not Load
2006-01-16 22:22:50 +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
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
00b346939d
add OptionRowHandlerGameCommand to cut out unnecessary level of indirection in metrics
2005-12-06 04:25:52 +00:00
Chris Danford
146c505c5a
change sprBullet to an AutoActor
2005-07-16 07:01:48 +00:00
Glenn Maynard
3095ce386b
fix cross-dependency between LuaManager.h and LuaFunctions.h
2005-05-28 22:11:20 +00:00
Chris Danford
1f76af4df2
tracking down assert on SPlayerOptions
2005-04-25 07:02:33 +00:00
Chris Danford
134cdb4451
fix skip when changing value in row:
...
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Chris Danford
61a5f51344
fix new Screens get created 3x after the last GameCommand change
...
remove complicated GetAndEraseScreen logic and export SELECT_NONE rows if they have focus, otherwise don't export them (fixes InsertCoin row)
2005-03-30 03:29:35 +00:00
Chris Danford
b73448d410
move item theming from ScreenOptionsMaster to OptionRow so MiniMenu and other options screens can be themed
2005-03-20 20:16:32 +00:00
Glenn Maynard
35f086ceb2
fix dtors not being called, leading to crashes
2005-02-27 00:18:44 +00:00
Chris Danford
77180c9d8d
cleanup
...
add EditMenuAction
2005-02-25 05:44:56 +00:00
Chris Danford
182db1222f
Have OptionRows subscribe to a Message in order to refresh
2005-02-24 15:40:05 +00:00
Chris Danford
2dfb9f148e
move bExportOnChange into OptionRowDef from OptionRowHandler
2005-02-24 11:35:31 +00:00
Chris Danford
ca3684b232
cleanup, fix offset vbSelected values when using NextRow choice at the front
2005-02-24 06:10:11 +00:00
Chris Danford
fbf7bc4f26
split OptionRowHandler out of ScreenOptionsMaster
2005-02-24 04:56:36 +00:00