Commit Graph

131 Commits

Author SHA1 Message Date
Glenn Maynard 3f96734e6c MenuX(PlayerNumber) -> MenuX(InputEventPlus) 2006-09-14 21:18:39 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Steve Checkoway 08146691e7 Cleanup. 2006-06-24 04:42:49 +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 ac11ab35ea unused header 2005-12-19 00:31:41 +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 7dd1233c3c Simplify. This will modify the tween slightly, but this screen is going away
soon anyway.
2005-10-13 23:16:33 +00:00
Glenn Maynard fce721238e cleanup: StopTimer in ScreenSelect 2005-10-13 22:59:53 +00:00
Glenn Maynard 39d15c0dcb cleanup: SetXY in Init, ON_COMMAND in BeginScreen
call base last
2005-09-01 02:59:48 +00:00
Glenn Maynard 3719e64312 cleanup: SetXY in Init, ON_COMMAND in BeginScreen 2005-09-01 02:56:20 +00:00
Glenn Maynard 8d7733c6f2 removing GetMetricC 2005-08-26 21:12:48 +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
Glenn Maynard 1e17954eff fix SM_BeginFadingOut sent twice if only one player active 2005-07-12 20:05:56 +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 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford ab37218c47 rename: ModeChoice -> GameCommand 2004-12-02 06:29:20 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Steve Checkoway 27d4678adf Cleanup. Do not use == true or == false. 2004-09-06 21:28:56 +00:00
Glenn Maynard 1804939916 always preload change sounds 2004-08-21 06:50:49 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Glenn Maynard f62ed09cd3 give an error message instead of an assertion if ScreenSelectDifficulty
metrics are wrong
2004-07-07 20:01:22 +00:00
Glenn Maynard 0ff2366110 asserts 2004-06-16 03:52:10 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Glenn Maynard b7850ef9c2 fix cursor not moving if p2 is on beginner when p1 moves to page 2 2004-05-25 06:29:42 +00:00
Chris Danford a9db266eb2 "for( p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 08:16:17 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Chris Danford 58d63cb476 make draw order separate from Z value
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Glenn Maynard f1fddd90d1 use SOUND->PlayOnceFromAnnouncer 2004-04-12 20:11:36 +00:00
Chris Danford 817976ff1f add SortByZ to many screens 2004-02-13 05:39:15 +00:00
Glenn Maynard bd9db2a7da fix pushing players off of unselectable choices 2004-02-02 22:34:49 +00:00
Glenn Maynard cf41ebf93a scope 2004-02-01 05:24:11 +00:00
Glenn Maynard 9283c376d5 type fix 2004-02-01 03:57:43 +00:00
Glenn Maynard ab1bd7c2eb fix choosing rave mode in the default theme with only P1 active
simplify
make having course modes in the center of other objects work
2004-02-01 01:13:58 +00:00
Andrew Livy b6b982b4b8 Allow for oni/nonstop/endless to be selected / disabled appropriately if elements all on page 1 of difficulty select screen 2004-01-28 02:11:27 +00:00
Glenn Maynard 884488732d reduce MenuTimer dependencies 2003-11-07 20:10:38 +00:00
Glenn Maynard 64bfcd2a79 remove hardcoded ScreenSelectDifficulty screen names 2003-10-15 22:25:53 +00:00
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Glenn Maynard eec4fb3d78 formatting fix 2003-09-27 04:39:12 +00:00
Glenn Maynard 315daef127 use ModeChoice::IsPlayable 2003-09-27 03:11:37 +00:00
Chris Danford 2c38027e6d fix "solo" selectable in Pump 2003-09-25 05:56:38 +00:00
Ben Anderson 2a58216a94 The usual complaint about ISO 'for' scoping from GCC, blah blah 2003-09-22 00:41:38 +00:00