summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NW4RTools.userprefs8
-rw-r--r--NW4RTools/Models/Animation/CharacterAnim.cs40
-rw-r--r--NW4RTools/NW4RTools.pidbbin583120 -> 585922 bytes
-rw-r--r--TestApp/TestApp.pidbbin4427 -> 4427 bytes
4 files changed, 44 insertions, 4 deletions
diff --git a/NW4RTools.userprefs b/NW4RTools.userprefs
index 9212cb2..08b033a 100644
--- a/NW4RTools.userprefs
+++ b/NW4RTools.userprefs
@@ -1,16 +1,15 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
- <MonoDevelop.Ide.Workbench ActiveDocument="NW4RTools/ObjImporter.cs">
+ <MonoDevelop.Ide.Workbench ActiveDocument="NW4RTools/Models/Animation/CharacterAnim.cs">
<Files>
- <File FileName="NW4RTools/ObjImporter.cs" Line="36" Column="27" />
+ <File FileName="NW4RTools/ObjImporter.cs" Line="718" Column="1" />
<File FileName="NW4RTools/ObjExporter.cs" Line="105" Column="25" />
<File FileName="NW4RTools/BrresReader.cs" Line="516" Column="1" />
<File FileName="NW4RTools/BrresWriter.cs" Line="1262" Column="1" />
<File FileName="NW4RTools/Models/Model.cs" Line="1" Column="1" />
<File FileName="NW4RTools/Models/ByteCode.cs" Line="1" Column="1" />
- <File FileName="TestApp/Main.cs" Line="22" Column="23" />
+ <File FileName="TestApp/Main.cs" Line="1" Column="1" />
<File FileName="NW4RTools/Types.cs" Line="1" Column="1" />
- <File FileName="NW4RTools/Models/Material.cs" Line="70" Column="1" />
<File FileName="NW4RTools/VertexSettings.cs" Line="184" Column="46" />
<File FileName="NW4RTools/Models/VertexData.cs" Line="238" Column="31" />
<File FileName="NW4RTools/Models/OpenGL/GLModel.cs" Line="218" Column="9" />
@@ -22,6 +21,7 @@
<File FileName="NW4RTools/OutputStream.cs" Line="62" Column="32" />
<File FileName="NW4RTools/ColladaExporter.cs" Line="273" Column="7" />
<File FileName="NW4RTools/ResFile.cs" Line="1" Column="1" />
+ <File FileName="NW4RTools/Models/Animation/CharacterAnim.cs" Line="11" Column="14" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
diff --git a/NW4RTools/Models/Animation/CharacterAnim.cs b/NW4RTools/Models/Animation/CharacterAnim.cs
index 951969e..b350477 100644
--- a/NW4RTools/Models/Animation/CharacterAnim.cs
+++ b/NW4RTools/Models/Animation/CharacterAnim.cs
@@ -1,6 +1,46 @@
using System;
namespace NW4RTools.Models.Animation {
public class CharacterAnim {
+ [FlagsAttribute]
+ public enum Flags {
+ Unk0 = 1,
+ Unk1 = 2,
+ Unk2 = 4,
+ Unk3 = 8,
+ Unk4 = 0x10,
+ RotateZero = 0x20,
+ TranslateZero = 0x40,
+ Unk7 = 0x80,
+ Unk8 = 0x100,
+ Unk9 = 0x200,
+ Unk10 = 0x400,
+ Unk11 = 0x800,
+ Unk12 = 0x1000,
+ Unk13 = 0x2000,
+ Unk14 = 0x4000,
+ Unk15 = 0x8000,
+ Unk16 = 0x10000,
+ Unk17 = 0x20000,
+ Unk18 = 0x40000,
+ Unk19 = 0x80000,
+ Unk20 = 0x100000,
+ Unk21 = 0x200000,
+ CalcScale = 0x400000,
+ CalcRotate = 0x800000,
+ CalcTranslate = 0x1000000,
+ Unk25 = 0x2000000,
+ Unk26 = 0x4000000,
+ Unk27 = 0x8000000,
+ Unk28 = 0x10000000,
+ Unk29 = 0x20000000,
+ Unk30 = 0x40000000,
+ Unk31 = 0x80000000,
+ }
+
+ public class Node {
+
+ }
+
public CharacterAnim() {
}
}
diff --git a/NW4RTools/NW4RTools.pidb b/NW4RTools/NW4RTools.pidb
index 4d2cd3b..ac72337 100644
--- a/NW4RTools/NW4RTools.pidb
+++ b/NW4RTools/NW4RTools.pidb
Binary files differ
diff --git a/TestApp/TestApp.pidb b/TestApp/TestApp.pidb
index 5bfaccd..ac6b5b6 100644
--- a/TestApp/TestApp.pidb
+++ b/TestApp/TestApp.pidb
Binary files differ