summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Animation/ColorAnim.cs
blob: de8fdbd3b507fb595f365a832cdbed8053d7ca22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
namespace NW4RTools.Models.Animation {
	public class ColorAnim {
		public bool Loop;

		public UInt16 FrameCount;

		public ResDict<Node> Nodes;

		public struct Element {
			public UInt32 Mask;

			public bool Exists, IsConstant;

			public Color ConstValue;
			public Color[] Colors;
		}

		public enum TargetType {
			Material0 = 0,
			Material1 = 1,
			Ambient0 = 2,
			Ambient1 = 3,
			Tev0 = 4,
			Tev1 = 5,
			Tev2 = 6,
			TevConst0 = 7,
			TevConst1 = 8,
			TevConst2 = 9,
			TevConst3 = 10,
			Count = 11,
		}

		public class Node {
			public Element[] Elements;
		}

		public ColorAnim() {
		}
	}
}