summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Shape.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-02-10 05:03:53 +0100
committerTreeki <treeki@gmail.com>2011-02-10 05:03:53 +0100
commit58dead7b909861732011325f5d4844eae21a9bc2 (patch)
tree1ae61678c8df37c245eabdc443a275fccaa53516 /NW4RTools/Models/Shape.cs
parent58f30cf003a6b7b3686f70fa0539aa45d126b457 (diff)
downloadnw4rtools-58dead7b909861732011325f5d4844eae21a9bc2.tar.gz
nw4rtools-58dead7b909861732011325f5d4844eae21a9bc2.zip
more stuff. added shapes and texture/material pairs and refactored Logger a bit
Diffstat (limited to 'NW4RTools/Models/Shape.cs')
-rw-r--r--NW4RTools/Models/Shape.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/NW4RTools/Models/Shape.cs b/NW4RTools/Models/Shape.cs
new file mode 100644
index 0000000..72cdbaa
--- /dev/null
+++ b/NW4RTools/Models/Shape.cs
@@ -0,0 +1,29 @@
+using System;
+
+namespace NW4RTools.Models {
+ public class Shape {
+ public Int32 MatrixID;
+ public byte[] Unk;
+ public byte[] DisplayList1, DisplayList2;
+ public UInt32 DataFlags;
+ public UInt32 Flags;
+ public UInt32 Index;
+
+ public UInt32 VertexCount;
+ public UInt32 PolygonCount;
+
+ // todo: use refs for this
+ public Int16 PosDataIndex;
+ public Int16 NrmDataIndex;
+ public Int16[] ClrDataIndex;
+ public Int16[] TexCoordDataIndex;
+ public Int16 FurVecDataIndex;
+ public Int16 FurPosDataIndex;
+
+ // todo: more
+
+ public Shape() {
+ }
+ }
+}
+