[DiscordArchive] ?!
[DiscordArchive] ?!
Archived author: Kallar • Posted: 2019-10-31T09:53:12.027000+00:00
Original source
?!
Archived author: schlumpf • Posted: 2019-10-31T09:53:35.872000+00:00
Original source
```
template<typename T>
struct M2Array
{
/*0x00*/ uint32_t number;
/*0x04*/ uint32_t offset_elements;
/*0x08*/
};
template<typename T>
struct M2Track
{
/*0x00*/ uint16_t interpolation_type;
/*0x02*/ uint16_t global_sequence;
/*0x04*/ M2Array<M2Array<uint32_t>> timestamps;
/*0x0C*/ M2Array<M2Array<T>> values;
/*0x14*/
};
```
Archived author: Kallar • Posted: 2019-10-31T09:54:10.890000+00:00
Original source
so its arrays of arrays?!
Archived author: schlumpf • Posted: 2019-10-31T09:54:27.867000+00:00
Original source
in wotlk+, yeah
Archived author: schlumpf • Posted: 2019-10-31T09:54:39.981000+00:00
Original source
first dimension is animations, second is values
Archived author: schlumpf • Posted: 2019-10-31T09:56:08.908000+00:00
Original source
So a model with only one Stand (0) animation and two timestamps will have timestamps.count = 1, timestamps.data[0].count = 2, timestamps.data[0].data[0] = ts1, timestamps.data[0].data[1] = ts2