Commit Graph

78 Commits

Author SHA1 Message Date
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
7ac5019c08 Fix intro screens playing exit sounds 2022-06-15 17:37:30 +09:00
832d37b2c2 Update screen transition events to use new event args 2022-04-22 00:52:44 +09:00
043599081b Split out INotificationOverlay to allow for easier testing 2022-04-18 20:14:01 +09:00
c42ef43faa Ensure intro beatmap has protected flag set
In cases this isn't set, the beatmap has likely entered a bad state.

Closes https://github.com/ppy/osu/issues/17659.
2022-04-06 16:46:53 +09:00
8cbc8b944f Rescope scheduling and improve comment 2022-03-10 17:25:13 +03:00
2c1589e068 Add skinning support for "seeya" sample 2022-03-10 05:52:45 +03:00
656c58567d Add safeties to skip attempted import of the intro beatmap when osu! ruleset not present
In general running this import will not cause any critical failures, but
the import itself *will* fail – and more loudly with the upcoming
changes to `RulesetStore` (https://github.com/ppy/osu/pull/16890). Due
to it being a loud failure, it will cause the notification overlay to
display a parsing error, which can interrupt the flow of some tests.

See test failure at
https://github.com/ppy/osu/runs/5268848949?check_suite_focus=true as an
example (video coverage at
https://github.com/ppy/osu/pull/16890#issuecomment-1046542243).
2022-02-21 16:21:38 +09:00
52f1c2bfdb Add failsafe to IntroScreen to stop users with incorrect audio configuration getting stuck
The most common case of this seems to be linux users with incorrect or
unsupported audio driver configurations. It continues to be brought up
in discussions as people are unsure of why their game freezes on
startup, and unable to easily recover.
2022-01-30 18:51:16 +09:00
6eb2c28e41 Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
a5493ce0d1 Fix incorrect nesting of statements causing completely broken logic 2022-01-23 17:51:32 +09:00
9946003069 Update osu.Game/Screens/Menu/IntroScreen.cs
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-01-22 05:09:40 +09:00
2006620a2c Fix IntroScreen retrieving and iterating all realm beatmap sets 2022-01-21 18:03:16 +09:00
03e4ec4214 Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-15 14:45:42 +01:00
19467e58c1 Remove unused params from BDL methods 2022-01-15 01:06:39 +01:00
7acd1b545f Remove unnecessary Live conversion in IntroScreen (handled by GetWorkingBeatmap) 2022-01-14 19:55:09 +09:00
0a133c7e97 Fix typo in comment in IntroScreen 2022-01-13 13:47:23 +09:00
46e92c3b60 Clean up BeatmapManager query methods 2022-01-12 17:49:11 +09:00
e8dcbaf29a Fix intro screen hitting null reference if intro beatmap is unavailable 2022-01-12 17:49:11 +09:00
7dba3c3551 Fix most remaining test issues 2022-01-12 17:49:11 +09:00
80eee6d7b0 Make RealmArchiveModelManager.Update work using automapper 2022-01-12 17:49:11 +09:00
33060990b7 Temporarily disable WorkingBeatmapCache and fix multiple invalid data flows 2022-01-12 17:00:16 +09:00
1f9318265e Update ToLive usages in line with recent changes 2022-01-12 17:00:16 +09:00
1d536fd0bc Start introducing ILive 2022-01-12 17:00:16 +09:00
8696f82627 Fix intro screen
Fix things
2022-01-12 17:00:16 +09:00
00e3af3366 Update model manager and many related classes to get things compiling again 2022-01-12 17:00:00 +09:00
00177a3ae1 Update usages to new naming 2022-01-06 22:54:43 +09:00
73b40e6833 Replace usage of .Result with .WaitSafelyForResult 2022-01-04 11:51:41 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
f88d898960 Allow intro screens to be created without loading a MainMenu 2021-10-07 16:38:22 +09:00
a2e61883e3 Initial push to use ILive in import process 2021-09-30 22:55:25 +09:00
6c18df24ec Change how UsingThemedIntro is set to improve clarity 2021-09-09 22:04:16 +09:00
ba99a808af Use a decoupled clock for triangles intro to avoid startup freezes on broken audio device 2021-09-09 01:21:19 +09:00
77149044a5 Allow intro screen to retrieve beatmap even if rulesets is not loaded 2021-08-20 19:43:48 +09:00
49589b64c3 Intro track should not restart from preview point 2021-02-18 14:55:15 +09:00
c1620ce21b Fix intro beatmap always being imported even if already in a good state 2021-02-17 19:19:49 +09:00
de9d075f94 Initial sample + samplechannel rework 2021-01-19 17:11:40 +09:00
2f42c57f4b Add safeties to ensure the current track doesn't loop or change 2020-09-03 13:15:23 +09:00
547c8090e5 Improve game exit music fade 2020-09-03 13:15:23 +09:00
6a765d2d76 Add smooth fading between audio tracks on transition 2020-09-02 20:04:56 +09:00
f63d1ba612 Remove stray call to LoadTrack that was forgotten 2020-08-21 18:52:53 +09:00
0ae460fb8f Avoid beatmap load call in IntroScreen 2020-08-21 15:50:14 +09:00
d9debef156 Add explicit LoadTrack method 2020-08-17 15:38:16 +09:00
070d71ec27 More cleanups 2020-08-12 00:48:38 +09:00
e87f50f74f Rename method 2020-08-07 22:31:41 +09:00
ef689d943a Fix intros playing incorrectly 2020-08-06 18:54:08 +09:00
5c05fe3988 Expose track from MusicController 2020-08-06 16:24:14 +09:00
6e42b8219c Move track to MusicController, compiles 2020-08-06 16:24:14 +09:00
24dceb9f84 Make only "Welcome" loop 2020-06-29 01:41:47 +02:00
270384e71e Remove redundant get set 2020-06-29 00:59:44 +02:00