Commit Graph

125 Commits

Author SHA1 Message Date
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
Glenn Maynard 037618529c A lot of screens have TweenOffScreen functions; SWME has that, and it's not
virtual, so the names are clashing and confusing.  This should probably just
be virtual.  As an incremental step to that, rename all derived TweenOnScreen
and TweenOffScreen screen functions to TweenOursOnScreen and
TweenOursOffScreen.
2005-07-14 22:23:39 +00:00
Chris Danford e805f09b3c SharedPreviewAndCursor -> SharedSelection 2005-07-14 21:51:22 +00:00
Chris Danford f31e4af6d9 remove Preview element, use Scroll instead 2005-07-14 20:15:37 +00:00
Chris Danford 30598db3bf remove SSM parts 2005-07-14 08:47:12 +00:00
Glenn Maynard 94d8842ca0 don't hold Lua while loading a file; it'll block rendering 2005-07-13 22:23:24 +00:00
Chris Danford 65ff592f69 add ProcessMenuStart for derived screens to trap Start 2005-07-13 19:22:23 +00:00
Chris Danford fcc6c4408a working on SSelectProfile 2005-07-07 22:08:05 +00:00
Chris Danford 738b938f5a cleanup
play Gain/LoseFocus before OnCommand
2005-06-29 09:22:24 +00:00
Glenn Maynard 4e017b752b fix using PLAYER_INVALID as an index when using SSMaster when no
players are joined
2005-06-23 01:21:13 +00:00
Chris Danford 27edb1f2bb play GainFocus and LoseFocus for scroll items 2005-05-08 03:59:40 +00:00
Chris Danford f6850473bb fix ScoreWheel scrolling 2005-05-05 00:22:36 +00:00
Chris Danford f7a594a49a add MadeChoice message 2005-05-04 09:58:12 +00:00
Chris Danford ab543597cd add SSMaster::WrapScroller and ScrollerFastCatchup 2005-05-03 23:12:29 +00:00
Chris Danford 8eaf93a23d position Scroller items with a Lua function
add ActorFrame::m_bDrawByZPosition
2005-05-03 09:29:54 +00:00
Chris Danford 4169ecfa61 add messages on movement in menus 2005-05-02 21:33:02 +00:00
Chris Danford 446c8cb5ae add AllowRepeatingInput 2005-04-04 02:34:56 +00:00
Chris Danford cb542836d1 add Lua ActorScroller 2005-03-31 12:57:21 +00:00
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Glenn Maynard 46b36d5111 run TweenOff command 2005-03-22 22:59:44 +00:00
Chris Danford 9b2b8e73a8 throw away inputs that queued while the screen was loading 2005-03-16 23:26:19 +00:00
Glenn Maynard 8427c36c20 fix ScreenSelectMaster::AnyOptionsArePlayable 2005-03-10 07:56:41 +00:00
Glenn Maynard fb1d893f57 tolerate no options being selectable 2005-03-10 03:53:00 +00:00