anx.framework/ANX.Framework/Audio/XactParser/XactGeneralSettingsRpcCurvePoint.cs
SND\AstrorEnales_cp ef734ddcd3 Implemented the MediaPlayer and MediaQueue classes as preparation for native Song playback.
Also added the FrameworkDispatcher calls in the Game class.
Checking for possible fire and forget sound instances to be disposed in the FrameworkDispatcher update chain.
2015-03-15 01:11:17 +01:00

32 lines
763 B
C#

using System;
using System.IO;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.Framework.Audio.XactParser
{
internal class XactGeneralSettingsRpcCurvePoint
{
public enum CurveType
{
Linear = 0x00,
Fast = 0x01,
Slow = 0x02,
SinCos = 0x03,
}
public float X { get; private set; }
public float Y { get; private set; }
public CurveType Type { get; private set; }
public XactGeneralSettingsRpcCurvePoint(BinaryReader reader)
{
X = reader.ReadSingle();
Y = reader.ReadSingle();
Type = (CurveType)reader.ReadByte();
}
}
}