summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Animation/TextureSRTAnim.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-19 06:28:18 +0100
committerTreeki <treeki@gmail.com>2012-02-19 06:28:18 +0100
commit364e99d849378546323d1d06307b6773e813b742 (patch)
tree3a30e29e3bd9bd3b3f245425d74b879103e46004 /NW4RTools/Models/Animation/TextureSRTAnim.cs
parentf5f1901be759a9dc3837a4cc2933f75c0ea765b7 (diff)
downloadnw4rtools-364e99d849378546323d1d06307b6773e813b742.tar.gz
nw4rtools-364e99d849378546323d1d06307b6773e813b742.zip
added what is probably horribly broken support for reading animations
Diffstat (limited to 'NW4RTools/Models/Animation/TextureSRTAnim.cs')
-rw-r--r--NW4RTools/Models/Animation/TextureSRTAnim.cs18
1 files changed, 18 insertions, 0 deletions
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<Node> 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() {
}
}