f667ea3fd0
Replace AllowDefaultHUDComponentsFallback
with a temporary override at LegacyBeatmapSkin
2021-05-17 21:34:53 +03:00
da0913ca2d
Make SongProgress
a skinnable component
2021-05-17 18:52:56 +09:00
4c25fe750f
Disallow beatmap skin to fall back to default HUD components
...
This should become a more generalized `AllowDefaultSkinFallback` when default legacy skin fallback is supported.
2021-05-15 14:32:16 +03:00
2f025f1967
SkinnableTargetWrapper -> SkinnableTargetComponentsContainer
2021-05-13 18:54:30 +09:00
8b9ac86d4b
Merge branch 'master' into skin-serialisation
2021-05-13 12:35:06 +09:00
4464204e33
Mark all skin ctors used via reflection in SkinInfo.CreateInstance()
2021-05-12 23:23:42 +02:00
117d6d731d
Move cross-component layout dependencies for legacy skin to LegacySkin
2021-05-11 18:39:14 +09:00
4769a95b49
Fix encapsulation and remove target lookup overhead
2021-05-11 18:39:14 +09:00
b248b2e5e3
Hook up full save/load flow
2021-05-11 18:39:14 +09:00
004798d61d
Update Legacy components to not require skin in ctor
2021-05-11 18:39:14 +09:00
9be8d3f0d2
Add overridable combo colour retrieval method and handle in legacy skin
2021-05-05 07:15:07 +03:00
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 LegacySpriteText
s
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