Commit Graph

653 Commits

Author SHA1 Message Date
85c5c68dfa Provide particle drawable as a function (for future use) 2020-11-19 13:20:21 +09:00
24d7fa03d8 Merge branch 'master' into legacy-jugement-match-stable-transforms 2020-11-18 20:33:58 +01:00
5156de3a10 Merge branch 'master' into fix-judgement-transform-logic 2020-11-18 19:20:11 +01:00
c47e70da9b Update animations for new/old miss style and add fades 2020-11-18 19:03:34 +09:00
9d0a6de26e Fix SkinnableSprite initialising a drawable even when the texture is not available 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
8be31f4805 Adjust legacy skin judgement transforms to match stable 2020-11-18 19:03:05 +09:00
bb1aacb360 Fix SkinnableSprite initialising a drawable even when the texture is not available 2020-11-18 18:07:00 +09:00
57eaee27ae Rename param to match type better 2020-11-17 20:12:04 +01:00
dd4b69feab Add legacy judgement implementation which doesn't transform on animations 2020-11-17 15:46:57 +09:00
9a7fdb2b7e Move skin deletion logic to OsuGameBase to promote thread safety
`CurrentSkinInfo` is used in multiple places expecting thread safety,
while ItemRemoved events are explicitly mentioning they are not thread
safe. As SkinManager itself doesn't have the ability to schedule to the
update thread, I've just moved the logic to `OsuGameBase`. We may want
to move the current skin bindable out of the manager class in the
future to match things like `BeatmapManager`.

Closes https://github.com/ppy/osu/issues/10837.
2020-11-16 16:43:19 +09:00
8d38d9cc93 Add hotkey to select random skin 2020-11-11 13:05:03 +09:00
6b548ef5e4 Split out SkinInfo ID constants and fix random logic 2020-11-11 11:54:40 +09:00
a5e13e4d2c Merge branch 'master' into shuffle-skin 2020-11-11 11:34:48 +09:00
8706b51b77 Merge pull request #10717 from smoogipoo/dho-apply 2020-11-11 10:54:24 +09:00
7b0e387dfc apply different offset based on whether the marker is newStyle or not 2020-11-09 08:20:19 +01:00
490fbd1dd8 Fix ki* textures having an incorrect vertical position 2020-11-09 05:54:48 +01:00
248d342a2f Initial Apply()/FreeAfterUse() DHO implementation 2020-11-06 23:02:37 +09:00
2bef9312d9 Make SkinReloadableDrawable poolable 2020-11-06 22:15:06 +09:00
414daab1dc Fix paused samples potentially getting stuck in a playing state in rapid toggling
Closes #10693. Should be obvious why.
2020-11-05 16:14:23 +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
0b28cca7e6 Don't force Gameplay prefix on all skin sample lookups 2020-10-30 11:59:40 +09:00
39cf27637e Update to use virtual methods instead of reconstructing TextBuilder 2020-10-19 14:59:03 +09:00
cdb649476b Allow legacy text to display fixed width correctly 2020-10-19 14:33:53 +09:00
a5b0307cfb Apply same fix to legacy accuracy counter 2020-10-17 15:39:26 +02:00
0acc86f757 Split line for readability 2020-10-17 15:39:25 +02:00
bba9a0b2fe set sprite text anchor and origin to top right 2020-10-17 00:25:16 +08:00
dff2ba6e5d Merge pull request #10531 from peppy/fix-accuracy-scale
Adjust accuracy display to match stable
2020-10-16 23:52:30 +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
fe3a23750c Use char overloads for string methods 2020-10-16 11:52:29 +02:00
2ba8bc45fd Also add slight adjustment to score display 2020-10-16 18:37:24 +09:00
cbaad4eb56 Adjust accuracy display to match stable 2020-10-16 18:34:14 +09:00
a774de2270 Also add support in LegacyComboCounter 2020-10-16 17:52:22 +09:00
24b0a1b84b Switch to direct casts (we can be sure LegacySpriteText is present at this point) 2020-10-16 17:40:07 +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
a1892aa0a7 Only additive flash explosions over the epic cutoff 2020-10-16 17:25:55 +09:00
9572260e6d Add bulge and explode support 2020-10-16 17:09:00 +09:00
8104bd0f74 Add fill colour changes 2020-10-16 17:08:46 +09:00
5803c72b4c Add support for old marker style danger textures 2020-10-16 17:08:46 +09:00
f0b15813e2 Add support for both legacy styles 2020-10-16 17:08:46 +09:00
6d3a106a86 Simplify texture lookups 2020-10-16 17:08:46 +09:00
f28bcabae7 Avoid transforms per hp change 2020-10-16 17:08:46 +09:00
5be9e30cd0 Add legacy implementation 2020-10-16 17:08:46 +09:00
e89c5c3b3c Add dynamic compile exceptions to fix skin test scenes 2020-10-16 17:08:46 +09:00
c0a1f2158c Add basic component structure for skinnable health displays 2020-10-16 17:08:46 +09:00