Prune and clean up code.
This commit is contained in:
@@ -315,23 +315,6 @@ namespace Cryville.Crtr.Event {
|
||||
}
|
||||
}
|
||||
|
||||
static readonly int n_corner = IdentifierManager.SharedInstance.Request("corner");
|
||||
public bool Corner {
|
||||
get {
|
||||
return GetRawValue<VecI1>(n_corner).Value % 2 >= 1;
|
||||
}
|
||||
}
|
||||
|
||||
static readonly int n_ctrl0 = IdentifierManager.SharedInstance.Request("ctrl0");
|
||||
static readonly int n_ctrl1 = IdentifierManager.SharedInstance.Request("ctrl1");
|
||||
public Vector3 GetControlPoint(bool alt1, float deltaz) {
|
||||
var mv = GetRawValue<VecCtrl>(alt1 ? n_ctrl1 : n_ctrl0);
|
||||
if (alt1 && mv.IsZero()) {
|
||||
mv = GetRawValue<VecCtrl>(n_ctrl0);
|
||||
}
|
||||
return mv.ToVector3(ChartPlayer.hitRect, deltaz);
|
||||
}
|
||||
|
||||
static readonly int n_track = IdentifierManager.SharedInstance.Request("track");
|
||||
public float Track {
|
||||
get {
|
||||
|
Reference in New Issue
Block a user