Commit Graph

117 Commits

Author SHA1 Message Date
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
Chris Danford 3f2d2c7f77 ScreenSelect metrics cleanup 2003-09-21 20:10:15 +00:00
Aaron VonderHaar b83760bff0 Fix extraneous activity on screen load 2003-09-15 23:01:13 +00:00
Glenn Maynard 6af0aa81c9 Fix warnings. 2003-09-15 07:14:39 +00:00
Aaron VonderHaar 824fe8c138 Disable rave mode on ScreenSelectDifficulty when appropriate (doubles and solo) 2003-09-14 21:00:23 +00:00
Glenn Maynard fe489cd281 SOUNDMAN -> SOUND
RageSoundManager.h -> RageSounds.h
2003-07-26 23:05:16 +00:00
Chris Danford 332c2b318c break battle into two PlayModes: CPU_BATTLE, HUMAN_BATTLE 2003-07-08 19:56:56 +00:00
Glenn Maynard da5e1c6d00 Don't lock left/right input. It's annoying to have to wait for the tween
to completely finish before being able to do anything.

In theory, you could get to the second screen before it finishes tweening
in, but it's next to impossible to do this normally, and harmless if it actually
happens (try it while holding `).
2003-04-16 02:22:24 +00:00
Chris Danford 258984a9c2 Add scripting support to ScreenGamplay 2003-04-13 21:17:14 +00:00
Chris Danford 448bdc7b6e make calls to THEME->GetPathTo() more concise 2003-04-12 17:39:27 +00:00
Chris Danford e148806d1b add name to Actor 2003-04-12 06:16:12 +00:00
Chris Danford 04145caf72 fix subtle bugs that caused inaccurate judgment totals with AI player 2003-04-10 05:46:31 +00:00
Kevin Slaughter d4c91605f3 Cleaned out old SSDEX files 2003-04-09 04:41:06 +00:00
Chris Danford a6232f80c9 tweak SMMAX2 animations 2003-03-30 21:02:15 +00:00
Glenn Maynard f903483143 add comment 2003-03-30 19:32:05 +00:00