mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-07-21 07:20:32 +00:00
feat: add binary xanim support for remaining games (#818)
* refactor: use generic loader for iw3 xanims * refactor: use generic dumper for iw3 xanims * chore: use templating on XAnimDumper * chore: use templating on XAnimLoader * feat: dump xanims for T5 * feat: load binary t5 xanims * feat: load and dump t6 xanims * feat: load and dump iw4,iw5 xanims * chore: make sure iw3 and t5 notify about unsupported delta3D * chore: also use CommonVec3U8 and CommonVec3U16 for non delta trans track
This commit is contained in:
@@ -395,6 +395,13 @@ namespace IW4
|
||||
PART_TYPE_COUNT
|
||||
};
|
||||
|
||||
enum XAnimFlags
|
||||
{
|
||||
ANIM_LOOP = 0x1,
|
||||
ANIM_DELTA = 0x2,
|
||||
ANIM_DELTA_3D = 0x4,
|
||||
};
|
||||
|
||||
struct XAnimParts
|
||||
{
|
||||
const char* name;
|
||||
@@ -404,7 +411,7 @@ namespace IW4
|
||||
uint16_t randomDataByteCount;
|
||||
uint16_t randomDataIntCount;
|
||||
uint16_t numframes;
|
||||
char flags;
|
||||
unsigned char flags;
|
||||
unsigned char boneCount[PART_TYPE_COUNT];
|
||||
unsigned char notifyCount;
|
||||
unsigned char assetType;
|
||||
|
||||
Reference in New Issue
Block a user