Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 858c7e3ce3 fix assert 2005-07-05 21:43:17 +00:00
Glenn Maynard b96a004921 We've been trying to more or less keep note skin compatibility, but the
format has gone somewhat out of hand, so let's give up a bit on that for
the good of mankind ...

All note elements that are allowed to be note colored *always* have a note
type in the filename; if XIsNoteColor is off, "4th" is used.  This way, we
don't have different sets of filename rules, fixing clashes between skins
and the fallback, and a number of things become simpler (many of which
I'm still discovering, so I won't try to enumerate them here just now).

Note skin updates coming ...
2005-07-05 21:29:30 +00:00
Glenn Maynard b459dc048c fold duplicate code 2005-07-05 08:45:51 +00:00
Glenn Maynard 1e192fadc4 handle @expressions in model.xml 2005-07-05 06:59:29 +00:00
Glenn Maynard 8cc8c66890 baserotation 2005-07-05 06:38:34 +00:00
Glenn Maynard df841ec994 LuaXType 2005-07-05 06:31:45 +00:00
Glenn Maynard 12b5a43ca4 don't warn about SetState(0) (spams when we havn't loaded, or when using
Quad)
2005-07-05 05:30:00 +00:00
Glenn Maynard 95bc380261 fix assert 2005-07-05 05:24:30 +00:00
Glenn Maynard 1f0ce78d5a unused 2005-07-05 03:45:02 +00:00
Glenn Maynard e8f9f382db check() does not currently support negative offsets; it'll give a confusing
error message
2005-07-05 03:16:10 +00:00
Glenn Maynard 1607e6320a cleanup 2005-07-05 02:53:41 +00:00
Glenn Maynard b3c66d530f remove ScreenBranch 2005-07-05 00:12:26 +00:00
Glenn Maynard 02201f38fe unused 2005-07-05 00:06:34 +00:00
Glenn Maynard c420ef665b eliminating ScreenBranch (untested) 2005-07-05 00:01:13 +00:00
Glenn Maynard a3cd21e698 cleanup 2005-07-04 23:43:19 +00:00
Glenn Maynard 6c6402b2ee unneeded 2005-07-04 23:42:17 +00:00