Commit Graph

266 Commits

Author SHA1 Message Date
6aa0c9d8fd Merge branch 'master' into legacy-sprite-text-fonts 2021-03-25 14:52:01 +03:00
073dba5330 Remove local workarounds to attempt to avoid crashes on skin change 2021-03-22 14:05:37 +09:00
68aaf90702 Fix disposal rather than performing some weird hack 2021-03-19 20:30:52 +09:00
b419d2c2e2 Fix invalid xmldoc indent 2021-03-18 19:52:38 +01:00
64d1cb5193 Remove text skin components in favour of plain LegacySpriteTexts 2021-03-13 06:05:36 +03:00
f48e017ac9 Move nested class to bottom of file 2021-02-22 18:34:05 +09:00
0bda9e4b79 Implement some new methods 2021-02-22 18:31:33 +09:00
487a39eea9 Update interface implementations with framework changes 2021-02-18 18:52:34 +09:00
880fe82073 Add sample wrapper in LegacySkin to keep a reference and avoid GC death 2021-02-18 18:32:51 +09:00
4aff54412a Move dispose method to end of file 2021-02-18 18:32:39 +09:00
00574a5288 Use ISample everywhere in Skin GetSample lookup path 2021-02-18 18:32:28 +09:00
de9d075f94 Initial sample + samplechannel rework 2021-01-19 17:11:40 +09:00
3c1a86d11d Trim braces for consistency 2021-01-15 22:04:45 +01:00
ebbc32adfa Change conditional used to decide legacy judgement animation to match stable
In stable, the type of legacy judgement to show is based on the presence
of particle textures in the skin. We were using the skin version
instead, which turns out to be incorrect and not what some user skins
expect.

Closes #11078.
2021-01-15 14:51:27 +09:00
13ef097a53 Annotate potentially null parameters in protected ctor of LegacySkin 2020-12-22 12:08:40 +09:00
a5bcf1dc20 Expose resources to skin via interface (and share common pieces with beatmap) 2020-12-21 15:18:52 +09:00
2108844319 apply ScorePosition to the judgement container 2020-12-13 22:01:08 +06:00
9d04ce75cc Make particles additive and consume in judgement explosions 2020-11-19 15:47:02 +09:00
85c5c68dfa Provide particle drawable as a function (for future use) 2020-11-19 13:20:21 +09:00
c47e70da9b Update animations for new/old miss style and add fades 2020-11-18 19:03:34 +09:00
5bd4ace37f Split out new and old style legacy judgement pieces 2020-11-18 19:03:34 +09:00
dd4b69feab Add legacy judgement implementation which doesn't transform on animations 2020-11-17 15:46:57 +09:00
bc69ed3870 Simplify sample lookup 2020-10-30 22:33:27 +09:00
b906736b85 Remove redundant initialisation 2020-10-30 12:28:40 +09:00
d319b27b3d Run sample lookup logic through getFallbackNames 2020-10-30 11:59:41 +09:00
dfbc0965e4 Merge branch 'master' into peppy/skinnable-health-display 2020-10-16 23:17:17 +09:00
e87f515a4f Merge pull request #10522 from Morilli/legacyskin-fixes
Add support for ScorePrefix and ScoreOverlap values in legacy skins
2020-10-16 20:54:03 +09:00
a774de2270 Also add support in LegacyComboCounter 2020-10-16 17:52:22 +09:00
3ce6d1fea1 Remove unnecessary AccuracyText enum
All elements use "score" regardless.
2020-10-16 17:36:54 +09:00
e9c4b67cf4 Inline variable 2020-10-16 17:35:35 +09:00
05f1017c28 Fix lookup check not being updated to use prefix 2020-10-16 17:35:21 +09:00
5be9e30cd0 Add legacy implementation 2020-10-16 17:08:46 +09:00
df1db8611c move skin-specific config retrieval to GetDrawableComponent 2020-10-16 08:36:20 +02:00
88ffcb9234 Update EndsWith usages 2020-10-16 12:58:34 +09:00
254eba9008 Add and consume skinnable accuracy counter 2020-10-15 17:53:16 +09:00
90ff8ff050 Merge branch 'skinnable-combo-counter' into skinnable-score-display 2020-10-15 17:52:06 +09:00
37e9f331ad Simplify score font lookup 2020-10-15 17:49:55 +09:00
e1da64398e Add and consume skinnable score counter 2020-10-15 17:14:42 +09:00
9bb8a43bce Combine LegacyComboCounter and ComboCounter classes 2020-10-14 19:16:34 +09:00
fbbea48c8c Add score text skinnability 2020-10-14 19:16:34 +09:00
2fce064e32 Add basic legacy combo counter and updating positioning logic 2020-10-14 19:16:34 +09:00
f439c1afbc Make osu/taiko/catch use Ok+Great 2020-09-29 17:16:55 +09:00
da34544fdc Merge branch 'master' into hold-note-lighting 2020-08-28 18:27:29 +09:00
a1f731d455 Merge branch 'master' into mania-keys-under-notes 2020-08-27 14:06:43 +02:00
c0c67c11b1 Add parsing for hold note light/scale 2020-08-26 20:21:41 +09:00
d057f5f4bc Implement mania "KeysUnderNotes" skin config 2020-08-26 15:37:16 +09:00
7a70d06342 Add support for custom LightingN paths 2020-08-25 15:35:37 +09:00
b448ca3efe Merge branch 'master' into merge-global-to-legacy 2020-08-03 16:00:52 +09:00
ca7545917c Extract method for performing legacy lookups 2020-08-02 19:55:18 +02:00
3e5c3e256d Extract method for performing generic config lookup 2020-08-02 19:54:38 +02:00