1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 20:22:58 +08:00

Made judgements always on and disabled follow paths again

This commit is contained in:
DavidBeh 2024-04-23 23:31:23 +02:00
parent 3a914b9337
commit f863ea30e1

View File

@ -13,6 +13,7 @@ using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawables; using osu.Game.Rulesets.Osu.Objects.Drawables;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI; using osu.Game.Rulesets.UI;
using osuTK; using osuTK;
@ -36,16 +37,11 @@ namespace osu.Game.Rulesets.Osu.Mods
MaxValue = 1.0f, MaxValue = 1.0f,
}; };
// Bindable Setting for Show Judgements
[SettingSource("Show Judgements", "Whether to show judgements or not.")]
public BindableBool ShowJudgements { get; } = new BindableBool(true);
public void ApplyToDrawableRuleset(DrawableRuleset<OsuHitObject> drawableRuleset) public void ApplyToDrawableRuleset(DrawableRuleset<OsuHitObject> drawableRuleset)
{ {
// Hide judgment displays and follow points as they won't make any sense. // Hide judgment displays and follow points as they won't make any sense.
// Judgements can potentially be turned on in a future where they display at a position relative to their drawable counterpart. // Judgements can potentially be turned on in a future where they display at a position relative to their drawable counterpart.
drawableRuleset.Playfield.DisplayJudgements.Value = ShowJudgements.Value; (drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
//(drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
} }
public void Update(Playfield playfield) public void Update(Playfield playfield)