Commit Graph

195 Commits

Author SHA1 Message Date
Glenn Maynard 50bed80184 don't load commands in BeginScreen 2007-05-01 21:20:14 +00:00
Glenn Maynard 246cc2f88a remove unused 2007-05-01 21:15:37 +00:00
Glenn Maynard d873e6a4c0 unused 2007-05-01 21:07:52 +00:00
Steve Checkoway 0cb56b6ec2 GetAllSongs() -> GetSongs(). 2007-04-07 05:36:40 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard 4ccea4e87b phase out separate course difficulty names 2006-10-07 22:49:04 +00:00
Glenn Maynard 78a91ba878 revert. You brought back a type I've been trying to remove. 2006-10-07 22:33:24 +00:00
Steve Checkoway 73663c4f8a CourseDifficulty. 2006-10-07 10:49:53 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard e531249704 naming cleanups 2006-09-26 20:49:10 +00:00
Glenn Maynard b9a189711e cleanups 2006-09-26 20:41:53 +00:00
Glenn Maynard 83b12ecdb9 fix typo 2006-09-21 20:08:31 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Glenn Maynard 47a62d7db6 phase out param 2006-08-16 18:31:00 +00:00
Glenn Maynard 11372f28bf remove param 2006-08-16 18:23:56 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Chris Danford 65e945bb18 add PageType_AllSteps 2006-06-12 09:14:20 +00:00
Chris Danford 21ed07f511 don't allow input while transitioning 2006-05-26 09:55:25 +00:00
Chris Danford 5a89e2e5e7 fix GCC compile 2006-03-28 04:02:36 +00:00
Chris Danford 08ade0ee80 add ranking manual scroll sound
fix weird scrolling if num songs < num lines shown
2006-03-27 10:58:37 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 972558468f fix warning 2006-01-15 20:30:02 +00:00
Glenn Maynard 1c5b3c9002 Transition away from Screen(sName). 2006-01-15 19:18:57 +00:00
Glenn Maynard 735a198c06 load in Init() 2006-01-15 19:13:38 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Glenn Maynard 42ac54c4a5 pull out SetTransformFromExpression/SetTransformFromHeight, so we don't
have two init functions.

(Now, we only need two special metrics to init an ActorScroller; the rest
can be done by OnCommand.)
2005-12-07 05:43:49 +00:00
Glenn Maynard 24dd9f52a5 simplify ActorScroller::Load2 2005-12-07 03:50:11 +00:00
Glenn Maynard f59e884ede simplify rarely-used Load2 2005-12-06 03:05:57 +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
Glenn Maynard 3e66d0e21f warning: base class `class ActorFrame' should be explicitly initialized in the copy constructor 2005-10-18 21:07:55 +00:00
Glenn Maynard ab14002972 PlayStartSound on start/back 2005-10-18 03:41:12 +00:00
Glenn Maynard 4f959ce9b9 EnableMask 2005-10-18 00:11:16 +00:00
Glenn Maynard 63cf6d7155 comment for very confusing metric 2005-10-17 23:05:44 +00:00
Glenn Maynard ab1fc43d85 backwards metric 2005-10-17 22:57:39 +00:00
Chris Danford 8f13d08337 SongScoreRowsToShow -> SongScoreRowsToDraw
fix popping at bottom of list because too few copies made
2005-10-15 00:38:49 +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 9525bc094d prefer to init cached metrics from Init, not ctor 2005-10-07 03:28:47 +00:00
Glenn Maynard c4150955bd split ScreenRanking specializations into ScreenRankingScroller (for
PAGE_TYPE_ALL_STEPS, PAGE_TYPE_*_COURSES) and ScreenRankingLines
(PAGE_TYPE_CATEGORY, PAGE_TYPE_TRAIL).

Use DynamicActorScroller for ScreenRankingScroller; reduces overhead
significantly.
2005-09-27 19:10:09 +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 465c2e71ff pull out common code, prefer to set stuff up in Init, unfold conditionals; support
locked courses while we're at it
2005-09-22 01:49:07 +00:00
Glenn Maynard 602a62325c use GenericTweenOn(). (Just make sure ActorUtil::LoadAllCommands is
called and the actor is added to the tree, and OnCommand will be played.)
2005-09-22 01:28:56 +00:00
Glenn Maynard b7d8a64199 unneeded; these are children of m_ListScoreRowItems 2005-09-22 01:22:16 +00:00
Glenn Maynard 026f13f765 Load commands in the template, not later when we call ON_COMMAND
on the copies.  This is a fairly major optimization: we only load the commands
once, rather than dozens of times, and we save memory, since the copies will
just take references to the generated Lua functions instead of making dozens
of functions.
2005-09-22 00:21:24 +00:00
Glenn Maynard fb49d6a41a optimize, simplify 2005-09-22 00:08:59 +00:00
Glenn Maynard 9960d6dd9f implement ScreenRanking::BeginScreen 2005-09-21 21:52:31 +00:00