Commit Graph

149 Commits

Author SHA1 Message Date
Chris Danford 29d77f5c8c search songs by a genre list
move MenuDir to SSMaster header
GoalType name cleanup
2006-07-11 06:51:46 +00:00
Glenn Maynard ec91c4030a remove OVERRIDE_LOCK_INPUT_SECONDS, LOCK_INPUT_SECONDS; handle "tiny lock" generally; don't move "lock by tween time" just yet 2006-06-27 23:15:56 +00:00
Glenn Maynard 5795d2b5f6 merge m_fLockInputSecs's 2006-06-27 22:51:43 +00:00
Chris Danford f40015aad9 move MadeChoice to a command played on the screen. Broadcasting it doesn't work if there are prepared screens. 2006-05-26 09:59:56 +00:00
Chris Danford 01f2f3759f fix VC7 warning 2006-05-07 10:02:27 +00:00
Chris Danford 5500d09baa select default language 2006-05-07 09:25:48 +00:00
Chris Danford e052ff7829 add FadingBanner to ScreenUnlockBrowse 2006-03-23 00:16:18 +00:00
Chris Danford ed01c6b9b3 Add UseIconMetrics, for ignoring X, Y, OnCommand, and OffCommand in metrics.ini and using whateve is in xml 2006-01-30 08:12:24 +00:00
Chris Danford b792e48616 add PerChoiceIconElement metric (remove this metric and make it the default eventually) 2006-01-29 22:18:28 +00:00
Chris Danford ceb55bbbb4 add PerChoiceScrollElement metric 2006-01-29 00:27:39 +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 5a3f362f5d load in Init() 2006-01-15 19:29:33 +00:00
Glenn Maynard f6ea595c12 load in Init() 2006-01-15 19:22:17 +00:00
Glenn Maynard 0ff2505831 PlayerNumber(0) -> PLAYER_1 2006-01-15 08:15:27 +00:00
Glenn Maynard ac11ab35ea unused header 2005-12-19 00:31:41 +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 32129814b7 Any scroller that has an OnCommand for its parts may want to PositionItems
first, not just ScreenSelectMaster's.  Also, the position set by this depends
on SetNumSubdivisions, which (will be) set by OnCommand, and not set this
early.  So, use PositionItems manually if wanted.
2005-12-07 05:16:11 +00:00
Glenn Maynard aeb830f434 fix OnCommand run twice (m_Scroller propagates it) 2005-12-07 05:08:49 +00:00
Glenn Maynard 4dfdeaacf2 cleanup 2005-12-07 05:01:13 +00:00
Glenn Maynard c5766b32aa simplify Load3. (Most scrollers use one subdivision.) 2005-12-07 04:22:47 +00:00
Glenn Maynard 12ff6ff4da simplify ActorScroller::Load3 2005-12-07 03:53:49 +00:00
Glenn Maynard 5acbca107c cleanup 2005-12-06 03:46:24 +00:00
Glenn Maynard abeead164e Using ActorScroller adds too many metrics. Prefer to set parameters
that aren't needed for initialization and aren't always used via
commands, not load-time parameters.
2005-12-06 03:29:16 +00:00
Glenn Maynard 3b36f59a6c The only place Load3 is ever called with bUseMask true is from
LoadFromNode.  The code path doesn't give any way of setting the
size, so it doesn't work.  Remove it, and use EnableMask.
2005-10-17 23:21:16 +00:00
Glenn Maynard ce6eb4f2d9 run base last; it runs SortByDrawOrder 2005-10-14 03:18:30 +00:00
Glenn Maynard 2618647307 phase out TweenOursOnScreen 2005-10-14 03:11:50 +00:00
Glenn Maynard ec78fe0019 remove TweenOff 2005-10-14 02:30:47 +00:00
Glenn Maynard 25ee89ef33 Remove SM_AllDoneChoosing. ScreenSelects just send SM_BeginFadingOut when
done.  This is much simpler, and fixes concurrent loads starting late.
2005-10-14 02:13:13 +00:00
Glenn Maynard 9f0c59f6da The distinction between "screen elements" and "MenuElements" is meaningless
now; screen elements are often put in overlay/underlay layers, and those
are SWME parts.  This used to be used to separate header/footer transitions,
but there are better ways to do that.  Remove OverrideSleepAfterTweenOffSeconds
and SleepAfterTweenOffSeconds, and run all tweens at once, instead of one
arbitrary set after another.  (opens the path to other simplifications).
2005-10-14 02:04:13 +00:00
Glenn Maynard fce721238e cleanup: StopTimer in ScreenSelect 2005-10-13 22:59:53 +00:00
Glenn Maynard 4018c7be8b typo 2005-10-13 04:20:56 +00:00
Chris Danford 1333bfd2d8 remove references to specific games for things that are only specific to the controller type 2005-10-07 05:00:52 +00:00
Glenn Maynard f88e38a788 "warning C4018: '>=' : signed/unsigned mismatch" 2005-10-04 07:21:49 +00:00
Chris Danford 7f71e22ef4 remove MAX_CHOICES 2005-10-04 02:48:33 +00:00
Chris Danford 4f3022ea79 Make it possible to specify a null OptionOrder if you want a key to not have any function.
Remove use of MAX_CHOICES
2005-10-04 02:34:10 +00:00
Chris Danford d7e96016db fix jumpy scrolling if one player holds 2 directions 2005-10-04 02:09:06 +00:00
Chris Danford 65cfea1be9 Only accept repeating input from one player at a time. Fixes "wild scrolling" when 2 players are holding opposite directions. 2005-10-04 01:40:58 +00:00
Glenn Maynard 75484e193f cleanup: add children before calling Load 2005-09-27 05:40: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 a288441843 use BeginScreen 2005-09-21 17:23:11 +00:00
Chris Danford ae0e385c10 position scroller items so that the items' will start from their resting position when they execute their OnCommand. 2005-09-03 04:50:49 +00:00
Chris Danford f55e8a54e6 Don't evaluate the ActorScroller transform function every time though Draw.
Cache TweenState values at a provided interval, then interpolate between the TweenStates.
TODO: Precalculate these TweenStates in Init?
2005-09-02 21:42:34 +00:00
Glenn Maynard e840759d97 LoadAllCommands 2005-08-25 23:07:42 +00:00
Chris Danford 6eaf17dd25 put ThisGameCommand in the global space, not in GameState's environment 2005-08-15 07:48:16 +00:00
Chris Danford 7191258c0a clean up enum Message names so that they match the corresponding strings 2005-08-14 07:29:48 +00:00
Chris Danford dda9f61179 add metric SSMaster::LoopScroller 2005-07-26 19:55:00 +00:00
Chris Danford 240666b390 const cleanup 2005-07-25 04:47:51 +00:00
Glenn Maynard c23d0ae90e fix warning 2005-07-19 00:51:54 +00:00
Chris Danford 92762eb7ac fix Scroll's OffCommand played twice 2005-07-15 01:51:05 +00:00