Commit Graph

348 Commits

Author SHA1 Message Date
Chris Danford d33daeb6f9 add separate explanation name so that rows with no title can still have an explanation 2005-12-03 20:39:11 +00:00
Glenn Maynard 999ec0bd15 change m_sprLineHighlight to AutoActor 2005-10-29 23:47:03 +00:00
Glenn Maynard 96040d82f2 StartTransitioningScreen does this 2005-10-18 03:42:10 +00:00
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Glenn Maynard a3c0817d81 prefer AutoActor over Sprite 2005-10-05 22:30:54 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Glenn Maynard ee9fd1ecc2 remove fast repeat rate. It's the same as the slow rate, and nothing uses it. (IET_FAST_REPEAT kept for now, since some code uses it.) 2005-09-22 23:22:18 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard 59165f49e4 fix warning 2005-09-03 23:13:15 +00:00
Chris Danford 24440aa3bf move Trasform caching out of ActorScroller and into LuaExpressionTransform so that ScreenOptions can use it too.
add RowOn/OffCommand to ScreenOptions
2005-09-03 17:37:42 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Chris Danford b224ac2b13 play CursorOnCommand to set DrawOrder 2005-08-30 07:56:39 +00:00
Chris Danford 3c72edb0d4 report num rows visible and not > the number of actual rows 2005-08-15 16:01:39 +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
Glenn Maynard 18a1459284 fix assert if InitMenu is called more than once on a screen that uses OptionRowHandlers 2005-08-13 04:57:41 +00:00
Chris Danford fc05cb7838 don't play changed sound unless the value actually changed 2005-08-06 05:31:53 +00:00
Glenn Maynard 1e0b236ac4 warnings 2005-08-05 16:18:07 +00:00
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