Commit Graph

330 Commits

Author SHA1 Message Date
Chris Danford 7f67cfcac0 add WRAP_VALUE_IN_ROW 2005-08-03 03:22:58 +00:00
Chris Danford 29e013270c export row before calling AfterChangeValueInRow so that derived classes can operate using the newly exported data 2005-08-01 05:13:52 +00:00
Chris Danford e3167a82d8 working on new course edit screens 2005-07-30 19:34:23 +00:00
Chris Danford 00b65ce3bc use OptionsCursorPlus 2005-07-30 04:49:50 +00:00
Chris Danford 5a6f085800 OnChange -> AfterChangeValueOrRow 2005-07-29 22:52:36 +00:00
Glenn Maynard 34a43105bf hide/show player-specific elements 2005-07-22 19:58:26 +00:00
Glenn Maynard 26b5ac01d3 We don't know which players are joined until BeginScreen, so always load
assets for both players (fixes preload asserts).  This isn't an important
optimization point: it's not acceptable for a screen to be so much slower in
2-player than 1-player that this type of optimization would matter.  Also, always
loading both players will help reduce the chance of code that's too slow in
2-player not being noticed due to only being tested in 1-player.
2005-07-22 06:30:19 +00:00
Glenn Maynard a10e6f3d36 handle re-calling InitMenu (fairly cheaply) 2005-07-19 21:03:56 +00:00
Glenn Maynard c76799ffa0 do slow loads in ScreenOptions::Init, not ScreenOptions::InitMenu 2005-07-18 03:42:10 +00:00
Glenn Maynard e2086bcb5b import options in ScreenOptions::BeginScreen, not ScreenOptions::InitMenu, so
we'll re-import if the screen is re-pushed
2005-07-18 03:41:15 +00:00
Chris Danford b50482c185 put focus on last selected profile 2005-07-18 01:50:31 +00:00
Chris Danford 146c505c5a change sprBullet to an AutoActor 2005-07-16 07:01:48 +00:00
Glenn Maynard d8bf6df4aa move metrics into OptionRowType, too 2005-07-16 03:23:53 +00:00
Glenn Maynard b925b2d7ca instead of loading actors inside OptionRow, load a single copy of each
one we need, and then make copies as needed.  This avoids lots of
extra loading (which can be slow, even with refcounted data; lots of path
lookups, etc).  (Trying to get this to the point where we can construct new
OptionRows for a menu without making a whole new menu.)  This approach
means we don't lose the potential to have different sTypes of OptionRow
in a single menu.  (The annoying bit is that any actor we copy has to handle
copying, which is tricky for ActorFrame and doesn't work yet for AutoActor.
Working on it ...)
2005-07-16 02:51:17 +00:00
Glenn Maynard e0bf0e285c do call InitText and AfterImportOptions on exit row 2005-07-16 01:24:54 +00:00
Glenn Maynard 618f71f3d4 separate initializing text and setting m_iChoiceInRowWithFocus 2005-07-15 06:54:10 +00:00
Glenn Maynard d9068e601d LoadOptionIcon -> SetOptionIcon 2005-07-15 05:43:10 +00:00
Glenn Maynard ddedfe25bc cleanup (trying to do only what's needed in ScreenOptions::InitMenu, to make
things saner)
2005-07-15 03:33:53 +00:00
Glenn Maynard 1f3ac4613c simplify: add SetInputMode, like SetNavigation (rest of commit coming) 2005-07-15 03:28:09 +00:00
Glenn Maynard 84f85f086c load as much as possible in ScreenOptions::Init 2005-07-15 03:21:31 +00:00
Glenn Maynard 5c7fb961e4 move m_OptionsNavigation init to ctor 2005-07-15 02:25:09 +00:00
Glenn Maynard ca74ac58d1 work on BeginScreen, TweenOnScreen. (screen isn't correct yet;
there's no way to reuse the screen with different available options, etc.,
only with the same settings)
2005-07-15 02:06:46 +00:00
Chris Danford a61ab97303 name cleanup:
ScreenOptionsMenu -> ScreenOptionsService
ScreenOptionsSubMenu -> ScreenOptionsServiceChild
2005-07-14 05:33:50 +00:00
Glenn Maynard abe3e2c39f remove GoToNextScreen/GoToNextScreen; call base 2005-07-12 06:35:49 +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 3ffecaa94f de-switch 2005-07-12 06:01:15 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Chris Danford 848d6c89e2 OptionRow: member name cleanup, add focus commands 2005-07-06 06:11:56 +00:00
Chris Danford 16fc6e6723 add ScreenOptionsProfiles (to soon replace ScreenProfileOptions) 2005-07-05 11:30:30 +00:00
Glenn Maynard a65596e402 cleanup 2005-07-01 04:28:29 +00:00
Chris Danford 7a1d736694 working on new course editor 2005-06-26 21:31:07 +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
Glenn Maynard f770ed29c6 more m_sID 2005-05-31 08:00:42 +00:00
Glenn Maynard e59ec42f38 fix holding start in options menu plays sound repeatedly 2005-05-30 02:33:17 +00:00
Chris Danford db7909f336 fix MORE/EXIT transition 2005-05-24 22:54:02 +00:00
Chris Danford fb1d69add3 rename: IsUsingProfile -> IsPersistentProfile
Don't require IsPersistentProfile in some places related to fitness mode where a non-persistent Profile will suffice
2005-05-09 08:44:01 +00:00
Glenn Maynard 70cd62ddad don't repeat up and down in-place 2005-05-06 08:24:13 +00:00
Glenn Maynard 6c9028ea16 Select -> up 2005-04-29 06:32:07 +00:00
Glenn Maynard 546b32b9f5 selectType ->type 2005-04-29 06:28:04 +00:00
Chris Danford ef6ea34f69 cursor: tween width at the same time as tweening the position for smoother motion 2005-04-22 20:59:01 +00:00
Chris Danford a34efae641 fix "trapped on Exit in 3 key menu navigation" 2005-04-21 19:04:40 +00:00
Chris Danford e8ca958503 remove hard-coded cursor tween seconds 2005-04-20 23:02:37 +00:00
Glenn Maynard f0b50dd5b9 Put everything in OptionRow inside a frame, and use the frame to tween
Y, to fix smooth scrolling.
2005-04-16 23:19:06 +00:00
Glenn Maynard 07047a833a metric scheme update 2005-04-15 06:39:44 +00:00
Chris Danford 9cec64c089 add ScreenOption AllowRepeatingChangeValueInput 2005-04-07 09:12:48 +00:00
Chris Danford 361f17db1a fix VC7 warning 2005-04-04 08:56:05 +00:00
Chris Danford 7398a2947b don't let Start wrap 2005-04-03 12:13:04 +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 be9e673001 Hide highlight if no rows are enabled 2005-03-25 04:31:14 +00:00
Chris Danford 24df996776 fix crash on change row if all rows disabled 2005-03-25 04:23:57 +00:00