Commit Graph

16325 Commits

Author SHA1 Message Date
Glenn Maynard 3ffecaa94f de-switch 2005-07-12 06:01:15 +00:00
Glenn Maynard c598951c7f unused 2005-07-12 05:56:04 +00:00
Glenn Maynard 541095e39c NextScreen 2005-07-12 05:55:13 +00:00
Glenn Maynard a1d87f6150 add GetSelectMusicNext 2005-07-12 05:54:38 +00:00
Glenn Maynard 85535379c9 simplify like ScreenPlayerOptions 2005-07-12 05:52:52 +00:00
Glenn Maynard 8bbaa3afa3 update; one shortcoming of this scheme is that bound objects need to know the
highest base class that also binds; if you're too high and there's no binding,
it'll cause a link error, but if you're too low you'll lose the methods in the
screens in between
2005-07-12 05:48:15 +00:00
Glenn Maynard 4a416d34d0 Screen, ScreenWithMenuElements bindings 2005-07-12 05:44:54 +00:00
Glenn Maynard 58178ad258 cleanup 2005-07-12 05:38:13 +00:00
Glenn Maynard 498b049c19 remove unused 2005-07-12 05:33:06 +00:00
Glenn Maynard db45cdaa44 NextScreen 2005-07-12 05:30:31 +00:00
Glenn Maynard bb5bcbb7c0 simplify 2005-07-12 05:28:37 +00:00
Glenn Maynard 02950d7e06 cleanup 2005-07-12 05:18:42 +00:00
Glenn Maynard 94abe52637 headers don't include global.h 2005-07-12 04:39:57 +00:00
Glenn Maynard 0a5614d0ea cleanup
headers don't include global.h
2005-07-12 04:37:02 +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
Glenn Maynard a43b36f442 fix SM_BeginFadingOut never sent 2005-07-12 04:08:53 +00:00
Glenn Maynard 13e1d04d24 pull stuff out from GameState 2005-07-12 03:49:19 +00:00
Glenn Maynard 8256cf3b4c call ProcessMessages 2005-07-12 03:12:18 +00:00
Glenn Maynard ebbf4490bf propagate ProcessMessages. There are still some cases where we're
handling children directly; as those come up, they'll either propagate this
message or (preferably) be converted to use AddChild and let ActorFrame
do the work.
2005-07-12 03:09:34 +00:00
Glenn Maynard 751f678a8a Instead of handling broadcasted messages immediately, queue them and
do them later in the update.  This allows threadsafety (sending messages from
other threadS), and will eventually be merged with ScreenMessages.  This
doesn't mean that all messages have to be delayed; we can send messages
to an actor directly, like SendMessageToTopScreen.  This only affects broadcasted
messages, which act like PostMessageToTopScreen(x, 0).
2005-07-12 03:07:54 +00:00
Glenn Maynard 75b937a28b testing 2005-07-12 02:23:11 +00:00
Glenn Maynard 949bab6a25 NextScreen metrics 2005-07-12 02:22:14 +00:00
Glenn Maynard 6e8747d0b6 cleanup 2005-07-12 02:21:28 +00:00
Glenn Maynard 47b3965186 cleanup 2005-07-11 23:42:45 +00:00
Glenn Maynard 4b475b2145 use ActorFrame::AddChild 2005-07-11 23:17:46 +00:00
Glenn Maynard 88d1f36c3d cleanup 2005-07-11 22:25:29 +00:00
Eric Gustafson 52a290a867 Fix compile on GCC4 #2 (Thanks to Sesse for submitting this) 2005-07-11 21:16:53 +00:00
Eric Gustafson 541410b945 Fix compile on GCC4 (Thanks to Sesse for submitting this) 2005-07-11 19:40:18 +00:00
Glenn Maynard d3abe0a1f7 also remove 2005-07-09 09:09:17 +00:00
Glenn Maynard 5cb6d2913c remove 2005-07-09 09:08:32 +00:00
Glenn Maynard 5f8eab1022 remove textSongOptions. (this isn't how we should be broadcasting
messages for this, but we don't want to send on every change like
BroadcastOnChange (too fine grained), but this is better than these
special case actors
2005-07-09 09:07:59 +00:00
Glenn Maynard f1e9edd4ea GetSongOptionsString 2005-07-09 09:00:49 +00:00
Glenn Maynard e794c48a30 cleanup 2005-07-09 08:41:52 +00:00
Glenn Maynard b1360b0b4f remove OptionIconRow 2005-07-09 08:28:49 +00:00
Glenn Maynard d972df89f0 bind 2005-07-09 08:26:20 +00:00
Glenn Maynard f47fef683c update 2005-07-09 08:09:29 +00:00
Glenn Maynard d93b35ed69 simplify 2005-07-09 08:09:00 +00:00
Glenn Maynard 43503acd5b test build fix 2005-07-09 03:21:14 +00:00
Glenn Maynard 4596e1baf1 lame vc6 hack 2005-07-08 12:35:46 +00:00
Glenn Maynard 29a77351c2 cleanup 2005-07-08 01:22:41 +00:00
Chris Danford fcc6c4408a working on SSelectProfile 2005-07-07 22:08:05 +00:00
Chris Danford df743e9780 fix weird alpha behavior with no lighting 2005-07-07 22:07:13 +00:00
Glenn Maynard f2227977b4 moved RebuildPlayerOptionsFromActiveAttacks 2005-07-07 21:30:25 +00:00
Glenn Maynard fd700eb123 move RebuildPlayerOptionsFromActiveAttacks into PlayerState (SGameplay
commit in a moment)
2005-07-07 21:29:35 +00:00
Glenn Maynard c2176f01b2 move GetSumOfActiveAttackLevels into PlayerState 2005-07-07 21:24:59 +00:00
Glenn Maynard 4f417bcce2 fix this correctly 2005-07-07 20:22:12 +00:00
Glenn Maynard e956001268 revert. This isn't ideal, but is perfectly valid and works fine. You can't SetNewScreen from the ctor, but you can post a message to SetNewScreen from the next update. (I don't know what "engine level" means; this is the highest level code, engine code is the lowest.) 2005-07-07 20:16:02 +00:00
Chris Danford f75a253544 fix build 2005-07-07 17:55:48 +00:00
Ben Anderson 96117b9b65 Apparently, we can't arbitrarily switch screens at the engine level. Crash instead. 2005-07-07 16:24:09 +00:00