Commit Graph

26137 Commits

Author SHA1 Message Date
af80418ee8 Implement IApplicableToDrawableHitObject for mods
A breaking change in `ModWithVisibilityAdjustment` if the method was overriden.
2021-06-16 18:52:01 +09:00
379b84ba22 Update framework 2021-06-16 18:51:17 +09:00
f4fb2e127d Merge pull request #13518 from smoogipoo/sort-by-localisation
Localise "sort by" text in overlays
2021-06-16 18:50:53 +09:00
537cbd1214 Merge pull request #13520 from bdach/add-more-language-enum-values
Add more languages to settings dropdown
2021-06-16 18:49:42 +09:00
67d8e0059f Use singular IApplicableToDrawableHitObject for consumers 2021-06-16 18:47:04 +09:00
e69bb67afe Add IApplicableToDrawableHitObject that is taking a single DHO
Less cumbersome to implement than old version taking an enumerable. The implementation was always using `foreach` for the enumerable.
The new interface is not used yet.
2021-06-16 18:42:28 +09:00
cc5145a131 Fix languages with a sub-language part not working properly 2021-06-16 11:10:03 +02:00
2b0e6b6b51 Don't invoke "completed" action for test scene virtual track
`MusicController` tries to play the next music when a track is completed.
In test scenes, we want to keep the virtual track, not random songs.
2021-06-16 17:44:21 +09:00
d298e95df7 Limit maximum height of settings enum dropdowns 2021-06-16 10:25:50 +02:00
64bb1f381b Add more languages to settings dropdown 2021-06-16 10:25:30 +02:00
5944c45f55 Specify types explicitly and don't handle non-nullable values with fallbacks 2021-06-16 16:24:30 +09:00
fafd936c93 Localise "sort by" string in overlays 2021-06-16 16:21:41 +09:00
6d6604e2f0 Fix incorrect indentation
I used this for the o!f example.
2021-06-16 16:19:47 +09:00
b24730efdb Merge pull request #13512 from smoogipoo/add-localisation-example
Localise parts of the beatmap listing overlay
2021-06-16 16:03:40 +09:00
117e94bc94 Allow setting Entry of PoolableDrawableWithLifetime
It is more convenient than using the constructor because the only limited kind of expression is allowed in a base constructor call.
Also, the object initializer syntax can be used.
2021-06-16 16:00:08 +09:00
3c3ff8be0d Localise beatmap listing enum values 2021-06-16 15:58:07 +09:00
cb80577922 Merge pull request #13509 from bdach/fix-seasonal-backgrounds
Fix seasonal backgrounds not cycling
2021-06-16 15:26:46 +09:00
68fa7d68cc Merge pull request #13511 from smoogipoo/fix-possible-nullref-2
Fix possible nullref in difficulty recommender
2021-06-16 15:20:45 +09:00
f802679d38 Merge pull request #13497 from smoogipoo/fix-present-score
Make PresentScore() use replay hash as fallback
2021-06-16 15:18:01 +09:00
4c5268694e Localise some of the BeatmapListingOverlay 2021-06-16 13:46:13 +09:00
fa00d07107 Upgrade osu-resources 2021-06-16 13:26:36 +09:00
66efc3c4de Merge branch 'master' into realm-key-binding-store 2021-06-16 13:23:13 +09:00
a5261f0cb3 Add difficulty recommender instantly 2021-06-16 11:48:49 +09:00
6be41e497a Fix possible nullref in difficulty recommender 2021-06-16 11:27:38 +09:00
022b1a28d5 Add missing equality implementation for seasonal backgrounds
The equality operator is used to determine whether the next background
in the cycle should be loaded, to avoid pointless loads of the same
background several times (see #13362 and #13393). Its omission in the
latter pull caused seasonal backgrounds to no longer cycle.

Closes #13508.
2021-06-15 23:21:48 +02:00
9d168b19c9 Switch to non-beta release 2021-06-16 02:15:25 +09:00
acc06ca398 Merge branch 'master' into realm-key-binding-store 2021-06-16 02:14:58 +09:00
e9d4ee3c87 Merge branch 'master' into enhance-mod-settings-text-box-visibility 2021-06-15 16:09:55 +09:00
ef96ceb4ab Introduce IPlayfieldProvider 2021-06-15 14:43:04 +09:00
579a4aa9c8 Remove comment 2021-06-15 14:10:09 +09:00
eb4c093371 Use hash as fallback 2021-06-15 14:06:17 +09:00
bbf0022689 Use natural anchor for TimeAtPosition and PositionAtTime
The natural anchor is the end of the scrolling direction (e.g. Bottom for Down scrolling).
2021-06-15 13:15:20 +09:00
f6c6eea6dc Make PresentScore() only consider replay hash 2021-06-15 11:16:35 +09:00
cb1e2e3d97 Improve xmldoc 2021-06-14 21:54:55 +02:00
84ec378be1 Merge branch 'master' into refactor-scrolling-hoc-1 2021-06-14 20:42:38 +09:00
980afd6a04 Merge branch 'master' into fix-song-select-leaderboard-events 2021-06-14 20:03:36 +09:00
15a20ed9d6 Merge pull request #13486 from peppy/revert-nested-platform-container
Revert "Add nested `PlatformActionContainer` to allow testing of platform actions in visual tests"
2021-06-14 19:53:14 +09:00
75b5b50aee Merge pull request #13490 from smoogipoo/arbitrary-localisation-assembly
Match any arbitrary assembly for localisations
2021-06-14 19:05:22 +09:00
13d0eaa9fe Update framework 2021-06-14 19:03:31 +09:00
b327baa4de Match any arbitrary assembly for localisations 2021-06-14 17:47:31 +09:00
aa5dae84b2 Make all localisation class strings verbatim 2021-06-14 16:51:17 +09:00
83402a70db Fix potential null ref when no beatmap is selected 2021-06-14 15:06:24 +09:00
f8b09b7c81 Avoid refresh if score is not related to current display 2021-06-14 14:28:14 +09:00
fc442713bb Debounce schedule at base class 2021-06-14 14:26:40 +09:00
8dd48d48f6 Add support for song select leaderboard to handle newly imported scores 2021-06-14 14:20:23 +09:00
564682270a Revert "Add nested PlatformActionContainer to allow testing of platform actions in visual tests"
This reverts commit be91203c92.
2021-06-14 13:18:52 +09:00
660bf50dc7 Clarify multiple coordinate systems
- Fix wrong position is set for DHOs for down/right scrolling direction.
2021-06-14 13:13:27 +09:00
09f1cbde7e Fix TimeAtPosition doc comment 2021-06-14 13:13:27 +09:00
fdb09ef4d7 Simplify flipPositionIfRequired using scrollLength 2021-06-14 13:13:27 +09:00
8cf4454780 Use Direction enum instead of int
The property is named `scrollingAxis` to distinguish from `direction`, which is of `ScrollingDirection` type (unfortunate name crash).
2021-06-14 13:13:27 +09:00