Commit Graph

1014 Commits

Author SHA1 Message Date
7cbebe6d11 Rewrite xmldoc and inline comments for PerformExit 2021-06-17 18:10:59 +09:00
ef2c4fd0d8 Make RulesetSkinProvidingContainer able to be overriden for testing purposes 2021-06-10 16:36:46 +03:00
1aaad7bfd4 Apply few adjustments to skinning overlays comment 2021-06-09 22:49:31 +03:00
e30f6581b3 Wrap gameplay content within a RulesetSkinProvidingContainer 2021-06-09 22:49:31 +03:00
a7ef0173e9 Add safety to ensure background is correct tint when entering gameplay 2021-06-09 17:07:28 +09:00
23096c58bb Merge branch 'master' into fix-spectator-frame-conversion 2021-06-04 15:06:15 +09:00
d444fed46f Detach gameplay score from replay recorder before importing
Closes #13320.
2021-06-04 02:00:02 +09:00
e887807ae7 Apply review fixes 2021-06-03 18:32:05 +09:00
be03a2d7d2 Fix multiple calls to seek method potentially not working 2021-06-03 17:47:22 +09:00
c3280083a2 Merge branch 'master' into fix-spectator-frame-conversion 2021-06-03 17:42:01 +09:00
420df124b5 Add framestable-bypassing seek for spectator 2021-06-03 17:27:21 +09:00
a15cac6f53 Change the way Score is initialised in Player to better lend to population of metadata 2021-06-02 15:44:04 +09:00
14570b6fb1 Merge branch 'master' into autoplay-pause-support 2021-06-01 14:19:21 +09:00
d2d0896298 Expose GameplayBeatmap and GameplayRuleset from Player 2021-05-31 19:22:20 +09:00
7f9318d976 Expose GameplayBeatmap to derived Player classes 2021-05-25 18:36:47 +09:00
c2b938a29f Remove autoplay consideration from Player 2021-05-25 18:09:37 +09:00
100e2d14a5 Move call inside conditional 2021-05-24 15:14:55 +09:00
a69a1b5211 Fix Player potentially running MakeCurrent when already removed from the screen stack
Closes #12919.
2021-05-24 13:53:53 +09:00
895eb14c5a Forcefully end playing to fix test failures 2021-05-21 14:09:30 +09:00
c6160d5304 Only ignore online score id for database import 2021-05-18 21:17:41 +09:00
ea4dfd3374 Merge pull request #12842 from peppy/song-progress-skinnable
Add layout customisation support for `SongProgress`
2021-05-17 20:15:01 +09:00
b80768b44a Hook up seeking flow 2021-05-17 18:52:56 +09:00
da0913ca2d Make SongProgress a skinnable component 2021-05-17 18:52:56 +09:00
1f3ae901ce Expose DrawableRuleset for consupmtion by HUD components 2021-05-17 18:23:01 +09:00
f5dd18f266 Use existing LoadedBeatmapSuccessfully bool instead
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-05-14 16:53:51 +09:00
dc576c19b4 Fix a potential nullref when starting Player with autoplay enabled and beatmap fails to load 2021-05-14 15:10:02 +09:00
3c3500d070 Merge branch 'skin-components-bind-outwards-health' into remove-hud-overlay-unused-pieces 2021-05-10 12:23:18 +09:00
1bbbe80420 Fix missing instances of HealthProcessor caching 2021-05-10 12:22:24 +09:00
b274fdf20d Merge branch 'master' into skin-components-bind-outwards-health 2021-05-10 11:13:44 +09:00
2bcf1ed306 Merge pull request #12715 from Cublibre/fix-early-exit-crash
Fix InvalidOperationException when exiting a map at the end
2021-05-09 23:21:19 +09:00
25312b3e88 Don't restart completion delegate on exit, revert exit behavior to lazer 2021-05-08 11:47:44 -04:00
8c564a69ed Fix InvalidOperationException when exiting a map at the end 2021-05-07 21:11:03 -04:00
1cb10c2a22 Remove unnecessary binding logic from HUDOverlay 2021-05-07 17:51:46 +09:00
755588258e Update HealthDisplay components to use DI to attach data source 2021-05-07 17:22:45 +09:00
17b93361d5 Merge branch 'master' into skin-components-bind-outwards 2021-05-07 16:20:24 +09:00
1472960319 Hide and disable skip outro overlay on rewind 2021-05-04 21:35:36 -04:00
b380be7169 Add xmldoc for updateCompletionState 2021-05-04 16:43:51 +09:00
4c7a4239f8 Fix AllowGameplayOverlays potentially not working for outro skip overlay 2021-05-04 16:36:07 +09:00
b30145de40 Specify explicit primitive type 2021-05-04 16:35:50 +09:00
bb9fa1a25e Merge branch 'master' into play-storyboard-outro 2021-05-04 14:01:34 +09:00
625890381f Update ComboCounter components to use DI to attach data source 2021-05-03 17:43:00 +09:00
c7183f92f7 Rename Restart() -> Reset() 2021-04-19 19:57:00 +09:00
abfa6aec87 Remove completionState parameter 2021-04-19 01:58:19 -04:00
0b36dd9bce Skip outro overlay and PerformExit() call updateCompletionState() instead of scheduleCompletion()
Co-Authored-By: Marlina José <marlina@umich.edu>
2021-04-19 01:23:21 -04:00
99fab456b5 Storyboard completion calls updateCompletionState
- If the storyboard ends after the beatmap, call updateCompletionState as if the score processor has completed at that time. (completionProgressDelegate is null here since earlier when the score processor actually completed, updateCompletionState returned after showing the skip overlay.)

- If the storyboard ends before the beatmap does, updateCompletionState simply returns and waits until the score processor is completed.

- If the storyboard and beatmap end at the exact same time, make sure updateCompletionState() is called only once by the score processor completion.

Co-Authored-By: Marlina José <marlina@umich.edu>
2021-04-18 23:25:20 -04:00
f45aed1259 Remove new line between skip overlay fields 2021-04-18 07:25:52 +03:00
a73bae7a66 Schedule completion when storyboard has actually ended 2021-04-18 07:25:33 +03:00
c77f838fb0 HasStoryboardEnded doesn't trigger updateCompletionState()
Scores won't be shown prematurely if the storyboard ends before the playable portion of the beatmap.
2021-04-17 21:49:07 -04:00
fdcb5e924c Initialize skipOutroOverlay with alpha 0, other small changes 2021-04-17 17:45:38 -04:00
81be562379 Read StoryboardEndTime directly from Beatmap 2021-04-17 12:28:31 -04:00