Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 2822b320fd compile fixes 2005-09-12 17:49:53 +00:00
Glenn Maynard 20d0d2f2e6 done by ScreenWithMenuElements::BeginScreen 2005-09-12 02:13:22 +00:00
Glenn Maynard 20a08d0942 cleanup 2005-09-12 02:07:56 +00:00
Glenn Maynard 95a926a611 cleanup 2005-09-12 02:05:46 +00:00
Glenn Maynard b452163c3a cleanup: don't keep extra source data around; use vector 2005-09-11 23:40:11 +00:00
Glenn Maynard d27c554ef1 don't update every frame, only on initial load 2005-09-11 23:30:44 +00:00
Glenn Maynard eec7c6255b update the rendered data, not the source data (fixes one-frame glitch) 2005-09-11 23:30:11 +00:00
Glenn Maynard f780036ca0 fix off-by-one 2005-09-11 23:04:49 +00:00
Glenn Maynard 5165309a98 cleanup 2005-09-11 23:04:28 +00:00
Glenn Maynard 047339c369 cleanup 2005-09-11 21:18:22 +00:00
Glenn Maynard a3da8338a6 allow setting the effective size of an ActorFrame 2005-09-11 19:00:42 +00:00
Glenn Maynard d9f910f92b ScreenTestFonts 2005-09-11 18:44:56 +00:00
Glenn Maynard 5b5bf32533 cleanup, update 2005-09-11 18:38:12 +00:00
Glenn Maynard 6039378910 bind Banner. (useful instead of the higher level FadingBanner at times,
since the sprite itself can be accessed)
2005-09-11 07:33:57 +00:00
Glenn Maynard 346376a96d fix comment 2005-09-11 04:34:24 +00:00
Glenn Maynard 0d1ccc0a13 logic update 2005-09-11 04:16:34 +00:00
Glenn Maynard ef01933acb update 2005-09-11 04:15:08 +00:00
Glenn Maynard 27017e01dc simplify: Type -> Summary, pick stage or course appropriately 2005-09-11 04:12:50 +00:00
Glenn Maynard b25c8e5fcd typo 2005-09-11 03:23:53 +00:00
Glenn Maynard 887d9eacbc reduce dependency on m_Type 2005-09-11 03:15:22 +00:00
Glenn Maynard 97fb44e183 reduce dependency on m_Type 2005-09-11 03:14:06 +00:00
Glenn Maynard 32fe33d9a4 remove (briefly) deprecated 2005-09-11 02:11:52 +00:00
Glenn Maynard 06f8a933cb ScreenWithMenuElements::Init later 2005-09-11 02:10:33 +00:00
Glenn Maynard 4edd0c6eb1 transitioning to accessing these directly 2005-09-11 01:50:12 +00:00
Glenn Maynard 32af6a3b30 remove unused, fix screenshot high score records 2005-09-11 01:48:36 +00:00
Glenn Maynard 64606b3a19 m_StageStats -> STATSMAN->m_CurStageStats 2005-09-11 01:46:55 +00:00
Glenn Maynard 5ce2502b59 Merge StageResults into PlayerStageStats. Move results calc into StageStats.
This makes StageStats touch some stuff that I don't think it should, but it's
an improvement over having all this scoring logic inside a special screen.
2005-09-11 01:44:13 +00:00
Glenn Maynard 3657d71e04 calc grade after CommitScores 2005-09-11 01:25:58 +00:00
Glenn Maynard 85d6e5e22e move Grade back out. It's just a cache of GetGrade. 2005-09-11 01:24:28 +00:00
Glenn Maynard 74c9d0058a simplify 2005-09-11 01:10:48 +00:00
Glenn Maynard d66d27ac70 check fail after GetFinalEvalStageStats 2005-09-11 01:03:28 +00:00
Glenn Maynard 4cc59e4792 simplify: on summary eval, m_CurStageStats is the summary 2005-09-11 01:02:53 +00:00
Glenn Maynard 2ad92eb482 init 2005-09-11 00:49:16 +00:00
Glenn Maynard 03f00dd0d2 move awards into PlayerStageStats 2005-09-11 00:48:29 +00:00
Glenn Maynard e3edba2d9d move final grade calc into StageResults 2005-09-11 00:38:16 +00:00
Glenn Maynard d22476ae7d ScreenEvaluation::CommitScores -> StageResults::CommitScores 2005-09-11 00:27:54 +00:00
Glenn Maynard 52087511c7 continue refactoring: split out StageResults::CalcAwards, split loop 2005-09-11 00:18:10 +00:00
Glenn Maynard 69edbcee97 Start refactoring results. Doing this piecemeal, so I can keep track of what
I'm doing.  Pull out CommitScores.  StageResults won't remain in SEval (not
yet sure whether it should be part of PlayerStageStats).
2005-09-11 00:02:22 +00:00
Glenn Maynard f61f5ddfed cleanup 2005-09-10 23:47:10 +00:00
Glenn Maynard eedb687871 cleanup 2005-09-10 23:28:23 +00:00
Glenn Maynard eb759981ce add ShowJudgmentLabels, ShowStatsLabels 2005-09-10 21:00:28 +00:00
Glenn Maynard f495060a90 unused 2005-09-10 20:31:58 +00:00
Glenn Maynard 594617200c unneeded. ScreenWithMenuElements::Cancel stops music on StopMusicOnBack. 2005-09-10 20:13:42 +00:00
Glenn Maynard 14e5a181ca SM_StopMusic not needed 2005-09-10 20:08:05 +00:00
Glenn Maynard 4ec619a7c2 ScreenGameplay::Cancel 2005-09-10 20:07:13 +00:00
Glenn Maynard 239121556c virtual 2005-09-10 20:02:56 +00:00
Glenn Maynard b1f7c0a594 ScreenMusicScroll::PlayMusic: use fallback 2005-09-10 19:03:41 +00:00
Glenn Maynard b2ed213758 ScreenCredits::PlayMusic: use fallback 2005-09-10 19:02:43 +00:00
Glenn Maynard eb6c1b5781 IsDraw 2005-09-10 18:32:40 +00:00
Glenn Maynard 26e1a11af6 noisy 2005-09-10 17:31:29 +00:00
Glenn Maynard d680a054f0 add targetnumber 2005-09-10 16:58:56 +00:00
Glenn Maynard 065f29082b ShowRecordsArea=1 2005-09-10 16:38:26 +00:00
Glenn Maynard a0d31d1332 add ShowRecordsArea 2005-09-10 16:37:58 +00:00
Glenn Maynard f258140497 don't reload m_SongFinished 2005-09-10 05:56:09 +00:00
Glenn Maynard abf3b21567 fix crash 2005-09-10 05:10:59 +00:00
Glenn Maynard 2ef40c8e4e fix command 2005-09-10 03:46:32 +00:00
Glenn Maynard 75087b00d4 fixup 2005-09-09 08:27:12 +00:00
Glenn Maynard fbcab87acc simplify - do this stuff in Lua 2005-09-09 08:11:31 +00:00
Glenn Maynard 9a02d19e3d remove unused 2005-09-09 05:54:15 +00:00
Glenn Maynard c6ad66d2f6 cleanup 2005-09-09 05:51:29 +00:00
Glenn Maynard d7e567162e cleanup 2005-09-09 04:12:28 +00:00
Glenn Maynard 0c4c4016e1 cleanup 2005-09-09 04:09:51 +00:00
Glenn Maynard 183fdea386 0,0 is default 2005-09-09 04:06:22 +00:00
Glenn Maynard 15d1ee7580 minor cleanup 2005-09-09 04:03:29 +00:00
Glenn Maynard 4ad07532be private 2005-09-09 04:02:05 +00:00
Glenn Maynard 60aa06f88b optimize load of same object 2005-09-09 03:55:42 +00:00
Glenn Maynard 41b08697ca simplify/optimize 2005-09-09 03:47:33 +00:00
Glenn Maynard b73d4e1a46 implement copy ctors 2005-09-09 03:23:10 +00:00
Glenn Maynard a36d189be5 implement copy ctor 2005-09-09 02:44:26 +00:00
Glenn Maynard 0506fee3a7 optimization: avoid GetTrail when meter specified 2005-09-09 02:22:18 +00:00
Glenn Maynard 5c7f1346e6 do this stuff with XML 2005-09-08 22:34:18 +00:00
Glenn Maynard 3fdd7ea0b2 fix stage 2005-09-08 20:41:43 +00:00
Glenn Maynard 61726858bb one stage graphic 2005-09-08 20:33:28 +00:00
Glenn Maynard 0dcd4fa7eb remove stage frame, not used in any maintained themes; do this in underlay 2005-09-08 20:31:35 +00:00
Glenn Maynard a02626a90f implement IsStagePossible 2005-09-08 19:59:07 +00:00
Glenn Maynard e04ab5e482 add SetWithoutBroadcast 2005-09-08 19:58:00 +00:00
Glenn Maynard 424205f5a3 fix crash in linux 2005-09-08 07:04:39 +00:00
Glenn Maynard 0cdc96abd6 bind GetCurrentStage and IsStagePossible 2005-09-08 06:08:08 +00:00
Glenn Maynard 3f379b80f0 bind Stage 2005-09-08 06:07:38 +00:00
Glenn Maynard 36f30957a6 simplify 2005-09-08 05:52:37 +00:00
Glenn Maynard 213d3e1b67 unneeded 2005-09-08 05:42:31 +00:00
Glenn Maynard ed1ff5c63c fix up screen command loading 2005-09-08 03:38:08 +00:00
Glenn Maynard 1c0ed2e85c cleanup 2005-09-08 02:49:44 +00:00
Glenn Maynard 661c160ee0 whitespace cleanups only 2005-09-08 02:44:50 +00:00
Glenn Maynard 781017c4c0 ChooseRandomMofifiers -> ChooseRandomModifiers 2005-09-08 01:06:01 +00:00
Glenn Maynard fa1966f972 avoid reallocating the buffer in case we're being called repeatedly on
a fixed-size buffer
2005-09-07 23:33:38 +00:00
Glenn Maynard 93af28bdf1 remove old (don't care anymore ...) 2005-09-07 23:16:15 +00:00
Glenn Maynard 253669547f simplify 2005-09-07 20:47:33 +00:00
Glenn Maynard 8b9bf0d31a load all commands for screens 2005-09-07 20:44:43 +00:00
Glenn Maynard 02d10ae927 add LoadAllCommandsFromName 2005-09-07 20:41:50 +00:00
Glenn Maynard 0e775dd94a fix dimension specs that aren't at the end of the filename 2005-09-07 09:24:48 +00:00
Glenn Maynard 3db3ff7e51 cleanup 2005-09-07 09:20:00 +00:00
Glenn Maynard 16b1fafa83 fix command 2005-09-07 05:31:35 +00:00
Glenn Maynard 4b3af3058b Only spend time uniquifying results if more than one driver returned results. If we do, only operate on the new data. 2005-09-07 03:24:18 +00:00
Glenn Maynard a80ecb0431 Don't resolve filenames in GetDirListing(); if "foo/bar/*" is passed,
and "Foo/Bar/baz" exists, allow the case passed to be returned (foo/bar/baz).
ResolvePath is fairly expensive, and should only be used by file drivers
that actually need it.
2005-09-07 02:47:55 +00:00
Glenn Maynard 35dfba854e g++ fix 2005-09-07 02:05:19 +00:00
Glenn Maynard 2905beb755 parse fix 2005-09-07 02:03:08 +00:00
Glenn Maynard 438b712da2 Previously, theme paths searched fallback classes before themes: each class
fallback was checked with the main theme, then each class fallback was checked
with the base theme, and so on.

Reverse this: check the class name with each theme, then check the class
fallback with each theme, and so on.

This is faster, since we only look up each class Fallback at most once, not
once per fallback theme, and groups together theme lookups (which may allow
further optimizations).  More importantly, this matches the metric lookup
scheme.

This also makes more sense--if "ScreenWithMenuElements header" is overridden by
"ScreenMenu header" in the base theme, overriding "ScreenWithMenuElements header"
in a derived theme should change the same in the base theme (changing the
default) but not change the specialized "ScreenMenu header".
2005-09-07 01:42:47 +00:00
Glenn Maynard a0a61d4519 implement without (deep) recursion 2005-09-07 00:52:31 +00:00
Glenn Maynard f60693ffa1 no fallback for no class 2005-09-07 00:35:16 +00:00