mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Initial support code for beatmap loading
This commit is contained in:
34
osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs
Normal file
34
osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace osu.Game.Beatmaps.Formats
|
||||
{
|
||||
public class OsuLegacyDecoder : BeatmapDecoder
|
||||
{
|
||||
static OsuLegacyDecoder()
|
||||
{
|
||||
AddDecoder<OsuLegacyDecoder>("osu file format v14");
|
||||
AddDecoder<OsuLegacyDecoder>("osu file format v13");
|
||||
AddDecoder<OsuLegacyDecoder>("osu file format v12");
|
||||
AddDecoder<OsuLegacyDecoder>("osu file format v11");
|
||||
AddDecoder<OsuLegacyDecoder>("osu file format v10");
|
||||
// TODO: Not sure how far back to go, or differences between versions
|
||||
}
|
||||
|
||||
private enum Section
|
||||
{
|
||||
General,
|
||||
Editor,
|
||||
Metadata,
|
||||
Difficulty,
|
||||
Events,
|
||||
TimingPoints,
|
||||
Colours,
|
||||
HitObjects,
|
||||
}
|
||||
|
||||
public override Beatmap Decode(TextReader stream)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user