mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Add support for custom LightingN paths
This commit is contained in:
parent
997ea2f27e
commit
7a70d06342
@ -116,6 +116,7 @@ namespace osu.Game.Skinning
|
|||||||
case string _ when pair.Key.StartsWith("KeyImage"):
|
case string _ when pair.Key.StartsWith("KeyImage"):
|
||||||
case string _ when pair.Key.StartsWith("Hit"):
|
case string _ when pair.Key.StartsWith("Hit"):
|
||||||
case string _ when pair.Key.StartsWith("Stage"):
|
case string _ when pair.Key.StartsWith("Stage"):
|
||||||
|
case string _ when pair.Key.StartsWith("Lighting"):
|
||||||
currentConfig.ImageLookups[pair.Key] = pair.Value;
|
currentConfig.ImageLookups[pair.Key] = pair.Value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -173,6 +173,9 @@ namespace osu.Game.Skinning
|
|||||||
case LegacyManiaSkinConfigurationLookups.ShowJudgementLine:
|
case LegacyManiaSkinConfigurationLookups.ShowJudgementLine:
|
||||||
return SkinUtils.As<TValue>(new Bindable<bool>(existing.ShowJudgementLine));
|
return SkinUtils.As<TValue>(new Bindable<bool>(existing.ShowJudgementLine));
|
||||||
|
|
||||||
|
case LegacyManiaSkinConfigurationLookups.ExplosionImage:
|
||||||
|
return SkinUtils.As<TValue>(getManiaImage(existing, "LightingN"));
|
||||||
|
|
||||||
case LegacyManiaSkinConfigurationLookups.ExplosionScale:
|
case LegacyManiaSkinConfigurationLookups.ExplosionScale:
|
||||||
Debug.Assert(maniaLookup.TargetColumn != null);
|
Debug.Assert(maniaLookup.TargetColumn != null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user