Commit Graph

179 Commits

Author SHA1 Message Date
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
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