From 364e99d849378546323d1d06307b6773e813b742 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 19 Feb 2012 06:28:18 +0100 Subject: added what is probably horribly broken support for reading animations --- NW4RTools/Models/Animation/TextureSRTAnim.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'NW4RTools/Models/Animation/TextureSRTAnim.cs') diff --git a/NW4RTools/Models/Animation/TextureSRTAnim.cs b/NW4RTools/Models/Animation/TextureSRTAnim.cs index edc3593..d033f5f 100644 --- a/NW4RTools/Models/Animation/TextureSRTAnim.cs +++ b/NW4RTools/Models/Animation/TextureSRTAnim.cs @@ -1,6 +1,24 @@ using System; namespace NW4RTools.Models.Animation { public class TextureSRTAnim { + public Model.TexMatrixModeType MatrixMode; + public bool Loop; + + public UInt16 FrameCount; + + public ResDict Nodes; + + public struct Element { + public bool Exists; + + public KeyframeAnim ScaleS, ScaleT, Rotate, TransS, TransT; + } + + public class Node { + public Element[] Textures; + public Element[] IndirectTextures; + } + public TextureSRTAnim() { } } -- cgit v1.2.3