mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 20:07:25 +08:00
add support for ScorePosition into LegacyManiaSkin
This commit is contained in:
parent
d9edd4e7de
commit
b3d8347315
@ -35,6 +35,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
public float HitPosition = (480 - 402) * POSITION_SCALE_FACTOR;
|
||||
public float LightPosition = (480 - 413) * POSITION_SCALE_FACTOR;
|
||||
public float ScorePosition = (480 - 402 + 150) * POSITION_SCALE_FACTOR;
|
||||
public bool ShowJudgementLine = true;
|
||||
public bool KeysUnderNotes;
|
||||
|
||||
|
@ -25,6 +25,7 @@ namespace osu.Game.Skinning
|
||||
LeftLineWidth,
|
||||
RightLineWidth,
|
||||
HitPosition,
|
||||
ScorePosition,
|
||||
LightPosition,
|
||||
HitTargetImage,
|
||||
ShowJudgementLine,
|
||||
|
@ -94,6 +94,10 @@ namespace osu.Game.Skinning
|
||||
currentConfig.LightPosition = (480 - float.Parse(pair.Value, CultureInfo.InvariantCulture)) * LegacyManiaSkinConfiguration.POSITION_SCALE_FACTOR;
|
||||
break;
|
||||
|
||||
case "ScorePosition":
|
||||
currentConfig.ScorePosition = (480 - float.Parse(pair.Value, CultureInfo.InvariantCulture)) * LegacyManiaSkinConfiguration.POSITION_SCALE_FACTOR;
|
||||
break;
|
||||
|
||||
case "JudgementLine":
|
||||
currentConfig.ShowJudgementLine = pair.Value == "1";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user