Fix event priority.
This commit is contained in:
@@ -272,7 +272,7 @@ namespace Cryville.Crtr {
|
|||||||
[DefaultValue(0.0f)]
|
[DefaultValue(0.0f)]
|
||||||
public float sumfix = 0.0f;
|
public float sumfix = 0.0f;
|
||||||
|
|
||||||
public override int Priority { get { return -2; } }
|
public override int Priority { get { return -0x1000; } }
|
||||||
|
|
||||||
public Motion() {
|
public Motion() {
|
||||||
SubmitPropOp("motion", new PropOp.String(v => motion = v)); // TODO Obsolete
|
SubmitPropOp("motion", new PropOp.String(v => motion = v)); // TODO Obsolete
|
||||||
@@ -307,7 +307,7 @@ namespace Cryville.Crtr {
|
|||||||
default: return base.GetEventsOfType(type);
|
default: return base.GetEventsOfType(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public override int Priority { get { return 12; } }
|
public override int Priority { get { return 20; } }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Judge : ChartEvent {
|
public class Judge : ChartEvent {
|
||||||
@@ -335,7 +335,7 @@ namespace Cryville.Crtr {
|
|||||||
public class Signature : ChartEvent {
|
public class Signature : ChartEvent {
|
||||||
public float? tempo;
|
public float? tempo;
|
||||||
|
|
||||||
public override int Priority { get { return -4; } }
|
public override int Priority { get { return -0x2000; } }
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Sound> sounds;
|
public List<Sound> sounds;
|
||||||
|
@@ -39,7 +39,7 @@ namespace Cryville.Crtr {
|
|||||||
public bool Forced { get; set; }
|
public bool Forced { get; set; }
|
||||||
public override bool CanDiscard { get { return !Forced; } }
|
public override bool CanDiscard { get { return !Forced; } }
|
||||||
public override int Priority { get { return m_priority; } }
|
public override int Priority { get { return m_priority; } }
|
||||||
public void SetPriority(int value) { m_priority = value; }
|
public void SetPriority(int value) { m_priority = value + Container.Priority - 0x800; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ClipBehind : StampedEvent {
|
public class ClipBehind : StampedEvent {
|
||||||
|
Reference in New Issue
Block a user