mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Merge branch 'master' into menu-cursor
This commit is contained in:
commit
1fda7ee33e
@ -197,7 +197,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
|
|
||||||
if (split.Length > 2)
|
if (split.Length > 2)
|
||||||
{
|
{
|
||||||
//int kiaiFlags = split.Length > 7 ? Convert.ToInt32(split[7], NumberFormatInfo.InvariantInfo) : 0;
|
int effectFlags = split.Length > 7 ? Convert.ToInt32(split[7], NumberFormatInfo.InvariantInfo) : 0;
|
||||||
double beatLength = double.Parse(split[1].Trim(), NumberFormatInfo.InvariantInfo);
|
double beatLength = double.Parse(split[1].Trim(), NumberFormatInfo.InvariantInfo);
|
||||||
cp = new ControlPoint
|
cp = new ControlPoint
|
||||||
{
|
{
|
||||||
@ -205,6 +205,8 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
BeatLength = beatLength > 0 ? beatLength : 0,
|
BeatLength = beatLength > 0 ? beatLength : 0,
|
||||||
VelocityAdjustment = beatLength < 0 ? -beatLength / 100.0 : 1,
|
VelocityAdjustment = beatLength < 0 ? -beatLength / 100.0 : 1,
|
||||||
TimingChange = split.Length <= 6 || split[6][0] == '1',
|
TimingChange = split.Length <= 6 || split[6][0] == '1',
|
||||||
|
KiaiMode = (effectFlags & 1) > 0,
|
||||||
|
OmitFirstBarLine = (effectFlags & 8) > 0
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ namespace osu.Game.Beatmaps.Timing
|
|||||||
public double VelocityAdjustment;
|
public double VelocityAdjustment;
|
||||||
public bool TimingChange;
|
public bool TimingChange;
|
||||||
public bool KiaiMode;
|
public bool KiaiMode;
|
||||||
|
public bool OmitFirstBarLine;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user