Commit Graph

34073 Commits

Author SHA1 Message Date
31e1e96364 Update framework 2022-07-13 23:25:32 +09:00
7ed05277f8 Merge pull request #19098 from peppy/last-played
Add "last played" sort mode to song select
2022-07-13 22:44:50 +09:00
937692604e Remove mention of autoplay mod for now 2022-07-13 22:37:20 +09:00
afaf8f5189 Merge pull request #19105 from peppy/fix-editor-disposed-track
Fix audio and background file equality incorrectly comparing `BeatmapSet.Hash`
2022-07-13 22:34:36 +09:00
7f59426587 Merge pull request #19096 from peppy/custom-storage-log-output
Add log output for custom storage usage
2022-07-13 22:28:21 +09:00
1cfdea911b Fix audio and background file equality incorrectly comparing BeatmapSet.Hash 2022-07-13 19:41:38 +09:00
6950223a7d Fix drawable mutation from disposal thread 2022-07-13 19:19:14 +09:00
952d97c66e Update comment regarding LoadTrack safety 2022-07-13 19:02:22 +09:00
fc274629f8 Add "last played" sort mode to song select
Note that this will consider the most recent play of any beatmap in
beatmap set groups for now, similar to other sort methods.
2022-07-13 16:43:43 +09:00
ab3ec80159 Update LastPlayed on gameplay starting in a SubmittingPlayer 2022-07-13 16:43:43 +09:00
8820ea4006 Add last played date to BeatmapInfo 2022-07-13 16:36:43 +09:00
27ef7fc78e Add log output for custom storage usage
Sometimes I am not sure where my osu! is reading files from. This should
help somewhat.

```csharp
/Users/dean/Projects/osu/osu.Desktop/bin/Debug/net6.0/osu!
[runtime] 2022-07-13 07:22:03 [verbose]: Starting legacy IPC provider...
[runtime] 2022-07-13 07:22:03 [verbose]: Attempting to use custom storage location /Users/dean/Games/osu-lazer-2
[runtime] 2022-07-13 07:22:03 [verbose]: Storage successfully changed to /Users/dean/Games/osu-lazer-2.
[runtime] 2022-07-13 07:22:05 [verbose]: GL Initialized
```
2022-07-13 16:22:51 +09:00
bd6f8bde9f Merge pull request #19079 from peppy/fix-audio-playback-disposed
Fix potential crash during shutdown sequence if intro playback was aborted
2022-07-12 17:29:23 +09:00
cad18ebc58 Reword comment to better explain what we are guarding against 2022-07-12 16:46:19 +09:00
ec2d7461c7 Merge pull request #19078 from peppy/score-submit-fail-error-display
Show basic error message when score submission fails
2022-07-12 16:18:17 +09:00
cafe30fc4d Fix potential crash during shutdown sequence if intro playback was aborted
Fixes one of the audio related `ObjectDisposedException`s
(https://sentry.ppy.sh/organizations/ppy/issues/92/events/12f282f048cb4a4fae85810e8a70b68d/?project=2&query=is%3Aunresolved&sort=freq&statsPeriod=7d).

Ran into this while testing locally. See
`IntroScreen.ensureEventuallyArrivingAtMenu` for the related cause of
this happening (forced continuing to next screen if the intro doesn't
load in time).
2022-07-12 15:20:30 +09:00
b52ea16133 Show basic error message when score submission fails 2022-07-12 15:10:59 +09:00
779d512b44 Merge branch 'master' into mod-icon-colors 2022-07-12 14:36:55 +09:00
8dbe24fd7c Simplify colour assigning logic and remove system mod colour for now 2022-07-12 14:36:50 +09:00
aac3c166de Merge pull request #19038 from novialriptide/replay-user-bug-fix
Populate user ID for locally imported scores
2022-07-12 13:55:11 +09:00
d82d50e308 Merge pull request #19065 from Ludio235/master
Fix playlist room creation screen pushing content on opening dropdowns
2022-07-12 13:22:38 +09:00
3ca10ac02c Merge pull request #19063 from Joehuu/fix-samples-cancel-exit
Fix editor playing object samples while paused after cancelling exit
2022-07-12 12:51:27 +09:00
cca208b3c7 Merge branch 'master' into replay-user-bug-fix 2022-07-11 21:51:09 +02:00
0da4ab765a Merge branch 'master' into fix-multiplayer-spectator-crash 2022-07-11 21:14:45 +02:00
4f009419b8 Simplify population logic and match code style 2022-07-11 21:51:09 +03:00
44d2e001ed Update various dependencies 2022-07-11 20:16:49 +09:00
56896e8b41 Move PostImport() 2022-07-11 02:36:52 -04:00
10d6027c89 Assign missing UserID to RealmUser 2022-07-11 02:36:51 -04:00
0434c10914 Use global WorkingBeatmap in PlayerArea for the time being 2022-07-11 02:57:44 +09:00
8b6665cb5b Ensure initial beatmap processing is done inside the import transaction 2022-07-11 02:51:54 +09:00
8116a4b6f6 Fix multiplayer spectator crash due to track potentially not being loaded in time 2022-07-11 02:51:40 +09:00
52aef09cd6 Update PlaylistsRoomSettingsOverlay.cs 2022-07-10 02:05:40 +00:00
834bb1f187 Fix editor playing object samples while paused after cancelling exit 2022-07-09 12:14:39 -07:00
66f314915d Fix crash on mobile releases when attempting to read any file 2022-07-09 06:01:22 +09:00
5651eca06c Merge branch 'master' into custom-ruleset-score-import 2022-07-08 19:03:47 +09:00
13e16530a6 Revert most changes to PlayerTestScene 2022-07-08 18:45:18 +09:00
113fdf5491 Merge pull request #19032 from peppy/fix-background-loading-too-much
Fix background loading excessively on startup
2022-07-08 18:25:41 +09:00
7ced84b7ef Replace switch statement with ForModType
In order to make `highlightedColour` dependent on the mod type color, the color is converted to an `osu.Framework.Graphics.Colour4` and calls `Lighten`.
2022-07-08 03:23:58 -05:00
e64b2b1682 Assert that test is run headless when required 2022-07-08 15:45:01 +09:00
eab3eba70e Move event handlers to LoadComplete 2022-07-08 15:09:16 +09:00
32c77ddf71 Avoid triggering SeasonalBackgroundChanged unless actually required 2022-07-08 15:07:30 +09:00
0bc332e90b Merge pull request #19029 from peppy/fix-skin-import-duplicate
Fix skins potentially being duplicated on batch import
2022-07-08 14:18:14 +09:00
89f1c75f7a Update mod icon colors 2022-07-07 21:57:18 -05:00
1e159eb328 Add back fade to black duration
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-07-08 10:43:50 +09:00
07a08d28c6 Rename parameter and default to 0 2022-07-07 23:31:06 +03:00
c53dd4a703 Fix editor saving not updating BeatmapSetInfo's hash 2022-07-08 02:33:14 +09:00
15d070668d Move intro screen background to base implementation and use colour fading 2022-07-08 02:12:01 +09:00
216150b52d Avoid always loading new background at MainMenu
This was meant to be an optimisation to allow the background to load
while the intro is playing, but as the current default intro loads a
background itself, this was rarely the case and also counter-productive
as it would bypass the equality check and start a second load sequence.
2022-07-08 02:12:01 +09:00
789904ccd1 Avoid reloading background unnecessariyl when not yet loaded 2022-07-08 02:12:01 +09:00
b83073c2e9 Fix SeasonalBackgroundLoader triggering a background reload when not providing backgrounds 2022-07-08 02:12:01 +09:00