mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Implement background/video/break encoding
This commit is contained in:
@ -129,7 +129,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleEvents(TextWriter writer)
|
||||
{
|
||||
// Todo: Storyboard events
|
||||
writer.WriteLine(FormattableString.Invariant($"{(int)LegacyEventType.Background},0,{beatmap.BeatmapInfo.Metadata.BackgroundFile}"));
|
||||
writer.WriteLine(FormattableString.Invariant($"{(int)LegacyEventType.Video},0,{beatmap.BeatmapInfo.Metadata.VideoFile}"));
|
||||
|
||||
foreach (var b in beatmap.Breaks)
|
||||
writer.WriteLine(FormattableString.Invariant($"{(int)LegacyEventType.Break},{b.StartTime},{b.EndTime}"));
|
||||
}
|
||||
|
||||
private void handleTimingPoints(TextWriter writer)
|
||||
|
Reference in New Issue
Block a user