using System; namespace NW4RTools.Models.Animation { public struct Keyframe { public float Frame, Value, Slope; } public struct KeyframeAnim { public bool IsConstant; public float ConstValue; public Keyframe[] Keyframes; // Only valid sometimes // This sucks but I'm not sure how else to do it atm public float BaseValue, Multiplier; public int[] Values; public float[] FloatValues; public KeyframeAnim(float cv) { IsConstant = true; ConstValue = cv; Keyframes = null; BaseValue = Multiplier = 0; Values = null; FloatValues = null; } } }