mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
allow lookup of stage decoration paths and add test images
This commit is contained in:
parent
ec689ce824
commit
5c2959eeb6
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 899 B |
@ -10,3 +10,5 @@ Hit100: mania/hit100
|
||||
Hit200: mania/hit200
|
||||
Hit300: mania/hit300
|
||||
Hit300g: mania/hit300g
|
||||
StageLeft: mania/stage-left
|
||||
StageRight: mania/stage-right
|
@ -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