2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

feat: dump xanims for T5

This commit is contained in:
Jan Laupetin
2026-06-05 18:44:11 +02:00
parent 440216b517
commit 6b0681f27f
9 changed files with 92 additions and 17 deletions
+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include <cstdint>
namespace xanim
{
enum class CompiledXAnimVersion : uint8_t
{
// IW3, T4
VERSION_17 = 17,
// T5, T6
VERSION_19 = 19
};
namespace binary17
{
constexpr uint8_t FLAG_LOOPED = 1u;
constexpr uint8_t FLAG_DELTA = 2u;
} // namespace binary17
namespace binary19
{
constexpr uint8_t FLAG_LOOPED = 1u;
constexpr uint8_t FLAG_DELTA = 2u;
constexpr uint8_t FLAG_LEFT_HAND_GRIP_IK = 4u;
constexpr uint8_t FLAG_STREAMABLE = 8u;
} // namespace binary19
} // namespace xanim