summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Shape.cs
blob: 93ff70b8d68f5cff3696d81385ed6123ddf4ac3b (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
using System;

namespace NW4RTools.Models {
	public class Shape {
		public Int32 MatrixID;
		public byte[] Unk;
		public byte[] DisplayList1, DisplayList2;
		public UInt32 DLBufferSize1, DLBufferSize2;
		public UInt32 DataFlags;
		public UInt32 Flags;
		public UInt32 Index;

		public UInt32 VertexCount;
		public UInt32 PolygonCount;

		public VertexPosData PosData;
		public VertexNrmData NrmData;
		public VertexClrData[] ClrData;
		public VertexTexCoordData[] TexCoordData;

		public Int16 FurVecDataIndex;
		public Int16 FurPosDataIndex;

		public UInt16[] ExtraData;

		public Shape() {
			Unk = new byte[12];
			ClrData = new VertexClrData[2];
			TexCoordData = new VertexTexCoordData[8];
		}
	}
}