// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Skinning { /// /// This class exists for the explicit purpose of ferrying information from ManiaBeatmap in a way LegacySkin can use it. /// This is because half of the mania legacy skin implementation is in LegacySkin (osu.Game project) which doesn't have visibility /// over ManiaBeatmap / StageDefinition. /// public class LegacyManiaSkinConfigurationLookup { /// /// Total columns across all stages. /// public readonly int TotalColumns; public readonly int? TargetColumn; public readonly LegacyManiaSkinConfigurationLookups Lookup; public LegacyManiaSkinConfigurationLookup(int totalColumns, LegacyManiaSkinConfigurationLookups lookup, int? targetColumn = null) { TotalColumns = totalColumns; Lookup = lookup; TargetColumn = targetColumn; } } public enum LegacyManiaSkinConfigurationLookups { ColumnWidth, ColumnSpacing, LightImage, LeftLineWidth, RightLineWidth, HitPosition, ScorePosition, LightPosition, HitTargetImage, ShowJudgementLine, KeyImage, KeyImageDown, NoteImage, HoldNoteHeadImage, HoldNoteTailImage, HoldNoteBodyImage, HoldNoteLightImage, HoldNoteLightScale, ExplosionImage, ExplosionScale, ColumnLineColour, JudgementLineColour, ColumnBackgroundColour, ColumnLightColour, MinimumColumnWidth, LeftStageImage, RightStageImage, BottomStageImage, Hit300g, Hit300, Hit200, Hit100, Hit50, Hit0, KeysUnderNotes, } }