1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 01:19:52 +08:00

Merge branch 'master' into test-working-beatmap-clock

This commit is contained in:
Dan Balasescu
2019-02-20 15:57:46 +09:00
committed by GitHub
Unverified
3 changed files with 5 additions and 2 deletions
@@ -13,7 +13,7 @@ namespace osu.Game.Rulesets.Catch.Tests
{
protected override string ResourceAssembly => "osu.Game.Rulesets.Catch";
[TestCase(3.8701758020428221d, "diffcalc-test")]
[TestCase(4.2038001515546597d, "diffcalc-test")]
public void Test(double expected, string name)
=> base.Test(expected, name);
@@ -29,6 +29,9 @@ namespace osu.Game.Rulesets.Catch.Difficulty
{
var catcher = new CatcherArea.Catcher(beatmap.BeatmapInfo.BaseDifficulty);
halfCatchWidth = catcher.CatchWidth * 0.5f;
// We're only using 80% of the catcher's width to simulate imperfect gameplay.
halfCatchWidth *= 0.8f;
}
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
+1 -1
View File
@@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Catch.UI
{
public class CatcherArea : Container
{
public const float CATCHER_SIZE = 100;
public const float CATCHER_SIZE = 106.75f;
protected internal readonly Catcher MovableCatcher;