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
fac88fb0fe
make dupe the ExportOptions loop look like the one in ScreenOptions
2006-01-16 20:59:11 +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
d1f82038d1
simplify
2006-01-16 20:02:42 +00:00
Glenn Maynard
a00ff1269f
cleanup
2006-01-16 03:57:12 +00:00
Glenn Maynard
244345febb
simplify
2006-01-16 03:52:45 +00:00
Glenn Maynard
a40a954ff7
cleanup
2006-01-16 03:49:21 +00:00
Glenn Maynard
06e94c8b8c
add NavigationMode
...
(OptionMenuFlags predated metric fallback logic, where we didn't
want to add a ton of flags that we'd have to duplicate in a bunch
of screens.)
2006-01-16 03:25:30 +00:00
Glenn Maynard
4fa6ab0e88
regular metric for InputMode
2006-01-16 02:37:19 +00:00
Glenn Maynard
2517ced11c
standard metric for "forceallplayers"
2006-01-15 22:35:25 +00:00
Glenn Maynard
d3fa0e12b0
remove no-op
2006-01-15 22:19:32 +00:00
Glenn Maynard
a87993bcb1
finish ctor transition
2006-01-15 20:46:15 +00:00
Glenn Maynard
2b4c9e4516
Transition away from Screen(sName).
2006-01-15 19:49:02 +00:00
Glenn Maynard
9056419cf5
remove logs (this stuff predates the crash handler and has been copied
...
and pasted around since)
2006-01-15 08:51:03 +00:00
Glenn Maynard
2b00a2f62a
simplify
2006-01-15 08:41:17 +00:00
Glenn Maynard
9ca202d311
remove transition
2006-01-15 08:21:03 +00:00
Glenn Maynard
0ff2505831
PlayerNumber(0) -> PLAYER_1
2006-01-15 08:15:27 +00:00
Glenn Maynard
cfedf33602
remove empty overload
2006-01-15 08:13:24 +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
Glenn Maynard
1d186c481d
const fix
2006-01-15 07:12:05 +00:00
Glenn Maynard
4a09761d19
fix crash
2006-01-15 00:05:22 +00:00
Glenn Maynard
201c4f42a8
generalize special case
2006-01-14 08:00:09 +00:00
Glenn Maynard
d276d5d001
cleanup
2006-01-13 22:40:28 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00
Chris Danford
2d8b30e049
polish
2005-12-06 12:41:33 +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
800158e185
move floating globals into a namespace
2005-12-02 01:16:28 +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
5d7885c764
move game prefs into PrefsManager
2005-10-27 04:54:45 +00:00
Glenn Maynard
b3d5f2390e
cleanup
2005-10-17 06:37:59 +00:00
Chris Danford
15880eafd6
When in attract and not playing attract sounds, have SOUNDMAN only play sounds with RageSoundParams.m_bCriticalSound == true.
...
Currently, only the coin sound has RageSoundParams.m_bCriticalSound = true.
2005-10-04 06:51:06 +00:00
Chris Danford
c885d87f4a
Use a lua transform function to position SOptions rows instead of having a Y metric for each row
2005-08-15 07:51:16 +00:00
Chris Danford
da001879d4
OptionRowHandlers -> m_OptionRowHandlers
2005-07-16 05:24:41 +00:00
Glenn Maynard
d9068e601d
LoadOptionIcon -> SetOptionIcon
2005-07-15 05:43:10 +00:00
Glenn Maynard
1f3ac4613c
simplify: add SetInputMode, like SetNavigation (rest of commit coming)
2005-07-15 03:28:09 +00:00
Glenn Maynard
b5d68fc123
call base ScreenOptions::Init after handling forceallplayers
2005-07-15 02:27:37 +00:00
Glenn Maynard
da09bd7e3a
cleanup (same as default)
2005-07-12 06:41:13 +00:00
Glenn Maynard
c570457834
cleanup: override SM_GoToNextScreen instead of having a different path
2005-07-12 06:33:00 +00:00
Glenn Maynard
cd76a879f6
cleanup: don't export options from SM_GoToNextScreen
...
(need to get rid of this AutoScreenMessage thing; causes duplicate variables
to be declared for every file that includes it)
2005-07-12 06:10:01 +00:00
Glenn Maynard
4c1920474c
de-switch and unindent
2005-07-12 06:03:12 +00:00
Chris Danford
848d6c89e2
OptionRow: member name cleanup, add focus commands
2005-07-06 06:11:56 +00:00
Glenn Maynard
ae413ab5b6
cleanup: do this like Screen
2005-06-25 08:16:30 +00:00
Chris Danford
2a6dcba6e8
cleanup:
...
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Chris Danford
47681f4684
DebugMenu: ReloadScreen load the current screen, not the initial screen
2005-05-24 23:32:39 +00:00
Chris Danford
e389ba6191
convert the rest to use Preference
2005-05-16 09:36:32 +00:00
Chris Danford
b54e78c433
don't call HasScreen for a NEXT_ROW item
2005-04-27 05:57:58 +00:00
Chris Danford
aed3b049ae
fix off by 1 when calling HasScreen
2005-04-27 05:40:24 +00:00
Chris Danford
0ea93e427b
easier debugging
2005-04-21 19:53:37 +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