Skip to content

Commit

Permalink
Merge pull request #310 from Beamographic/dependabot/nuget/ppy.osu.Ga…
Browse files Browse the repository at this point in the history
…me-2023.717.0

Bump ppy.osu.Game from 2023.419.0 to 2023.717.0
  • Loading branch information
LumpBloom7 authored Jul 25, 2023
2 parents 8b2e895 + cadf0ae commit efdbde3
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 12 deletions.
19 changes: 12 additions & 7 deletions osu.Game.Rulesets.Rush.Tests/Visual/TestSceneTouchInputHandling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

namespace osu.Game.Rulesets.Rush.Tests.Visual
{

public partial class TestSceneTouchInputHandling : OsuManualInputManagerTestScene
{
protected override Ruleset CreateRuleset() => new RushRuleset();
Expand All @@ -27,20 +28,26 @@ public partial class TestSceneTouchInputHandling : OsuManualInputManagerTestScen
private TouchRegion groundRegion;
private TouchRegion feverRegion;

private KeyCounterDisplay keyCounters;
//private KeyCounterDisplay keyCounters;
private RushInputManager rushInputManager;

//[Cached]
//private InputCountController controller = null!;

[BackgroundDependencyLoader]
private void load()
{
rushInputManager = new RushInputManager(Ruleset.Value);

Children = new Drawable[]
{
//controller = new InputCountController(),
airRegion = new TouchRegion
{
RelativeSizeAxes = Axes.Both,
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Size = new Vector2(1,0.5f),
Size = new Vector2(1, 0.5f),

Action = RushActionTarget.Air,
Colour = Color4.Aqua,
Expand All @@ -51,7 +58,7 @@ private void load()
RelativeSizeAxes = Axes.Both,
Anchor = Anchor.BottomCentre,
Origin = Anchor.BottomCentre,
Size = new Vector2(1,0.5f),
Size = new Vector2(1, 0.5f),

Action = RushActionTarget.Ground,
Colour = Color4.Red,
Expand All @@ -68,15 +75,13 @@ private void load()
Colour = Color4.Purple,
Alpha = 0.8f,
},
keyCounters = new DefaultKeyCounterDisplay()
/*keyCounters = new DefaultKeyCounterDisplay()
{
Origin = Anchor.BottomRight,
Anchor = Anchor.BottomRight,
}
}*/
};

rushInputManager = new RushInputManager(Ruleset.Value);
rushInputManager.Attach(keyCounters);

var tmpChild = InputManager.Child;
InputManager.Clear(false);
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Rush/Mods/RushModFlashlight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace osu.Game.Rulesets.Rush.Mods
{
public class RushModFlashlight : ModFlashlight<RushHitObject>
public partial class RushModFlashlight : ModFlashlight<RushHitObject>
{
public override double ScoreMultiplier => 1.12;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,15 @@ public override bool OnPressed(KeyBindingPressEvent<RushAction> e)

public override void OnReleased(KeyBindingReleaseEvent<RushAction> e)
{
// TODO: HACK FIX FOR HOTFIX, NEEDS FURTHER INVESTIGATION
if (!IsInUse)
return;

if (AllJudged)
return;

// Note sheet not held yet (i.e. not our time yet) or already broken / finished.
if (Judged || !Head.IsHit)
if (Judged)
return;

if (!LaneMatchesAction(e.Action))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using System;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Scoring;

namespace osu.Game.Rulesets.Rush.Objects.Drawables
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Rush/RushRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

namespace osu.Game.Rulesets.Rush
{
public class RushRuleset : Ruleset
public partial class RushRuleset : Ruleset
{
public override string RulesetAPIVersionSupported => CURRENT_RULESET_API_VERSION;

Expand Down
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Rush/osu.Game.Rulesets.Rush.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Project">
<Configurations>Debug;Release;Development</Configurations>
<TargetFramework>net6.0</TargetFramework>
Expand Down Expand Up @@ -33,6 +33,6 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2023.419.0" />
<PackageReference Include="ppy.osu.Game" Version="2023.717.0" />
</ItemGroup>
</Project>

0 comments on commit efdbde3

Please sign in to comment.