osu/osu.Game.Rulesets.Taiko
Bartłomiej Dach 9915fac2c8
Fix sample silence being one level too low
4a7b011a53 inadvertently unearthed that
nested strong hits could play samples of their own accord, rather than
delegating to `DrumSampleTriggerSource` as they were supposed to. This
was an unfortunate omission due to how the inheritance structure of
`TaikoHitObject` looks like (some irrelevant classes omitted for
brevity):

	DrawableTaikoHitObject
		DrawableTaikoHitObject<TObject> <-- `GetSamples()` was overridden to empty here
			DrawableTaikoStrongableHitObject
				DrawableHit
				DrawableDrumRoll
				DrawableDrumRollTick
			DrawableSwell
			DrawableSwellTick
		DrawableStrongNestedHit <-- all strong nested hits are here => didn't receive `GetSamples()` override
			DrawableHit.StrongNestedHit
			DrawableDrumRoll.StrongNestedHit
			DrawableDrumRollTick.StrongNestedHit

To fix, move the `GetSamples()` override one level higher, to the
non-generic `DrawableTaikoHitObject`, to suppress the spurious sample
playbacks.

The stale reference in the comment was also updated to match current
code.
2023-05-21 18:58:26 +02:00
..
Beatmaps pass new hitobject properties through beatmap converters 2023-04-30 19:20:42 +02:00
Configuration Removed unnecessary directives that were added automatically and I forgot to remove 2023-01-10 12:44:27 +00:00
Difficulty
Edit Move blueprint validity conditions to allow more correct external usage of EndPlacement 2023-05-12 16:02:22 +09:00
Judgements
Mods Limit taiko playfield aspect ratio to 5:4 - 16:9 2023-04-26 18:05:47 +02:00
Objects Fix sample silence being one level too low 2023-05-21 18:58:26 +02:00
Properties
Replays
Resources Add conversion tests 2023-02-09 23:23:58 +01:00
Scoring
Skinning Move judgement text creation to base class and tidy things up 2022-12-24 12:22:36 +08:00
UI Merge remote-tracking branch 'upstream/master' into sample-control-points 2023-04-30 19:47:03 +02:00
osu.Game.Rulesets.Taiko.csproj Update netstandard2.1 references to net6.0 2022-12-16 17:16:13 +09:00
TaikoInputManager.cs
TaikoRuleset.cs Initial Taiko single tap implementation (still needs code to allow for Strong hits) 2023-02-27 13:18:08 +00:00
TaikoSettingsSubsection.cs Updated touch control scheme setting capitalization to be consistent with the rest of the settings menu 2023-01-10 11:57:21 +00:00
TaikoSkinComponentLookup.cs
TaikoSkinComponents.cs