metaforce/DataSpec/DNAMP2/PTLA.hpp

68 lines
1.7 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-02-21 22:05:11 +00:00
2018-06-29 20:21:36 +00:00
#include "DataSpec/DNACommon/DNACommon.hpp"
2016-02-21 22:05:11 +00:00
2017-12-29 08:08:12 +00:00
namespace DataSpec::DNAMP2
2016-02-21 22:05:11 +00:00
{
struct PTLA : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<atUint32> magic;
struct UnknownStruct1 : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<atUint32> count;
struct Entry : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<atUint16> unknown5;
Value<atUint16> unknown6;
};
2018-02-25 08:23:27 +00:00
Vector<Entry, AT_DNA_COUNT(count)> entries;
Value<atUint16> unknown1;
Value<atVec3f> unknown2[2];
2016-02-21 22:05:11 +00:00
};
Value<atUint32> count1;
2018-02-25 08:23:27 +00:00
Vector<UnknownStruct1, AT_DNA_COUNT(count1)> entries1;
2016-02-21 22:05:11 +00:00
struct UnknownStruct2 : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<atUint32> count;
struct Entry : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
};
2018-02-25 08:23:27 +00:00
Vector<Entry, AT_DNA_COUNT(count)> entries;
2016-02-21 22:05:11 +00:00
Value<atUint16> unknown;
};
Value<atUint32> count2;
2018-02-25 08:23:27 +00:00
Vector<UnknownStruct2, AT_DNA_COUNT(count2)> entries2;
2016-02-21 22:05:11 +00:00
Value<atUint32> shortCount1;
2018-02-25 08:23:27 +00:00
Vector<atUint16, AT_DNA_COUNT(shortCount1)> shorts1;
2016-02-21 22:05:11 +00:00
Value<atUint32> shortCount2;
2018-02-25 08:23:27 +00:00
Vector<atUint16, AT_DNA_COUNT(shortCount2)> shorts2;
2016-02-21 22:05:11 +00:00
struct UnknownStruct3 : BigDNA
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA
2016-02-21 22:05:11 +00:00
Value<atVec3f> unknown1[2];
Value<atUint16> unknown2;
Value<atUint16> unknown3;
Value<atUint16> unknown4;
};
Value<atUint32> count3;
2018-02-25 08:23:27 +00:00
Vector<UnknownStruct3, AT_DNA_COUNT(count3)> entries3;
2016-02-21 22:05:11 +00:00
};
}