mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 19:54:15 +08:00
Add classic hotkey support for blinds / traceable (#37023)
RFC. Not sure others will like this.
This commit is contained in:
committed by
GitHub
Unverified
parent
af0e9d9bd4
commit
ef72e79463
@@ -21,7 +21,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.Mods
|
||||
{
|
||||
public partial class OsuModBlinds : Mod, IApplicableToDrawableRuleset<OsuHitObject>, IApplicableToHealthProcessor
|
||||
public partial class OsuModBlinds : ModBlinds, IApplicableToDrawableRuleset<OsuHitObject>, IApplicableToHealthProcessor
|
||||
{
|
||||
public override string Name => "Blinds";
|
||||
public override LocalisableString Description => "Play with blinds on your screen.";
|
||||
|
||||
@@ -16,7 +16,7 @@ using osu.Game.Rulesets.Osu.Skinning.Default;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.Mods
|
||||
{
|
||||
public class OsuModTraceable : ModWithVisibilityAdjustment, IRequiresApproachCircles
|
||||
public class OsuModTraceable : ModTraceable, IRequiresApproachCircles
|
||||
{
|
||||
public override string Name => "Traceable";
|
||||
public override string Acronym => "TC";
|
||||
|
||||
@@ -24,8 +24,8 @@ namespace osu.Game.Overlays.Mods.Input
|
||||
[Key.A] = new[] { typeof(ModHardRock) },
|
||||
[Key.S] = new[] { typeof(ModSuddenDeath), typeof(ModPerfect) },
|
||||
[Key.D] = new[] { typeof(ModDoubleTime), typeof(ModNightcore) },
|
||||
[Key.F] = new[] { typeof(ModHidden) },
|
||||
[Key.G] = new[] { typeof(ModFlashlight) },
|
||||
[Key.F] = new[] { typeof(ModHidden), typeof(ModTraceable) },
|
||||
[Key.G] = new[] { typeof(ModFlashlight), typeof(ModBlinds) },
|
||||
[Key.Z] = new[] { typeof(ModRelax) },
|
||||
[Key.V] = new[] { typeof(ModAutoplay), typeof(ModCinema) }
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
namespace osu.Game.Rulesets.Mods
|
||||
{
|
||||
public abstract class ModBlinds : Mod
|
||||
{
|
||||
// Class only exists for classic hotkey support.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
namespace osu.Game.Rulesets.Mods
|
||||
{
|
||||
public abstract class ModTraceable : ModWithVisibilityAdjustment
|
||||
{
|
||||
// Class only exists for classic hotkey support.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user