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
Chris Danford
85ee5049d2
cleanup: Don't use HasMetric. It's makes metrics hard to discover.
2005-03-02 04:35:12 +00:00
Chris Danford
bcce4df6f7
split ExtraSleepAfterTweenOffSeconds into OverrideSleepAfterTweenOffSeconds and SleepAfterTweenOffSeconds for added control
2005-03-01 16:03:11 +00:00
Glenn Maynard
b51b0cfb4c
Use Init() for all screens, so we can set state before the base class
...
members are loaded--they'll see resets, score finalization, etc. It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Chris Danford
eb6e4cdb50
play InitCommand for all Actors at load time
2005-02-19 01:06:03 +00:00
Chris Danford
d93d2d1681
cache OPTION_ORDER
2005-02-06 05:15:57 +00:00
Chris Danford
e4117354ae
add static-sized array versions of ThemeMetric
2005-02-06 04:57:57 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Chris Danford
26ce27d2f2
fix "assert if SHARED_PREVIEW_AND_CURSOR and player joins during fade out"
...
fix commands of shared elements being played once per player
2005-02-02 06:12:24 +00:00
Charles Lohr
78d507c962
Remove: Unneeded assert?
2005-02-02 04:53:52 +00:00
Chris Danford
e541ff5082
fix VC6 compile errors
2005-02-02 04:01:04 +00:00
Glenn Maynard
1d686474d4
cache metrics
2005-02-02 01:38:20 +00:00