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
659def4479
fix Pop message doesn't get sent if more than 1 prompt screen on the stack
2005-03-23 06:46:24 +00:00
Chris Danford
e76b50d499
don't calculate NextScreen until options have been exported
2005-03-17 17:54:46 +00:00
Chris Danford
e992442fe0
have ScreenWithMenuElements play and stop music (instead of ScreenOptions and ScreenSelect)
...
Add StopMusicOnBack metric
2005-03-13 04:25:43 +00:00
Chris Danford
fbaaf61313
refresh icons per-row, per-player
2005-03-13 02:25:33 +00:00
Chris Danford
4b824bbe47
export and import separately for each player
2005-03-13 00:59:03 +00:00
Chris Danford
1483e577d1
add PlayMusic metrics instead of using optional GetPath
2005-03-02 07:42:37 +00:00
Chris Danford
3c049c100d
fix next screen logic
2005-02-26 23:50:24 +00:00
Chris Danford
3dac12a433
fix EditMenu next screen logic
2005-02-26 22:19:29 +00:00
Chris Danford
b48a19dd2f
fix SeparateExitRow
...
add ShowExitRow
Allow ScreenOptions to override BeginFadingOut in case they don't want to set a new screen
2005-02-26 21:35:27 +00:00
Chris Danford
0bcaeb0c43
cleanup
...
row reload fixes
2005-02-26 11:19:19 +00:00
Chris Danford
2f7e332d6b
remove unused bShowUnderlines
2005-02-25 19:36:58 +00:00
Chris Danford
6249b18702
move bFirstRowGoesDown logic into OptionRow
...
fix deleted OptionRowHanlder used in in ~OptionRow
move options importing/exporting into OptionRow so that OptionRow can refresh itself in response to a Message
2005-02-25 05:45:16 +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
fb4ab8886c
save the Handler in OptionRow so a row can refresh itself without needing the Screen to Import/Export
2005-02-24 13:48:14 +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
Chris Danford
7c237be91f
export specific rows, not all rows at once, to make it easier to reload certain rows
2005-02-24 01:17:39 +00:00
Glenn Maynard
b51b0cfb4c
Use Init() for all screens, so we can set state before the base class
...
members are loaded--they'll see resets, score finalization, etc. It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Chris Danford
21f6266517
cleanup
2005-02-23 05:51:10 +00:00
Chris Danford
cdfb4cff1e
add "exportonchange" flag
...
add support for RefreshRowNames in ROW_LUA
2005-02-22 23:48:17 +00:00
Chris Danford
7d9757621c
force same choice for both players when selecting style
2005-02-22 03:13:38 +00:00
Chris Danford
b688bff51d
add pushing to vectors with any type
2005-02-21 06:51:10 +00:00
Chris Danford
5c7b8314f4
allow hiding of option rows based on the value of other rows
2005-02-20 10:12:50 +00:00
Glenn Maynard
bb1e676460
fix options menu playing music too early
2005-02-20 00:22:37 +00:00
Chris Danford
36b325a295
cleanup: move code from ScreenOptions into OptionRow
2005-02-19 19:17:28 +00:00
Chris Danford
518638028d
cleanup
2005-02-19 01:27:51 +00:00
Glenn Maynard
ac1d2de3ea
bring back self parameters
2005-02-16 05:26:11 +00:00
Glenn Maynard
073e891589
SetSelections -> SaveSelections, GetSelections -> LoadSelections to avoid
...
confusion with OptionRow
2005-02-16 04:45:47 +00:00
Glenn Maynard
e67d2eee02
zero selections
2005-02-16 04:12:07 +00:00
Glenn Maynard
d470fe11fe
fix assertion failure: SetSelections and GetSelections (currently) take no
...
"self" parameter--you can store the table index in an upvalue if you need
it. (I havn't worked with this enough, yet, to tell which method is better ...)
2005-02-16 03:45:28 +00:00
Glenn Maynard
51d23bb03c
fix comments
2005-02-16 03:40:44 +00:00
Chris Danford
98cee78b78
assert on invalid enum strings early
2005-02-14 17:51:57 +00:00
Glenn Maynard
3c65876ed3
Lua interface to creating options menu rows. The code's a little ugly;
...
cleanups and samples coming in a bit.
2005-02-14 01:42:21 +00:00
Glenn Maynard
33b74d0fc3
simplify
2005-02-14 01:38:57 +00:00
Chris Danford
202170ab53
add "ShowOneInRow"
2005-02-13 18:14:11 +00:00
Glenn Maynard
859ca34079
fix options menu loading every other menu
2005-02-12 09:07:59 +00:00
Glenn Maynard
ccc31cad7f
SelectTypeToString, StringToSelectType, LayoutTypeToString, StringToLayoutType
2005-02-12 05:08:43 +00:00
Chris Danford
93b8ba48b6
Move OptionRow to a separate file
...
Don't init all BitmapText objects for long rows. Calculate the row width, then init the text.
2005-02-11 07:50:26 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Chris Danford
bab89e1b07
fix underlines showing in ScreenOptionsMenu
2005-01-31 03:32:59 +00:00
Chris Danford
b3e9d3aed0
fix options icon names
2005-01-29 22:47:37 +00:00
Chris Danford
e273da39c6
replace ScreenMenuJukebox with ScreenOptionsMaster
2005-01-29 21:56:24 +00:00
Chris Danford
cd9c48d645
LuaHelpers -> LuaManager
2005-01-24 02:26:55 +00:00
Glenn Maynard
f98a51d87e
fix player 2 getting wrong player options applied
2005-01-10 13:04:31 +00:00
Glenn Maynard
3c8e26369b
Lua should not depend on ThemeManager
2005-01-09 01:31:06 +00:00
Glenn Maynard
317378b028
Init -> InitMenu
2005-01-03 22:20:39 +00:00
Chris Danford
9b457eb241
add aspect ratio pref
2004-12-23 06:50:19 +00:00