mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 00:42:55 +08:00
commit
b35e796d75
@ -1,2 +1,8 @@
|
|||||||
# Normalize all the line endings
|
# Normalize all the line endings
|
||||||
32a74f95a5c80a0ed18e693f13a47522099df5c3
|
32a74f95a5c80a0ed18e693f13a47522099df5c3
|
||||||
|
# Partial everything
|
||||||
|
7bc8908ca9c026fed1d831eb6e58df7624a8d614
|
||||||
|
# Add a few more missing partial specs
|
||||||
|
212d78865a6b5f091173a347bad5686834d1d5fe
|
||||||
|
# Add partial specs in mobile projects too
|
||||||
|
00c11b2b4e389e48f3995d63484a6bc66a7afbdb
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyFreeform.Tests
|
namespace osu.Game.Rulesets.EmptyFreeform.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneOsuGame : OsuTestScene
|
public partial class TestSceneOsuGame : OsuTestScene
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.EmptyFreeform.Tests
|
namespace osu.Game.Rulesets.EmptyFreeform.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneOsuPlayer : PlayerTestScene
|
public partial class TestSceneOsuPlayer : PlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new EmptyFreeformRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new EmptyFreeformRuleset();
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyFreeform
|
namespace osu.Game.Rulesets.EmptyFreeform
|
||||||
{
|
{
|
||||||
public class EmptyFreeformInputManager : RulesetInputManager<EmptyFreeformAction>
|
public partial class EmptyFreeformInputManager : RulesetInputManager<EmptyFreeformAction>
|
||||||
{
|
{
|
||||||
public EmptyFreeformInputManager(RulesetInfo ruleset)
|
public EmptyFreeformInputManager(RulesetInfo ruleset)
|
||||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||||
|
@ -21,7 +21,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyFreeform
|
namespace osu.Game.Rulesets.EmptyFreeform
|
||||||
{
|
{
|
||||||
public class EmptyFreeformRuleset : Ruleset
|
public partial class EmptyFreeformRuleset : Ruleset
|
||||||
{
|
{
|
||||||
public override string Description => "a very emptyfreeformruleset ruleset";
|
public override string Description => "a very emptyfreeformruleset ruleset";
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ namespace osu.Game.Rulesets.EmptyFreeform
|
|||||||
|
|
||||||
public override Drawable CreateIcon() => new Icon(ShortName[0]);
|
public override Drawable CreateIcon() => new Icon(ShortName[0]);
|
||||||
|
|
||||||
public class Icon : CompositeDrawable
|
public partial class Icon : CompositeDrawable
|
||||||
{
|
{
|
||||||
public Icon(char c)
|
public Icon(char c)
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyFreeform.Objects.Drawables
|
namespace osu.Game.Rulesets.EmptyFreeform.Objects.Drawables
|
||||||
{
|
{
|
||||||
public class DrawableEmptyFreeformHitObject : DrawableHitObject<EmptyFreeformHitObject>
|
public partial class DrawableEmptyFreeformHitObject : DrawableHitObject<EmptyFreeformHitObject>
|
||||||
{
|
{
|
||||||
public DrawableEmptyFreeformHitObject(EmptyFreeformHitObject hitObject)
|
public DrawableEmptyFreeformHitObject(EmptyFreeformHitObject hitObject)
|
||||||
: base(hitObject)
|
: base(hitObject)
|
||||||
|
@ -17,7 +17,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
namespace osu.Game.Rulesets.EmptyFreeform.UI
|
namespace osu.Game.Rulesets.EmptyFreeform.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class DrawableEmptyFreeformRuleset : DrawableRuleset<EmptyFreeformHitObject>
|
public partial class DrawableEmptyFreeformRuleset : DrawableRuleset<EmptyFreeformHitObject>
|
||||||
{
|
{
|
||||||
public DrawableEmptyFreeformRuleset(EmptyFreeformRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
public DrawableEmptyFreeformRuleset(EmptyFreeformRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
||||||
: base(ruleset, beatmap, mods)
|
: base(ruleset, beatmap, mods)
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
namespace osu.Game.Rulesets.EmptyFreeform.UI
|
namespace osu.Game.Rulesets.EmptyFreeform.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class EmptyFreeformPlayfield : Playfield
|
public partial class EmptyFreeformPlayfield : Playfield
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.Tests
|
namespace osu.Game.Rulesets.Pippidon.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneOsuGame : OsuTestScene
|
public partial class TestSceneOsuGame : OsuTestScene
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.Tests
|
namespace osu.Game.Rulesets.Pippidon.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneOsuPlayer : PlayerTestScene
|
public partial class TestSceneOsuPlayer : PlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new PippidonRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new PippidonRuleset();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.Objects.Drawables
|
namespace osu.Game.Rulesets.Pippidon.Objects.Drawables
|
||||||
{
|
{
|
||||||
public class DrawablePippidonHitObject : DrawableHitObject<PippidonHitObject>
|
public partial class DrawablePippidonHitObject : DrawableHitObject<PippidonHitObject>
|
||||||
{
|
{
|
||||||
private const double time_preempt = 600;
|
private const double time_preempt = 600;
|
||||||
private const double time_fadein = 400;
|
private const double time_fadein = 400;
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon
|
namespace osu.Game.Rulesets.Pippidon
|
||||||
{
|
{
|
||||||
public class PippidonInputManager : RulesetInputManager<PippidonAction>
|
public partial class PippidonInputManager : RulesetInputManager<PippidonAction>
|
||||||
{
|
{
|
||||||
public PippidonInputManager(RulesetInfo ruleset)
|
public PippidonInputManager(RulesetInfo ruleset)
|
||||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||||
|
@ -8,7 +8,7 @@ using osu.Framework.Graphics.Textures;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon
|
namespace osu.Game.Rulesets.Pippidon
|
||||||
{
|
{
|
||||||
public class PippidonRulesetIcon : Sprite
|
public partial class PippidonRulesetIcon : Sprite
|
||||||
{
|
{
|
||||||
private readonly Ruleset ruleset;
|
private readonly Ruleset ruleset;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class DrawablePippidonRuleset : DrawableRuleset<PippidonHitObject>
|
public partial class DrawablePippidonRuleset : DrawableRuleset<PippidonHitObject>
|
||||||
{
|
{
|
||||||
public DrawablePippidonRuleset(PippidonRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
public DrawablePippidonRuleset(PippidonRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
||||||
: base(ruleset, beatmap, mods)
|
: base(ruleset, beatmap, mods)
|
||||||
|
@ -10,7 +10,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
public class PippidonCursorContainer : GameplayCursorContainer
|
public partial class PippidonCursorContainer : GameplayCursorContainer
|
||||||
{
|
{
|
||||||
private Sprite cursorSprite;
|
private Sprite cursorSprite;
|
||||||
private Texture cursorTexture;
|
private Texture cursorTexture;
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class PippidonPlayfield : Playfield
|
public partial class PippidonPlayfield : Playfield
|
||||||
{
|
{
|
||||||
protected override GameplayCursorContainer CreateCursor() => new PippidonCursorContainer();
|
protected override GameplayCursorContainer CreateCursor() => new PippidonCursorContainer();
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
public class PippidonPlayfieldAdjustmentContainer : PlayfieldAdjustmentContainer
|
public partial class PippidonPlayfieldAdjustmentContainer : PlayfieldAdjustmentContainer
|
||||||
{
|
{
|
||||||
public PippidonPlayfieldAdjustmentContainer()
|
public PippidonPlayfieldAdjustmentContainer()
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyScrolling.Tests
|
namespace osu.Game.Rulesets.EmptyScrolling.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneOsuGame : OsuTestScene
|
public partial class TestSceneOsuGame : OsuTestScene
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.EmptyScrolling.Tests
|
namespace osu.Game.Rulesets.EmptyScrolling.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneOsuPlayer : PlayerTestScene
|
public partial class TestSceneOsuPlayer : PlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new EmptyScrollingRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new EmptyScrollingRuleset();
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyScrolling
|
namespace osu.Game.Rulesets.EmptyScrolling
|
||||||
{
|
{
|
||||||
public class EmptyScrollingInputManager : RulesetInputManager<EmptyScrollingAction>
|
public partial class EmptyScrollingInputManager : RulesetInputManager<EmptyScrollingAction>
|
||||||
{
|
{
|
||||||
public EmptyScrollingInputManager(RulesetInfo ruleset)
|
public EmptyScrollingInputManager(RulesetInfo ruleset)
|
||||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.EmptyScrolling.Objects.Drawables
|
namespace osu.Game.Rulesets.EmptyScrolling.Objects.Drawables
|
||||||
{
|
{
|
||||||
public class DrawableEmptyScrollingHitObject : DrawableHitObject<EmptyScrollingHitObject>
|
public partial class DrawableEmptyScrollingHitObject : DrawableHitObject<EmptyScrollingHitObject>
|
||||||
{
|
{
|
||||||
public DrawableEmptyScrollingHitObject(EmptyScrollingHitObject hitObject)
|
public DrawableEmptyScrollingHitObject(EmptyScrollingHitObject hitObject)
|
||||||
: base(hitObject)
|
: base(hitObject)
|
||||||
|
@ -18,7 +18,7 @@ using osu.Game.Rulesets.UI.Scrolling;
|
|||||||
namespace osu.Game.Rulesets.EmptyScrolling.UI
|
namespace osu.Game.Rulesets.EmptyScrolling.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class DrawableEmptyScrollingRuleset : DrawableScrollingRuleset<EmptyScrollingHitObject>
|
public partial class DrawableEmptyScrollingRuleset : DrawableScrollingRuleset<EmptyScrollingHitObject>
|
||||||
{
|
{
|
||||||
public DrawableEmptyScrollingRuleset(EmptyScrollingRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
public DrawableEmptyScrollingRuleset(EmptyScrollingRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
||||||
: base(ruleset, beatmap, mods)
|
: base(ruleset, beatmap, mods)
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.UI.Scrolling;
|
|||||||
namespace osu.Game.Rulesets.EmptyScrolling.UI
|
namespace osu.Game.Rulesets.EmptyScrolling.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class EmptyScrollingPlayfield : ScrollingPlayfield
|
public partial class EmptyScrollingPlayfield : ScrollingPlayfield
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -9,7 +9,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.Tests
|
namespace osu.Game.Rulesets.Pippidon.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneOsuGame : OsuTestScene
|
public partial class TestSceneOsuGame : OsuTestScene
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.Tests
|
namespace osu.Game.Rulesets.Pippidon.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneOsuPlayer : PlayerTestScene
|
public partial class TestSceneOsuPlayer : PlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new PippidonRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new PippidonRuleset();
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.Objects.Drawables
|
namespace osu.Game.Rulesets.Pippidon.Objects.Drawables
|
||||||
{
|
{
|
||||||
public class DrawablePippidonHitObject : DrawableHitObject<PippidonHitObject>
|
public partial class DrawablePippidonHitObject : DrawableHitObject<PippidonHitObject>
|
||||||
{
|
{
|
||||||
private BindableNumber<int> currentLane;
|
private BindableNumber<int> currentLane;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon
|
namespace osu.Game.Rulesets.Pippidon
|
||||||
{
|
{
|
||||||
public class PippidonInputManager : RulesetInputManager<PippidonAction>
|
public partial class PippidonInputManager : RulesetInputManager<PippidonAction>
|
||||||
{
|
{
|
||||||
public PippidonInputManager(RulesetInfo ruleset)
|
public PippidonInputManager(RulesetInfo ruleset)
|
||||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||||
|
@ -9,7 +9,7 @@ using osu.Framework.Graphics.Textures;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon
|
namespace osu.Game.Rulesets.Pippidon
|
||||||
{
|
{
|
||||||
public class PippidonRulesetIcon : Sprite
|
public partial class PippidonRulesetIcon : Sprite
|
||||||
{
|
{
|
||||||
private readonly Ruleset ruleset;
|
private readonly Ruleset ruleset;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ using osu.Game.Rulesets.UI.Scrolling;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class DrawablePippidonRuleset : DrawableScrollingRuleset<PippidonHitObject>
|
public partial class DrawablePippidonRuleset : DrawableScrollingRuleset<PippidonHitObject>
|
||||||
{
|
{
|
||||||
public DrawablePippidonRuleset(PippidonRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
public DrawablePippidonRuleset(PippidonRuleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
||||||
: base(ruleset, beatmap, mods)
|
: base(ruleset, beatmap, mods)
|
||||||
|
@ -15,7 +15,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
public class PippidonCharacter : BeatSyncedContainer, IKeyBindingHandler<PippidonAction>
|
public partial class PippidonCharacter : BeatSyncedContainer, IKeyBindingHandler<PippidonAction>
|
||||||
{
|
{
|
||||||
public readonly BindableInt LanePosition = new BindableInt
|
public readonly BindableInt LanePosition = new BindableInt
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ using osuTK.Graphics;
|
|||||||
namespace osu.Game.Rulesets.Pippidon.UI
|
namespace osu.Game.Rulesets.Pippidon.UI
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class PippidonPlayfield : ScrollingPlayfield
|
public partial class PippidonPlayfield : ScrollingPlayfield
|
||||||
{
|
{
|
||||||
public const float LANE_HEIGHT = 70;
|
public const float LANE_HEIGHT = 70;
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Pippidon.UI
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private class LaneContainer : BeatSyncedContainer
|
private partial class LaneContainer : BeatSyncedContainer
|
||||||
{
|
{
|
||||||
private OsuColour colours;
|
private OsuColour colours;
|
||||||
private FillFlowContainer fill;
|
private FillFlowContainer fill;
|
||||||
@ -99,7 +99,7 @@ namespace osu.Game.Rulesets.Pippidon.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class Lane : CompositeDrawable
|
private partial class Lane : CompositeDrawable
|
||||||
{
|
{
|
||||||
public Lane()
|
public Lane()
|
||||||
{
|
{
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
<Reference Include="Java.Interop" />
|
<Reference Include="Java.Interop" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.1124.0" />
|
<PackageReference Include="ppy.osu.Game.Resources" Version="2022.1127.0" />
|
||||||
<PackageReference Include="ppy.osu.Framework.Android" Version="2022.1113.0" />
|
<PackageReference Include="ppy.osu.Framework.Android" Version="2022.1126.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Label="Transitive Dependencies">
|
<ItemGroup Label="Transitive Dependencies">
|
||||||
<!-- Realm needs to be directly referenced in all Xamarin projects, as it will not pull in its transitive dependencies otherwise. -->
|
<!-- Realm needs to be directly referenced in all Xamarin projects, as it will not pull in its transitive dependencies otherwise. -->
|
||||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings;
|
|||||||
|
|
||||||
namespace osu.Android
|
namespace osu.Android
|
||||||
{
|
{
|
||||||
public class AndroidJoystickSettings : SettingsSubsection
|
public partial class AndroidJoystickSettings : SettingsSubsection
|
||||||
{
|
{
|
||||||
protected override LocalisableString Header => JoystickSettingsStrings.JoystickGamepad;
|
protected override LocalisableString Header => JoystickSettingsStrings.JoystickGamepad;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using osu.Game.Overlays.Settings.Sections.Input;
|
|||||||
|
|
||||||
namespace osu.Android
|
namespace osu.Android
|
||||||
{
|
{
|
||||||
public class AndroidMouseSettings : SettingsSubsection
|
public partial class AndroidMouseSettings : SettingsSubsection
|
||||||
{
|
{
|
||||||
private readonly AndroidMouseHandler mouseHandler;
|
private readonly AndroidMouseHandler mouseHandler;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using osu.Game;
|
|||||||
|
|
||||||
namespace osu.Android
|
namespace osu.Android
|
||||||
{
|
{
|
||||||
public class GameplayScreenRotationLocker : Component
|
public partial class GameplayScreenRotationLocker : Component
|
||||||
{
|
{
|
||||||
private Bindable<bool> localUserPlaying;
|
private Bindable<bool> localUserPlaying;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ using Xamarin.Essentials;
|
|||||||
|
|
||||||
namespace osu.Android
|
namespace osu.Android
|
||||||
{
|
{
|
||||||
public class OsuGameAndroid : OsuGame
|
public partial class OsuGameAndroid : OsuGame
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
private readonly OsuGameActivity gameActivity;
|
private readonly OsuGameActivity gameActivity;
|
||||||
|
@ -20,7 +20,7 @@ using LogLevel = osu.Framework.Logging.LogLevel;
|
|||||||
|
|
||||||
namespace osu.Desktop
|
namespace osu.Desktop
|
||||||
{
|
{
|
||||||
internal class DiscordRichPresence : Component
|
internal partial class DiscordRichPresence : Component
|
||||||
{
|
{
|
||||||
private const string client_id = "367827983903490050";
|
private const string client_id = "367827983903490050";
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ using SDL2;
|
|||||||
|
|
||||||
namespace osu.Desktop
|
namespace osu.Desktop
|
||||||
{
|
{
|
||||||
internal class OsuGameDesktop : OsuGame
|
internal partial class OsuGameDesktop : OsuGame
|
||||||
{
|
{
|
||||||
private OsuSchemeLinkIPCChannel? osuSchemeLinkIPCChannel;
|
private OsuSchemeLinkIPCChannel? osuSchemeLinkIPCChannel;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ namespace osu.Desktop.Security
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Checks if the game is running with elevated privileges (as admin in Windows, root in Unix) and displays a warning notification if so.
|
/// Checks if the game is running with elevated privileges (as admin in Windows, root in Unix) and displays a warning notification if so.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ElevatedPrivilegesChecker : Component
|
public partial class ElevatedPrivilegesChecker : Component
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private INotificationOverlay notifications { get; set; } = null!;
|
private INotificationOverlay notifications { get; set; } = null!;
|
||||||
@ -63,7 +63,7 @@ namespace osu.Desktop.Security
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ElevatedPrivilegesNotification : SimpleNotification
|
private partial class ElevatedPrivilegesNotification : SimpleNotification
|
||||||
{
|
{
|
||||||
public override bool IsImportant => true;
|
public override bool IsImportant => true;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ using UpdateManager = osu.Game.Updater.UpdateManager;
|
|||||||
namespace osu.Desktop.Updater
|
namespace osu.Desktop.Updater
|
||||||
{
|
{
|
||||||
[SupportedOSPlatform("windows")]
|
[SupportedOSPlatform("windows")]
|
||||||
public class SquirrelUpdateManager : UpdateManager
|
public partial class SquirrelUpdateManager : UpdateManager
|
||||||
{
|
{
|
||||||
private Squirrel.UpdateManager? updateManager;
|
private Squirrel.UpdateManager? updateManager;
|
||||||
private INotificationOverlay notificationOverlay = null!;
|
private INotificationOverlay notificationOverlay = null!;
|
||||||
|
@ -10,7 +10,7 @@ using osu.Game.Screens.Play;
|
|||||||
|
|
||||||
namespace osu.Desktop.Windows
|
namespace osu.Desktop.Windows
|
||||||
{
|
{
|
||||||
public class GameplayWinKeyBlocker : Component
|
public partial class GameplayWinKeyBlocker : Component
|
||||||
{
|
{
|
||||||
private Bindable<bool> disableWinKey = null!;
|
private Bindable<bool> disableWinKey = null!;
|
||||||
private IBindable<bool> localUserPlaying = null!;
|
private IBindable<bool> localUserPlaying = null!;
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public abstract class CatchSkinnableTestScene : SkinnableTestScene
|
public abstract partial class CatchSkinnableTestScene : SkinnableTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreateRulesetForSkinProvider() => new CatchRuleset();
|
protected override Ruleset CreateRulesetForSkinProvider() => new CatchRuleset();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ using osu.Game.Tests.Visual;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class CatchEditorTestSceneContainer : Container
|
public partial class CatchEditorTestSceneContainer : Container
|
||||||
{
|
{
|
||||||
[Cached(typeof(Playfield))]
|
[Cached(typeof(Playfield))]
|
||||||
public readonly ScrollingPlayfield Playfield;
|
public readonly ScrollingPlayfield Playfield;
|
||||||
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Catch.Tests.Editor
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private class TestCatchPlayfield : CatchEditorPlayfield
|
private partial class TestCatchPlayfield : CatchEditorPlayfield
|
||||||
{
|
{
|
||||||
public TestCatchPlayfield()
|
public TestCatchPlayfield()
|
||||||
: base(new BeatmapDifficulty { CircleSize = 0 })
|
: base(new BeatmapDifficulty { CircleSize = 0 })
|
||||||
|
@ -21,7 +21,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public abstract class CatchPlacementBlueprintTestScene : PlacementBlueprintTestScene
|
public abstract partial class CatchPlacementBlueprintTestScene : PlacementBlueprintTestScene
|
||||||
{
|
{
|
||||||
protected const double TIME_SNAP = 100;
|
protected const double TIME_SNAP = 100;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public abstract class CatchSelectionBlueprintTestScene : SelectionBlueprintTestScene
|
public abstract partial class CatchSelectionBlueprintTestScene : SelectionBlueprintTestScene
|
||||||
{
|
{
|
||||||
protected ScrollingHitObjectContainer HitObjectContainer => contentContainer.Playfield.HitObjectContainer;
|
protected ScrollingHitObjectContainer HitObjectContainer => contentContainer.Playfield.HitObjectContainer;
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ namespace osu.Game.Rulesets.Catch.Tests.Editor
|
|||||||
InputManager.MoveMouseTo(pos);
|
InputManager.MoveMouseTo(pos);
|
||||||
});
|
});
|
||||||
|
|
||||||
private class EditorBeatmapDependencyContainer : Container
|
private partial class EditorBeatmapDependencyContainer : Container
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
private readonly EditorClock editorClock;
|
private readonly EditorClock editorClock;
|
||||||
|
@ -20,7 +20,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class TestSceneBananaShowerPlacementBlueprint : CatchPlacementBlueprintTestScene
|
public partial class TestSceneBananaShowerPlacementBlueprint : CatchPlacementBlueprintTestScene
|
||||||
{
|
{
|
||||||
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableBananaShower((BananaShower)hitObject);
|
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableBananaShower((BananaShower)hitObject);
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class TestSceneCatchDistanceSnapGrid : OsuManualInputManagerTestScene
|
public partial class TestSceneCatchDistanceSnapGrid : OsuManualInputManagerTestScene
|
||||||
{
|
{
|
||||||
private readonly ManualClock manualClock = new ManualClock();
|
private readonly ManualClock manualClock = new ManualClock();
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneEditor : EditorTestScene
|
public partial class TestSceneEditor : EditorTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreateEditorRuleset() => new CatchRuleset();
|
protected override Ruleset CreateEditorRuleset() => new CatchRuleset();
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class TestSceneFruitPlacementBlueprint : CatchPlacementBlueprintTestScene
|
public partial class TestSceneFruitPlacementBlueprint : CatchPlacementBlueprintTestScene
|
||||||
{
|
{
|
||||||
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableFruit((Fruit)hitObject);
|
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableFruit((Fruit)hitObject);
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class TestSceneJuiceStreamPlacementBlueprint : CatchPlacementBlueprintTestScene
|
public partial class TestSceneJuiceStreamPlacementBlueprint : CatchPlacementBlueprintTestScene
|
||||||
{
|
{
|
||||||
private const double velocity_factor = 0.5;
|
private const double velocity_factor = 0.5;
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
namespace osu.Game.Rulesets.Catch.Tests.Editor
|
||||||
{
|
{
|
||||||
public class TestSceneJuiceStreamSelectionBlueprint : CatchSelectionBlueprintTestScene
|
public partial class TestSceneJuiceStreamSelectionBlueprint : CatchSelectionBlueprintTestScene
|
||||||
{
|
{
|
||||||
private JuiceStream hitObject;
|
private JuiceStream hitObject;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Tests.Visual;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
||||||
{
|
{
|
||||||
public class TestSceneCatchModFlashlight : ModTestScene
|
public partial class TestSceneCatchModFlashlight : ModTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using osu.Game.Tests.Visual;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
||||||
{
|
{
|
||||||
public class TestSceneCatchModNoScope : ModTestScene
|
public partial class TestSceneCatchModNoScope : ModTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
||||||
{
|
{
|
||||||
public class TestSceneCatchModPerfect : ModPerfectTestScene
|
public partial class TestSceneCatchModPerfect : ModPerfectTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
namespace osu.Game.Rulesets.Catch.Tests.Mods
|
||||||
{
|
{
|
||||||
public class TestSceneCatchModRelax : ModTestScene
|
public partial class TestSceneCatchModRelax : ModTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneAutoJuiceStream : TestSceneCatchPlayer
|
public partial class TestSceneAutoJuiceStream : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
protected override IBeatmap CreateBeatmap(RulesetInfo ruleset)
|
protected override IBeatmap CreateBeatmap(RulesetInfo ruleset)
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,7 @@ using osu.Game.Rulesets.Catch.Objects;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneBananaShower : TestSceneCatchPlayer
|
public partial class TestSceneBananaShower : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void TestBananaShower()
|
public void TestBananaShower()
|
||||||
|
@ -19,7 +19,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneCatchModHidden : ModTestScene
|
public partial class TestSceneCatchModHidden : ModTestScene
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void TestJuiceStream()
|
public void TestJuiceStream()
|
||||||
|
@ -9,7 +9,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatchPlayer : PlayerTestScene
|
public partial class TestSceneCatchPlayer : PlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ using osuTK;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
|
public partial class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
|
||||||
{
|
{
|
||||||
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using osu.Game.Rulesets.Catch.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneCatchReplay : TestSceneCatchPlayer
|
public partial class TestSceneCatchReplay : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
protected override bool Autoplay => true;
|
protected override bool Autoplay => true;
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ using Direction = osu.Game.Rulesets.Catch.UI.Direction;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneCatchSkinConfiguration : OsuTestScene
|
public partial class TestSceneCatchSkinConfiguration : OsuTestScene
|
||||||
{
|
{
|
||||||
private Catcher catcher;
|
private Catcher catcher;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using osu.Game.Rulesets.Catch.UI;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatchStacker : TestSceneCatchPlayer
|
public partial class TestSceneCatchStacker : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
protected override IBeatmap CreateBeatmap(RulesetInfo ruleset)
|
protected override IBeatmap CreateBeatmap(RulesetInfo ruleset)
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ using osu.Game.Tests.Visual;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatchTouchInput : OsuTestScene
|
public partial class TestSceneCatchTouchInput : OsuTestScene
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void TestBasic()
|
public void TestBasic()
|
||||||
|
@ -27,7 +27,7 @@ using osuTK;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatcher : OsuTestScene
|
public partial class TestSceneCatcher : OsuTestScene
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private OsuConfigManager config { get; set; }
|
private OsuConfigManager config { get; set; }
|
||||||
@ -324,7 +324,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TestCatcher : Catcher
|
public partial class TestCatcher : Catcher
|
||||||
{
|
{
|
||||||
public IEnumerable<CaughtObject> CaughtObjects => this.ChildrenOfType<CaughtObject>();
|
public IEnumerable<CaughtObject> CaughtObjects => this.ChildrenOfType<CaughtObject>();
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ using osu.Game.Rulesets.Scoring;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneCatcherArea : CatchSkinnableTestScene
|
public partial class TestSceneCatcherArea : CatchSkinnableTestScene
|
||||||
{
|
{
|
||||||
private RulesetInfo catchRuleset;
|
private RulesetInfo catchRuleset;
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
catchRuleset = rulesets.GetRuleset(2);
|
catchRuleset = rulesets.GetRuleset(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class TestCatcherArea : CatcherArea
|
private partial class TestCatcherArea : CatcherArea
|
||||||
{
|
{
|
||||||
public TestCatcherArea(IBeatmapDifficultyInfo beatmapDifficulty)
|
public TestCatcherArea(IBeatmapDifficultyInfo beatmapDifficulty)
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneComboCounter : CatchSkinnableTestScene
|
public partial class TestSceneComboCounter : CatchSkinnableTestScene
|
||||||
{
|
{
|
||||||
private ScoreProcessor scoreProcessor = null!;
|
private ScoreProcessor scoreProcessor = null!;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneDrawableHitObjects : OsuTestScene
|
public partial class TestSceneDrawableHitObjects : OsuTestScene
|
||||||
{
|
{
|
||||||
private DrawableCatchRuleset drawableRuleset;
|
private DrawableCatchRuleset drawableRuleset;
|
||||||
private double playfieldTime => drawableRuleset.Playfield.Time.Current;
|
private double playfieldTime => drawableRuleset.Playfield.Time.Current;
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.Catch.Mods;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneDrawableHitObjectsHidden : TestSceneDrawableHitObjects
|
public partial class TestSceneDrawableHitObjectsHidden : TestSceneDrawableHitObjects
|
||||||
{
|
{
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp() => Schedule(() =>
|
public void SetUp() => Schedule(() =>
|
||||||
|
@ -15,7 +15,7 @@ using osu.Game.Rulesets.Catch.Objects.Drawables;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneFruitObjects : CatchSkinnableTestScene
|
public partial class TestSceneFruitObjects : CatchSkinnableTestScene
|
||||||
{
|
{
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
private Drawable createDrawableTinyDroplet() => new TestDrawableCatchHitObjectSpecimen(new DrawableTinyDroplet(new TinyDroplet()));
|
private Drawable createDrawableTinyDroplet() => new TestDrawableCatchHitObjectSpecimen(new DrawableTinyDroplet(new TinyDroplet()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TestDrawableCatchHitObjectSpecimen : CompositeDrawable
|
public partial class TestDrawableCatchHitObjectSpecimen : CompositeDrawable
|
||||||
{
|
{
|
||||||
public readonly ManualClock ManualClock;
|
public readonly ManualClock ManualClock;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneFruitRandomness : OsuTestScene
|
public partial class TestSceneFruitRandomness : OsuTestScene
|
||||||
{
|
{
|
||||||
private readonly DrawableFruit drawableFruit;
|
private readonly DrawableFruit drawableFruit;
|
||||||
private readonly DrawableBanana drawableBanana;
|
private readonly DrawableBanana drawableBanana;
|
||||||
|
@ -9,7 +9,7 @@ using osu.Game.Rulesets.Catch.Objects.Drawables;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneFruitVisualChange : TestSceneFruitObjects
|
public partial class TestSceneFruitVisualChange : TestSceneFruitObjects
|
||||||
{
|
{
|
||||||
private readonly Bindable<int> indexInBeatmap = new Bindable<int>();
|
private readonly Bindable<int> indexInBeatmap = new Bindable<int>();
|
||||||
private readonly Bindable<bool> hyperDash = new Bindable<bool>();
|
private readonly Bindable<bool> hyperDash = new Bindable<bool>();
|
||||||
|
@ -17,7 +17,7 @@ using osuTK;
|
|||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestSceneHyperDash : TestSceneCatchPlayer
|
public partial class TestSceneHyperDash : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
protected override bool Autoplay => true;
|
protected override bool Autoplay => true;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneHyperDashColouring : OsuTestScene
|
public partial class TestSceneHyperDashColouring : OsuTestScene
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private SkinManager skins { get; set; }
|
private SkinManager skins { get; set; }
|
||||||
|
@ -14,7 +14,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneJuiceStream : TestSceneCatchPlayer
|
public partial class TestSceneJuiceStream : TestSceneCatchPlayer
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void TestJuiceStreamEndingCombo()
|
public void TestJuiceStreamEndingCombo()
|
||||||
|
@ -18,7 +18,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Tests
|
namespace osu.Game.Rulesets.Catch.Tests
|
||||||
{
|
{
|
||||||
public class TestSceneLegacyBeatmapSkin : LegacyBeatmapSkinColourTest
|
public partial class TestSceneLegacyBeatmapSkin : LegacyBeatmapSkinColourTest
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private AudioManager audio { get; set; }
|
private AudioManager audio { get; set; }
|
||||||
@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
|
|
||||||
protected override ExposedPlayer CreateTestPlayer(bool userHasCustomColours) => new CatchExposedPlayer(userHasCustomColours);
|
protected override ExposedPlayer CreateTestPlayer(bool userHasCustomColours) => new CatchExposedPlayer(userHasCustomColours);
|
||||||
|
|
||||||
private class CatchExposedPlayer : ExposedPlayer
|
private partial class CatchExposedPlayer : ExposedPlayer
|
||||||
{
|
{
|
||||||
public CatchExposedPlayer(bool userHasCustomColours)
|
public CatchExposedPlayer(bool userHasCustomColours)
|
||||||
: base(userHasCustomColours)
|
: base(userHasCustomColours)
|
||||||
|
@ -9,7 +9,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
namespace osu.Game.Rulesets.Catch
|
namespace osu.Game.Rulesets.Catch
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class CatchInputManager : RulesetInputManager<CatchAction>
|
public partial class CatchInputManager : RulesetInputManager<CatchAction>
|
||||||
{
|
{
|
||||||
public CatchInputManager(RulesetInfo ruleset)
|
public CatchInputManager(RulesetInfo ruleset)
|
||||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||||
|
@ -12,7 +12,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class BananaShowerPlacementBlueprint : CatchPlacementBlueprint<BananaShower>
|
public partial class BananaShowerPlacementBlueprint : CatchPlacementBlueprint<BananaShower>
|
||||||
{
|
{
|
||||||
private readonly TimeSpanOutline outline;
|
private readonly TimeSpanOutline outline;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using osu.Game.Rulesets.Catch.Objects;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class BananaShowerSelectionBlueprint : CatchSelectionBlueprint<BananaShower>
|
public partial class BananaShowerSelectionBlueprint : CatchSelectionBlueprint<BananaShower>
|
||||||
{
|
{
|
||||||
public BananaShowerSelectionBlueprint(BananaShower hitObject)
|
public BananaShowerSelectionBlueprint(BananaShower hitObject)
|
||||||
: base(hitObject)
|
: base(hitObject)
|
||||||
|
@ -12,7 +12,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class CatchPlacementBlueprint<THitObject> : PlacementBlueprint
|
public partial class CatchPlacementBlueprint<THitObject> : PlacementBlueprint
|
||||||
where THitObject : CatchHitObject, new()
|
where THitObject : CatchHitObject, new()
|
||||||
{
|
{
|
||||||
protected new THitObject HitObject => (THitObject)base.HitObject;
|
protected new THitObject HitObject => (THitObject)base.HitObject;
|
||||||
|
@ -12,7 +12,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public abstract class CatchSelectionBlueprint<THitObject> : HitObjectSelectionBlueprint<THitObject>
|
public abstract partial class CatchSelectionBlueprint<THitObject> : HitObjectSelectionBlueprint<THitObject>
|
||||||
where THitObject : CatchHitObject
|
where THitObject : CatchHitObject
|
||||||
{
|
{
|
||||||
protected override bool AlwaysShowWhenSelected => true;
|
protected override bool AlwaysShowWhenSelected => true;
|
||||||
|
@ -20,7 +20,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public abstract class EditablePath : CompositeDrawable
|
public abstract partial class EditablePath : CompositeDrawable
|
||||||
{
|
{
|
||||||
public int PathId => path.InvalidationID;
|
public int PathId => path.InvalidationID;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class FruitOutline : CompositeDrawable
|
public partial class FruitOutline : CompositeDrawable
|
||||||
{
|
{
|
||||||
public FruitOutline()
|
public FruitOutline()
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,7 @@ using osu.Game.Rulesets.UI.Scrolling;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class NestedOutlineContainer : CompositeDrawable
|
public partial class NestedOutlineContainer : CompositeDrawable
|
||||||
{
|
{
|
||||||
private readonly List<CatchHitObject> nestedHitObjects = new List<CatchHitObject>();
|
private readonly List<CatchHitObject> nestedHitObjects = new List<CatchHitObject>();
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class PlacementEditablePath : EditablePath
|
public partial class PlacementEditablePath : EditablePath
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The original position of the last added vertex.
|
/// The original position of the last added vertex.
|
||||||
|
@ -15,7 +15,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class ScrollingPath : CompositeDrawable
|
public partial class ScrollingPath : CompositeDrawable
|
||||||
{
|
{
|
||||||
private readonly Path drawablePath;
|
private readonly Path drawablePath;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class SelectionEditablePath : EditablePath, IHasContextMenu
|
public partial class SelectionEditablePath : EditablePath, IHasContextMenu
|
||||||
{
|
{
|
||||||
public MenuItem[] ContextMenuItems => getContextMenuItems().ToArray();
|
public MenuItem[] ContextMenuItems => getContextMenuItems().ToArray();
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class TimeSpanOutline : CompositeDrawable
|
public partial class TimeSpanOutline : CompositeDrawable
|
||||||
{
|
{
|
||||||
private const float border_width = 4;
|
private const float border_width = 4;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
|
||||||
{
|
{
|
||||||
public class VertexPiece : Circle
|
public partial class VertexPiece : Circle
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private OsuColour osuColour { get; set; }
|
private OsuColour osuColour { get; set; }
|
||||||
|
@ -11,7 +11,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class FruitPlacementBlueprint : CatchPlacementBlueprint<Fruit>
|
public partial class FruitPlacementBlueprint : CatchPlacementBlueprint<Fruit>
|
||||||
{
|
{
|
||||||
private readonly FruitOutline outline;
|
private readonly FruitOutline outline;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.Catch.Objects;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class FruitSelectionBlueprint : CatchSelectionBlueprint<Fruit>
|
public partial class FruitSelectionBlueprint : CatchSelectionBlueprint<Fruit>
|
||||||
{
|
{
|
||||||
private readonly FruitOutline outline;
|
private readonly FruitOutline outline;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class JuiceStreamPlacementBlueprint : CatchPlacementBlueprint<JuiceStream>
|
public partial class JuiceStreamPlacementBlueprint : CatchPlacementBlueprint<JuiceStream>
|
||||||
{
|
{
|
||||||
private readonly ScrollingPath scrollingPath;
|
private readonly ScrollingPath scrollingPath;
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ using osuTK.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
||||||
{
|
{
|
||||||
public class JuiceStreamSelectionBlueprint : CatchSelectionBlueprint<JuiceStream>
|
public partial class JuiceStreamSelectionBlueprint : CatchSelectionBlueprint<JuiceStream>
|
||||||
{
|
{
|
||||||
public override Quad SelectionQuad => HitObjectContainer.ToScreenSpace(getBoundingBox().Offset(new Vector2(0, HitObjectContainer.DrawHeight)));
|
public override Quad SelectionQuad => HitObjectContainer.ToScreenSpace(getBoundingBox().Offset(new Vector2(0, HitObjectContainer.DrawHeight)));
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using osu.Game.Screens.Edit.Compose.Components;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class CatchBlueprintContainer : ComposeBlueprintContainer
|
public partial class CatchBlueprintContainer : ComposeBlueprintContainer
|
||||||
{
|
{
|
||||||
public CatchBlueprintContainer(CatchHitObjectComposer composer)
|
public CatchBlueprintContainer(CatchHitObjectComposer composer)
|
||||||
: base(composer)
|
: base(composer)
|
||||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Catch.Edit
|
|||||||
/// The guide lines used in the osu!catch editor to compose patterns that can be caught with constant speed.
|
/// The guide lines used in the osu!catch editor to compose patterns that can be caught with constant speed.
|
||||||
/// Currently, only forward placement (an object is snapped based on the previous object, not the opposite) is supported.
|
/// Currently, only forward placement (an object is snapped based on the previous object, not the opposite) is supported.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class CatchDistanceSnapGrid : CompositeDrawable
|
public partial class CatchDistanceSnapGrid : CompositeDrawable
|
||||||
{
|
{
|
||||||
public double StartTime { get; set; }
|
public double StartTime { get; set; }
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ using osu.Game.Rulesets.Catch.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class CatchEditorPlayfield : CatchPlayfield
|
public partial class CatchEditorPlayfield : CatchPlayfield
|
||||||
{
|
{
|
||||||
// TODO fixme: the size of the catcher is not changed when circle size is changed in setup screen.
|
// TODO fixme: the size of the catcher is not changed when circle size is changed in setup screen.
|
||||||
public CatchEditorPlayfield(IBeatmapDifficultyInfo difficulty)
|
public CatchEditorPlayfield(IBeatmapDifficultyInfo difficulty)
|
||||||
|
@ -10,7 +10,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class CatchEditorPlayfieldAdjustmentContainer : PlayfieldAdjustmentContainer
|
public partial class CatchEditorPlayfieldAdjustmentContainer : PlayfieldAdjustmentContainer
|
||||||
{
|
{
|
||||||
protected override Container<Drawable> Content => content;
|
protected override Container<Drawable> Content => content;
|
||||||
private readonly Container content;
|
private readonly Container content;
|
||||||
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Catch.Edit
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ScalingContainer : Container
|
private partial class ScalingContainer : Container
|
||||||
{
|
{
|
||||||
public ScalingContainer()
|
public ScalingContainer()
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class CatchHitObjectComposer : DistancedHitObjectComposer<CatchHitObject>
|
public partial class CatchHitObjectComposer : DistancedHitObjectComposer<CatchHitObject>
|
||||||
{
|
{
|
||||||
private const float distance_snap_radius = 50;
|
private const float distance_snap_radius = 50;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ using Direction = osu.Framework.Graphics.Direction;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class CatchSelectionHandler : EditorSelectionHandler
|
public partial class CatchSelectionHandler : EditorSelectionHandler
|
||||||
{
|
{
|
||||||
protected ScrollingHitObjectContainer HitObjectContainer => (ScrollingHitObjectContainer)playfield.HitObjectContainer;
|
protected ScrollingHitObjectContainer HitObjectContainer => (ScrollingHitObjectContainer)playfield.HitObjectContainer;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ using osu.Game.Rulesets.UI;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Catch.Edit
|
namespace osu.Game.Rulesets.Catch.Edit
|
||||||
{
|
{
|
||||||
public class DrawableCatchEditorRuleset : DrawableCatchRuleset
|
public partial class DrawableCatchEditorRuleset : DrawableCatchRuleset
|
||||||
{
|
{
|
||||||
public readonly BindableDouble TimeRangeMultiplier = new BindableDouble(1);
|
public readonly BindableDouble TimeRangeMultiplier = new BindableDouble(1);
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user