mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Removed D rank
This commit is contained in:
@ -155,7 +155,7 @@ namespace osu.Desktop.VisualTests
|
|||||||
},
|
},
|
||||||
new Score
|
new Score
|
||||||
{
|
{
|
||||||
Rank = ScoreRank.D,
|
Rank = ScoreRank.F,
|
||||||
Accuracy = 100,
|
Accuracy = 100,
|
||||||
MaxCombo = 244,
|
MaxCombo = 244,
|
||||||
TotalScore = 1707827,
|
TotalScore = 1707827,
|
||||||
|
@ -7,31 +7,13 @@ namespace osu.Game.Modes
|
|||||||
{
|
{
|
||||||
public enum ScoreRank
|
public enum ScoreRank
|
||||||
{
|
{
|
||||||
[Description(@"F")]
|
|
||||||
F,
|
F,
|
||||||
|
|
||||||
[Description(@"F")]
|
|
||||||
D,
|
|
||||||
|
|
||||||
[Description(@"C")]
|
|
||||||
C,
|
C,
|
||||||
|
|
||||||
[Description(@"B")]
|
|
||||||
B,
|
B,
|
||||||
|
|
||||||
[Description(@"A")]
|
|
||||||
A,
|
A,
|
||||||
|
|
||||||
[Description(@"S")]
|
|
||||||
S,
|
S,
|
||||||
|
|
||||||
[Description(@"SPlus")]
|
|
||||||
SPlus,
|
SPlus,
|
||||||
|
|
||||||
[Description(@"SS")]
|
|
||||||
SS,
|
SS,
|
||||||
|
|
||||||
[Description(@"SSPlus")]
|
|
||||||
SSPlus,
|
SSPlus,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ using osu.Framework.Graphics.Sprites;
|
|||||||
using osu.Framework.Graphics.Textures;
|
using osu.Framework.Graphics.Textures;
|
||||||
using osu.Framework.Extensions;
|
using osu.Framework.Extensions;
|
||||||
using osu.Game.Modes;
|
using osu.Game.Modes;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Select.Leaderboards
|
namespace osu.Game.Screens.Select.Leaderboards
|
||||||
{
|
{
|
||||||
@ -24,7 +25,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
{
|
{
|
||||||
if (value == rank) return;
|
if (value == rank) return;
|
||||||
rank = value;
|
rank = value;
|
||||||
sprite.Texture = textures.Get($@"Badges/ScoreRanks/{rank.GetDescription()}");
|
sprite.Texture = textures.Get($@"Badges/ScoreRanks/{Enum.GetName(typeof(ScoreRank), rank)}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +33,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
private void load(TextureStore ts)
|
private void load(TextureStore ts)
|
||||||
{
|
{
|
||||||
textures = ts;
|
textures = ts;
|
||||||
sprite.Texture = textures.Get($@"Badges/ScoreRanks/{rank.GetDescription()}");
|
sprite.Texture = textures.Get($@"Badges/ScoreRanks/{Enum.GetName(typeof(ScoreRank), rank)}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public DrawableRank(ScoreRank rank)
|
public DrawableRank(ScoreRank rank)
|
||||||
|
Reference in New Issue
Block a user