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.
32 lines
763 B
C#
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();
|
|
}
|
|
}
|
|
}
|