From d1c9bf937e6efd59af45b3d38b9ba96ef927dade Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 23 Mar 2011 21:47:10 +0100 Subject: a bit of preliminary work on character animation support --- NW4RTools.userprefs | 8 +++--- NW4RTools/Models/Animation/CharacterAnim.cs | 40 ++++++++++++++++++++++++++++ NW4RTools/NW4RTools.pidb | Bin 583120 -> 585922 bytes TestApp/TestApp.pidb | Bin 4427 -> 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 @@  - + - + - + - @@ -22,6 +21,7 @@ + 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 Binary files a/NW4RTools/NW4RTools.pidb and b/NW4RTools/NW4RTools.pidb differ diff --git a/TestApp/TestApp.pidb b/TestApp/TestApp.pidb index 5bfaccd..ac6b5b6 100644 Binary files a/TestApp/TestApp.pidb and b/TestApp/TestApp.pidb differ -- cgit v1.2.3