Glenn Maynard
002ccb6bcb
remove empty dtor
...
private
2006-01-16 23:00:03 +00:00
Glenn Maynard
3c63e09ca3
Previously, OptionRowHandler was owned and freed by
...
ScreenOptionsMaster (and ScreenOptionsManageProfiles).
Make it owned by OptionRow; the only pointer to them
is where they're stored in the OptionRow. This
eliminates the remaining association between m_OptionRowHandlers
and m_pRows; that was confusing, because they're in
different places, and aren't always the same size. It
also simplifies using OptionRowHandlers.
2006-01-16 22:55:57 +00:00
Glenn Maynard
5320b3e92e
OptionRowHandlers were originally exclusive to SOMaster, but
...
they're accessible by SOptions now, too. Move this slightly
tricky next-screen logic into SOptions, since it can apply
to any screen that sets OptionRowHandlers.
(Actually, this doesn't really belong in BeginFadingOut, since
it's not called "MaybeBeginFadingOutDependingOnTheCurrentOption".
Maybe this should be done in ExportOptions, I'm not sure yet,
but this is a step in the right direction.)
2006-01-16 20:30:55 +00:00
Glenn Maynard
2b4c9e4516
Transition away from Screen(sName).
2006-01-15 19:49:02 +00:00
Glenn Maynard
cfedf33602
remove empty overload
2006-01-15 08:13:24 +00:00
Glenn Maynard
e341ce46bb
remove unused
2006-01-15 08:12:27 +00:00
Chris Danford
da001879d4
OptionRowHandlers -> m_OptionRowHandlers
2005-07-16 05:24:41 +00:00
Chris Danford
4459393d84
row -> iRow
2005-07-13 19:01:42 +00:00
Glenn Maynard
c570457834
cleanup: override SM_GoToNextScreen instead of having a different path
2005-07-12 06:33:00 +00:00
Chris Danford
16fc6e6723
add ScreenOptionsProfiles (to soon replace ScreenProfileOptions)
2005-07-05 11:30:30 +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
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
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
182db1222f
Have OptionRows subscribe to a Message in order to refresh
2005-02-24 15:40:05 +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
cdfb4cff1e
add "exportonchange" flag
...
add support for RefreshRowNames in ROW_LUA
2005-02-22 23:48:17 +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
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
859ca34079
fix options menu loading every other menu
2005-02-12 09:07:59 +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
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
Glenn Maynard
d3180e8690
cleanup
2004-12-07 02:42:50 +00:00
Chris Danford
730787aacb
name cleanup: State->Screen
2004-12-05 11:59:39 +00:00
Chris Danford
e0b31f5354
add new row type, SELECT_NONE used in operator menu
2004-12-05 11:55:35 +00:00
Chris Danford
ab37218c47
rename: ModeChoice -> GameCommand
2004-12-02 06:29:20 +00:00
Chris Danford
ecedac015a
fix options screen doesn't correctly import selected trail if only 1 player joined
2004-07-11 02:44:42 +00:00
Glenn Maynard
e4d124dd91
license update
2004-06-08 05:22:33 +00:00
Glenn Maynard
7b9802b2bf
remove "SaveToProfile"
2004-04-28 23:42:23 +00:00
Glenn Maynard
56bd5bd008
fix CODE_CANCEL_ALL_PLAYER_OPTIONS resets both players
2004-04-02 00:58:26 +00:00
Glenn Maynard
65ebfa853a
initialize opt
2004-01-26 22:40:46 +00:00
Chris Danford
149138cf20
fix ImportOptions/ExportOptions interaction with multiselect
2004-01-11 04:34:00 +00:00
Chris Danford
e7936d8312
remove MAX_OPTION_LINES, cleanup selection tracking
2004-01-10 05:09:51 +00:00
Glenn Maynard
99b000129b
cleanup "smnavigation" flag
...
fix left/right act as up/down on options menu
never play change line sound when the option didn't change
2004-01-09 04:43:27 +00:00
Glenn Maynard
1df2544777
Prelaod sounds. Allow key repeat in optoins menus.
2003-11-25 21:53:56 +00:00
Glenn Maynard
6353d9a007
move GetDifficultyThemeName into SongManager
2003-11-16 19:07:52 +00:00
Chris Danford
0dfed02a29
add option to save modifiers to profile
2003-11-10 04:32:12 +00:00
Chris Danford
768b2e5846
rework ScreenOptionMaster metric names to not depend on language specific row title
...
create Mines row in ScreenPlayerOptions and move other options around
2003-11-07 07:25:52 +00:00
Glenn Maynard
c098349af5
improve error output
2003-10-03 07:02:05 +00:00
Glenn Maynard
aeafb770d5
Add graphic options. Cleanup.
2003-09-29 02:24:53 +00:00
Glenn Maynard
fbf03e066c
add smnavigation
2003-09-29 00:43:25 +00:00
Glenn Maynard
2ca689481e
Add ScreenOptionsMaster (partially functional)
2003-09-28 02:59:02 +00:00