Commit Graph

89 Commits

Author SHA1 Message Date
Chris Danford a6a70e41ae remove old, redundant "NextScreen%d" metric 2005-07-13 19:21:03 +00:00
Glenn Maynard 1ddf7f57da use ConcurrentlyPrepareScreen 2005-07-13 06:51:08 +00:00
Glenn Maynard 5ab1ad96a5 cleanup 2005-07-12 04:29:59 +00:00
Glenn Maynard 931971204c undo hacks, and isolate to one: call PlayersFinalized last. (These message
names are confusing; just an iterative step in cleaning them up.)  Don't abuse
SM_GoToNextScreen; the only thing it should do is SCREENMAN->SetNewScreen.
2005-07-12 04:13:03 +00:00
Chris Danford 50717c6ee9 COIN_ -> COIN_MODE_ 2005-05-20 17:45:44 +00:00
Chris Danford 16818e54c8 broadcast on style change 2005-05-07 08:34:20 +00:00
Glenn Maynard 1e29afadda cleanup 2005-04-28 06:06:30 +00:00
Glenn Maynard 9c0679c738 fix ScreenSelect loading screens two or three times (!) due to broken
"clear m_sScreen" logic
2005-04-26 05:39:12 +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
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Glenn Maynard 9fafedb6dd fix code names that aren't numbers. NEXT_SCREEN has this problem, too, but we may as well just transition that all to GameCommand anyway ... 2005-03-21 10:11:48 +00:00
Chris Danford 48e6cb1a69 rename back -> cancel because "back" conflicts with "background" 2005-03-20 06:14:41 +00:00
Chris Danford e992442fe0 have ScreenWithMenuElements play and stop music (instead of ScreenOptions and ScreenSelect)
Add StopMusicOnBack metric
2005-03-13 04:25:43 +00:00
Glenn Maynard 22d64c8fd9 allow updating selections on a message 2005-03-10 19:41:37 +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 a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Glenn Maynard 2270e62eb4 fix expressions (mysterious forces contrived to make this appear to work) 2005-02-17 08:41:13 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard db20d39418 Fix screens loaded from ScreenSelect being loaded two or three times. 2005-01-29 21:50:47 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard 314e801115 m_vpBGAnimations hasn't actually done anything in about a year (it's
never loaded); remove it.  It's not useful, anyway: it gives no means to
tween options when changing the selection.
2005-01-15 18:50:52 +00:00
Chris Danford 9415cea26a fix duplicate start sounds
don't BeginFadingOut if the selected choice doesn't specify a screen
2005-01-08 09:50:59 +00:00
Chris Danford 77e1c2fee8 fix VC7 warnings 2005-01-08 02:06:22 +00:00
Glenn Maynard ea2fe5e4b4 cleanup 2005-01-06 18:09:58 +00:00
Chris Danford 910f9d75ba NumCodes -> CodeNames 2005-01-05 04:34:35 +00:00
Glenn Maynard 0f0e963b85 fix local metric cache not being read 2005-01-05 02:41:42 +00:00
Chris Danford 7285003f1e input of disabled players should be blocked 2005-01-04 11:51:53 +00:00
Chris Danford b7729bfa4c change ScreenTitleMenu to derive from ScreenSelectMaster 2005-01-04 11:06:12 +00:00
Chris Danford a56f11b221 move "unlock" and "sound" into GameCommand 2004-12-05 11:49:29 +00:00
Chris Danford b16cb534c5 cleanup 2004-12-04 22:33:18 +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 e1da21f61c Let ActorCommand do the parsing for ModeChoice 2004-12-02 05:56:38 +00:00
Chris Danford caab80f188 call PlayersFinalized only after applying the mode choice to both players, or else P2's preferred difficulty gets clobbered by the mode choice. 2004-10-13 02:56:29 +00:00
Chris Danford ffc40c312c cleanup 2004-07-28 16:05:39 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Chris Danford a0411cc58a add environment variables that themes can use to save state 2004-06-13 09:42:14 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Glenn Maynard 28d1dfbb39 fix select screen flickering on coin input 2004-06-04 21:56:36 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Glenn Maynard 841b888ba5 simplify 2004-05-08 06:26:24 +00:00
Chris Danford 16d8574260 add pref "DelayedCreditsReconcile" 2004-05-07 08:08:11 +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 f2413b4170 a selection screen with no choices is broken; abort early instead of
crashing later (most selection screens assume selection 0 is valid)
2004-04-25 04:31:18 +00:00
Chris Danford 95e11e9220 smarter lights 2004-03-30 07:44:29 +00:00
Glenn Maynard 1421f168db s/UNLOCKSYS/UNLOCKMAN/ 2004-02-21 01:06:35 +00:00
Glenn Maynard ebd948988d rename new GetPathTo -> GetPath to avoid overload problems 2004-02-14 01:16:04 +00:00
Chris Danford 6d7865eb3e fix sign warnings 2004-02-13 08:15:05 +00:00