Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Glenn Maynard fcbd6dda76 not a null texture anymore 2005-07-07 11:00:45 +00:00
Glenn Maynard fd65e21fd7 cleanup 2005-07-07 10:54:44 +00:00
Glenn Maynard 0532a3db79 cleanup 2005-07-07 10:48:02 +00:00
Glenn Maynard 1fd2dc8604 simplify 2005-07-07 10:39:45 +00:00
Glenn Maynard da21fd5a5c cleanup 2005-07-07 10:35:16 +00:00
Glenn Maynard 5eb0a95f8e do this with ActorFrame 2005-07-07 10:33:10 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Glenn Maynard b282ba475d fix assert on ABC sections 2005-07-07 10:07:58 +00:00
Glenn Maynard 3498bf29cc simplify 2005-07-07 08:41:19 +00:00
Glenn Maynard 35b0dd09cb add lost DiagnosticOutput 2005-07-07 08:20:18 +00:00
Glenn Maynard 3b54c385a4 remove unused m_vScreensToDelete 2005-07-07 08:18:29 +00:00
Glenn Maynard 28b596efa6 no need to delay deletes in ClearScreenStack; the screen is never on the stack 2005-07-07 08:16:49 +00:00
Glenn Maynard 39dc127095 delay PopTopScreen like SetNewScreen 2005-07-07 08:14:01 +00:00
Glenn Maynard 7489719b11 SM_Invalid 2005-07-07 08:08:43 +00:00
Glenn Maynard 75c1b3dfab keep drawing transitions after finish; to hide when finished, explicitly set the
actor hidden
2005-07-07 07:37:10 +00:00
Glenn Maynard 0f37522829 cleanup 2005-07-07 06:25:38 +00:00
Glenn Maynard c027ab03d4 EmptyDeleteQueue: deleting a screen should not cause a skip; if it does, please document why 2005-07-07 06:20:22 +00:00
Glenn Maynard 12b81cdaeb EmptyDeleteQueue: deleting a screen should not cause a skip; if it does, please document why 2005-07-07 06:18:17 +00:00
Glenn Maynard 0d2c5a418a better error messages; fix crash when TypeError called from outside a lua call context 2005-07-07 06:03:25 +00:00
Glenn Maynard 44c62c0ab4 another dupe: LoadDelayedScreen calls MakeNewScreen (and if it doesn't, no need to zero) 2005-07-07 05:02:26 +00:00
Glenn Maynard bad1e4ae90 another dupe: AddNewScreenToTop calls MakeNewScreen 2005-07-07 05:00:12 +00:00
Glenn Maynard 4feeb44f4c another dupe: PrepareScreen calls MakeNewScreen 2005-07-07 04:54:11 +00:00
Glenn Maynard 2e225117c3 both MakeNewScreenInternal and MakeNewScreen call ZeroNextUpdate, and MakeNewScreen calls MakeNewScreenInternal anyway 2005-07-07 04:52:27 +00:00
Glenn Maynard 7f94f08336 call ZeroNextUpdate 2005-07-07 04:50:00 +00:00
Glenn Maynard d1cb4322fc pull out of the header 2005-07-07 04:48:07 +00:00
Glenn Maynard 87acdcfec4 cleanup 2005-07-07 02:34:29 +00:00
Glenn Maynard 591a7ccace cleanup 2005-07-07 01:49:57 +00:00
Glenn Maynard 5499c7124b only cache special banners on screens that need to 2005-07-07 01:44:24 +00:00
Glenn Maynard 378295df84 un-revert commit that works just fine for me, and was reverted with no
attempt to explain what broke.

Ben, every remark and commit from you is rude and derisive, and this
project doesn't need that.  You've expended my patience.  If you refuse
to be civil, leave.
2005-07-07 01:32:15 +00:00
Glenn Maynard d05e819187 Don't search for redirs separately; doubling the number of GetDirListing
calls is expensive.
2005-07-07 01:21:45 +00:00
Glenn Maynard 512eb03997 unneeded 2005-07-07 01:02:03 +00:00
Glenn Maynard c1e0310d68 remove; use the controls in ActorFrame instead 2005-07-07 01:01:37 +00:00
Glenn Maynard 5813b65b72 SetVanishPoint binding 2005-07-07 00:59:51 +00:00
Glenn Maynard e66896aaca dur 2005-07-07 00:50:43 +00:00
Glenn Maynard 8366d3a561 remove special cases 2005-07-07 00:49:44 +00:00
Glenn Maynard 3319df61bc fix up backgrounds 2005-07-07 00:46:02 +00:00
Glenn Maynard fa9ce2d743 remove special case 2005-07-07 00:06:07 +00:00
Glenn Maynard 48d188e97d remove old stuff 2005-07-06 23:51:06 +00:00
Glenn Maynard 5278abc4be this can be done with Lua, by putting layers in the underlay. themes using this havn't been maintained or usable in a long time, and there doesn't seem to be interest in doing so, so I'm not implementing it in them; ask me if you want info--but there are too many special-case elements in this screen and it's unmanagable. 2005-07-06 23:47:05 +00:00
Glenn Maynard b8971b1a89 GetSongSelectIconPath binding 2005-07-06 23:43:44 +00:00
Glenn Maynard c946799917 not virtual 2005-07-06 23:40:17 +00:00
Glenn Maynard 2aa266892e all this did was cause extranneous SetContent calls 2005-07-06 21:51:29 +00:00
Glenn Maynard 76c9fb7e6f remove extra SetFocus call; it's up to the caller to call SetFromGameState 2005-07-06 21:48:44 +00:00
Glenn Maynard 03fab683ef fix backwards IsFixed 2005-07-06 21:46:55 +00:00
Glenn Maynard 6203bc50f8 remove unused 2005-07-06 21:26:14 +00:00
Glenn Maynard 9ac9138929 unneeded 2005-07-06 08:31:08 +00:00
Glenn Maynard b2b69e797d cleanup 2005-07-06 07:34:57 +00:00
Glenn Maynard 9cb562bdfa merge dupe 2005-07-06 06:41:57 +00:00
Glenn Maynard 488c6e952e remove ScreenBranch 2005-07-06 06:04:38 +00:00
Glenn Maynard 0703b84953 sprite -> autoactor 2005-07-06 05:09:52 +00:00
Glenn Maynard 90b78e6cbf fix loading XML files as hold note parts; must still be a Sprite 2005-07-06 04:20:27 +00:00
Glenn Maynard 18615b2a17 AutoActor 2005-07-06 04:03:55 +00:00
Glenn Maynard c0f9b46d75 fall back to ScreenWithMenuElements::MemoryCardIcons 2005-07-06 02:01:06 +00:00
Glenn Maynard 2874f5641a fix booleans 2005-07-06 01:55:22 +00:00
Glenn Maynard b90e28f084 bind 2005-07-06 01:42:01 +00:00
Glenn Maynard 3a304e251c optimized ReplaceText: one copy at most; text with no replacements reduces to one search 2005-07-06 00:51:26 +00:00
Glenn Maynard 0137a20389 cleanup 2005-07-05 23:55:42 +00:00
Glenn Maynard 73da8c0445 remove .model 2005-07-05 23:48:31 +00:00
Glenn Maynard 25823c979b remove the .model format; it's obsoleted by .xml Type="Model" 2005-07-05 23:46:08 +00:00
Glenn Maynard c69c3af4b9 Due to the last change, we don't have fallback clashes anymore (fallback no
longer has both "fallback tap note" and "fallback tap note 4th", etc.), so
we don't need to do this.  Remove it; it's extremely slow.
2005-07-05 21:56:51 +00:00