mirror of
https://github.com/ppy/osu
synced 2025-01-19 12:30:50 +00:00
Merge pull request #9435 from mcendu/mania-custom-stage-path
This commit is contained in:
commit
7a4f7a6e9b
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 899 B |
@ -9,4 +9,6 @@ Hit50: mania/hit50
|
||||
Hit100: mania/hit100
|
||||
Hit200: mania/hit200
|
||||
Hit300: mania/hit300
|
||||
Hit300g: mania/hit300g
|
||||
Hit300g: mania/hit300g
|
||||
StageLeft: mania/stage-left
|
||||
StageRight: mania/stage-right
|
@ -115,6 +115,7 @@ namespace osu.Game.Skinning
|
||||
case string _ when pair.Key.StartsWith("NoteImage"):
|
||||
case string _ when pair.Key.StartsWith("KeyImage"):
|
||||
case string _ when pair.Key.StartsWith("Hit"):
|
||||
case string _ when pair.Key.StartsWith("Stage"):
|
||||
currentConfig.ImageLookups[pair.Key] = pair.Value;
|
||||
break;
|
||||
}
|
||||
|
@ -250,6 +250,15 @@ namespace osu.Game.Skinning
|
||||
case LegacyManiaSkinConfigurationLookups.RightStageImage:
|
||||
return SkinUtils.As<TValue>(getManiaImage(existing, "StageRight"));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.BottomStageImage:
|
||||
return SkinUtils.As<TValue>(getManiaImage(existing, "StageBottom"));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.LightImage:
|
||||
return SkinUtils.As<TValue>(getManiaImage(existing, "StageLight"));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.HitTargetImage:
|
||||
return SkinUtils.As<TValue>(getManiaImage(existing, "StageHint"));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.LeftLineWidth:
|
||||
Debug.Assert(maniaLookup.TargetColumn != null);
|
||||
return SkinUtils.As<TValue>(new Bindable<float>(existing.ColumnLineWidth[maniaLookup.TargetColumn.Value]));
|
||||
|
Loading…
Reference in New Issue
Block a user