Commit Graph

190 Commits

Author SHA1 Message Date
Chris Danford 48e6cb1a69 rename back -> cancel because "back" conflicts with "background" 2005-03-20 06:14:41 +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
Glenn Maynard b93a347be7 fix crash 2005-02-22 20:18:22 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard 795380601b remove some hardcoded screen names 2005-01-30 00:01:35 +00:00
Chris Danford d8ba4c42a8 fix LifeDifficulty OnCommand plays twice 2005-01-08 00:07:13 +00:00
Chris Danford cfd7f6300f fix CoinMode toggling on ScreenTitleMenu 2005-01-05 04:35:15 +00:00
Chris Danford bfefa63830 fix compile error 2005-01-04 11:06:13 +00:00
Chris Danford b7729bfa4c change ScreenTitleMenu to derive from ScreenSelectMaster 2005-01-04 11:06:12 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Glenn Maynard ed097b0a5d cleanups (working on cleaner ConfOption/Preference integration) 2004-12-07 02:47:21 +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 d6c1561dbc fix "can't enter codes on ScreenTitleMenu if UseDedicatedMenuButtons is on" 2004-09-01 08:15:41 +00:00
Chris Danford 0215714561 add LifeDifficulty text to ScreenTitleMenu 2004-08-21 03:39:28 +00:00
Glenn Maynard 0c4f092fd3 fix ambiguous ?: types 2004-08-06 21:01:28 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Chris Danford da775dbd3e move all metrics in the "Common" group into one header file 2004-07-17 22:15:39 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Glenn Maynard f94510fd49 accept MENU_BUTTON_LEFT and MENU_BUTTON_RIGHT 2004-06-21 22:10:08 +00:00
Chris Danford a0411cc58a add environment variables that themes can use to save state 2004-06-13 09:42:14 +00:00
Chris Danford a266e00c93 force particular Premium and CoinMode values if bEventMode 2004-06-09 08:14:21 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +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 7a2bf28f7a clean up max stages display 2004-03-25 08:46:38 +00:00
Chris Danford 2df07eff4c add MaxStages text to ScreenTitleMenu 2004-03-23 21:59:33 +00:00
Chris Danford 0ca0f86d7e clean up lights 2004-03-23 06:11:10 +00:00
Chris Danford 2929bacb08 show per-diffculty award on Eval screen every time it's received (not just the first time)
clean up ScreenEval PR and MR graphics
clean up Actor shadow parameters
2004-03-20 02:59:08 +00:00
Glenn Maynard fb70433e0e fix choosing a disabled selection (editor with no songs) results in options not
responding
2004-02-23 08:51:03 +00:00
Glenn Maynard 1421f168db s/UNLOCKSYS/UNLOCKMAN/ 2004-02-21 01:06:35 +00:00
Chris Danford 8e0540d98a fix ScreenTitleMenu grabs wrong choice text 2004-02-13 07:45:21 +00:00
Chris Danford 646f67a3d2 allow save screenshot on eval screen with MenuLeft-MenuRight-Start 2004-02-12 09:44:16 +00:00
Chris Danford 6417d47583 never leave the title screen when coin mode = pay 2003-12-31 22:41:07 +00:00
Chris Danford ade8308aa1 add per-player danger and per-player dead animations 2003-12-07 20:29:42 +00:00
Chris Danford bf98d8248a overhauling stats: move all stats from SongManager to ProfileManager 2003-12-07 07:09:13 +00:00
Chris Danford 48d5a78429 basic lights support 2003-11-16 04:45:12 +00:00
Glenn Maynard c30901d703 fix style selections in ScreenTitleMenu 2003-11-12 16:15:54 +00:00
Glenn Maynard 514aac93a9 Replace m_bPlayersCanJoin with PlayersCanJoin().
Move GetNumSidesJoined out of the header.
2003-11-10 16:48:22 +00:00
Chris Danford 7bf6dfb631 fix TitleMenu fades to demo after pressing Start 2003-11-09 10:52:45 +00:00
Chris Danford 7681bd508b save and restore last used ranking name from/to profile 2003-11-09 10:14:52 +00:00
Chris Danford 2920700f7a Don't show screen title menu (says "Press Start") if there are 0 credits and inserted and CoinMode is pay 2003-11-09 09:00:11 +00:00