mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 10:57:27 +08:00
Merge branch 'legacy_beatmap_flag' into taiko_conversion
Conflicts: osu.Game/Beatmaps/Legacy/IIsLegacy.cs
This commit is contained in:
commit
aa565274de
@ -1,12 +0,0 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
namespace osu.Game.Beatmaps.Legacy
|
||||
{
|
||||
/// <summary>
|
||||
/// A Beatmap that was loaded from a legacy .osu beatmap file (version <=15).
|
||||
/// </summary>
|
||||
public interface IIsLegacy
|
||||
{
|
||||
}
|
||||
}
|
@ -6,15 +6,16 @@ namespace osu.Game.Beatmaps.Legacy
|
||||
/// <summary>
|
||||
/// A type of Beatmap loaded from a legacy .osu beatmap file (version <=15).
|
||||
/// </summary>
|
||||
internal class LegacyBeatmap : Beatmap, IIsLegacy
|
||||
public class LegacyBeatmap : Beatmap
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a new beatmap.
|
||||
/// </summary>
|
||||
/// <param name="original">The original beatmap to use the parameters of.</param>
|
||||
public LegacyBeatmap(Beatmap original = null)
|
||||
internal LegacyBeatmap(Beatmap original = null)
|
||||
: base(original)
|
||||
{
|
||||
HitObjects = original?.HitObjects ?? null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,6 @@
|
||||
<Compile Include="Beatmaps\IBeatmapProcessor.cs" />
|
||||
<Compile Include="Beatmaps\Legacy\LegacyBeatmap.cs" />
|
||||
<Compile Include="Beatmaps\Timing\TimingInfo.cs" />
|
||||
<Compile Include="Beatmaps\Legacy\IIsLegacy.cs" />
|
||||
<Compile Include="Database\ScoreDatabase.cs" />
|
||||
<Compile Include="Graphics\Backgrounds\Triangles.cs" />
|
||||
<Compile Include="Graphics\Cursor\CursorTrail.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user