Commit Graph

120 Commits

Author SHA1 Message Date
Glenn Maynard a5f5fa0b78 HandleMessage( Message ) 2006-11-13 23:11:25 +00:00
Glenn Maynard 35fb88e5e5 Drop generic concurrent rendering. It makes too many things very
complicated, and I don't trust it at a high level: it makes too
many unchecked things concurrent, so I think it will make things
brittle.
2006-11-13 21:04:17 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Glenn Maynard ad809ec5fa simplify interface 2006-09-14 08:14:22 +00:00
Glenn Maynard 2b5cbe811f check the button press in the caller of JoinInput (so we
don't have to construct a fake input message in
ScreenSelectMaster::MenuStart)
2006-09-14 08:11:58 +00:00
Glenn Maynard 3fe68d7f7d simplify 2006-09-14 05:18:40 +00:00
Glenn Maynard 754f2edb0f JoinInput(MenuInput ) -> JoinInput(InputEventPlus) 2006-09-14 03:23:17 +00:00
Glenn Maynard c9c88f26c2 input.MenuI.player -> input.pn 2006-09-14 03:18:16 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Glenn Maynard f0b5e93621 This is the only place GetMetricM is still used; remove it 2006-08-20 19:39:59 +00:00
Chris Danford 1aa0b38c9f fix SUnlockBrowse unlocking entry 1 when all entries are disabled 2006-06-05 07:36:23 +00:00
Glenn Maynard ed60014bb3 fix ScreenSelect ignores StopMusicOnBack 2006-02-25 00:51:30 +00:00
Chris Danford 6ec1d47d6c tab cleanup 2006-01-29 00:25:33 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 409bc25090 simplify, use GetNextScreen 2006-01-20 06:41: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 c5b71c0631 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)

jesus we have a lot of screens
2006-01-15 08:54:03 +00:00
Glenn Maynard 6467fa0bc4 simplify, eliminate GetAndClearScreen 2006-01-15 08:09:03 +00:00
Glenn Maynard 9eb3430ebd reset idle timers in BeginScreen 2006-01-10 00:14:35 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +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 fce721238e cleanup: StopTimer in ScreenSelect 2005-10-13 22:59:53 +00:00
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Glenn Maynard a288441843 use BeginScreen 2005-09-21 17:23:11 +00:00
Glenn Maynard 1c158bcc6c fix screens not set when reused 2005-09-21 17:14:43 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard 64eedd5fc7 cleanup 2005-09-01 02:42:33 +00:00
Chris Danford ca817cdf0f make ALLOW_DISABLED_PLAYER_INPUT cached 2005-08-14 04:33:32 +00:00
Chris Danford cdb3b2da17 fix PlayMode change message being broadcast multiple times if 2 players joined 2005-07-25 06:47:43 +00:00
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