5#include "../limits.hpp"
9namespace MdlParser::Structs::Mdl {
10 using Limits::MAX_NUM_LODS;
22 int32_t modelvertexdata;
23 std::array<int32_t, MAX_NUM_LODS> numLODVertexes;
30 std::array<int32_t, 6> boneControllers;
47 int32_t physicsBoneIndex;
48 int32_t surfacePropIndex;
52 std::array<int32_t, 8> unused;
66 int32_t clientmaterial;
68 std::array<int32_t, 10> unused;
83 Enums::Mdl::VertAnimType vertAnimType;
85 std::array<uint8_t, 3> unused0;
86 std::array<int32_t, 6> unused1;
100 int32_t materialType;
101 int32_t materialParam;
110 std::array<int32_t, 8> unused;
114 std::array<char, 64> name;
118 float boundingRadius;
121 int32_t meshesOffset;
125 int32_t tangentsOffset;
127 int32_t attachmentsCount;
128 int32_t attachmentsOffset;
130 int32_t eyeballsCount;
131 int32_t eyeballsOffset;
136 std::array<int32_t, 8> unused;
144 int32_t modelsOffset;
148 static const int32_t MAX_SUPPORTED_VERSION = 48;
153 std::array<char, 64> name;
169 int32_t boneControllerCount;
170 int32_t boneControllerOffset;
173 int32_t hitboxOffset;
175 int32_t localAnimCount;
176 int32_t localAnimOffset;
178 int32_t localSequenceCount;
179 int32_t localSequenceOffset;
181 int32_t activityListVersion;
182 int32_t eventsIndexed;
184 int32_t textureCount;
185 int32_t textureOffset;
187 int32_t textureDirCount;
188 int32_t textureDirOffset;
190 int32_t skinRefCount;
191 int32_t skinFamilyCount;
192 int32_t skinRefOffset;
194 int32_t bodypartCount;
195 int32_t bodypartOffset;
197 int32_t attachmentCount;
198 int32_t attachmentOffset;
200 int32_t localnodeCount;
201 int32_t localnodeOffset;
202 int32_t localnodeNameOffset;
204 int32_t flexDescCount;
205 int32_t flexDescOffset;
207 int32_t flexControllerCount;
208 int32_t flexControllerOffset;
210 int32_t flexRulesCount;
211 int32_t flexRulesOffset;
213 int32_t ikChainCount;
214 int32_t ikChainOffset;
217 int32_t mouthsOffset;
219 int32_t localPoseParamCount;
220 int32_t localPoseParamIndex;
222 int32_t surfacePropIndex;
224 int32_t keyvalueOffset;
225 int32_t keyvalueCount;
234 int32_t includeModelCount;
235 int32_t includeModelOffset;
237 int32_t virtualModel;
239 int32_t animBlocksNameOffset;
240 int32_t animBlocksCount;
241 int32_t animBlocksOffset;
243 int32_t animBlockModel;
245 int32_t boneTableNameOffset;
250 uint8_t directionalDotProduct;
254 uint8_t numAllowedRootLoDs;
259 int32_t flexControllerUICount;
260 int32_t flexControllerUIOffset;
262 float vertAnimFixedPointScale;
265 int32_t header2Offset;
270 int32_t srcBoneTransformCount;
271 int32_t srcBoneTransformOffset;
273 int32_t illumPositionAttachmentOffset;
275 float maxEyeDeflection;
277 int32_t linearBoneOffset;
281 int32_t boneFlexDriverCount;
282 int32_t boneFlexDriverOffset;
284 std::array<int32_t, 56> reserved;
Flags
Definition: enums.hpp:16
Definition: common.hpp:21
Definition: common.hpp:14
Definition: common.hpp:10