#ifndef __DNACOMMON_PATH_HPP__ #define __DNACOMMON_PATH_HPP__ #include "../DNACommon/DNACommon.hpp" namespace DataSpec { struct PATH : BigDNA { DECL_DNA Value version; struct Vertex : BigDNA { DECL_DNA Value position; Value normal; }; Value vertexCount; Vector nodes; struct Edge : BigDNA { DECL_DNA Value polyA; Value polyB; Value width1; Value width2; }; Value edgeCount; Vector edges; struct Polygon : BigDNA { DECL_DNA Value vertCount; Value vertStart; Value edgeCount; Value edgeStart; Value flags; Value area; Value normal; Value selfIdx1; Value center; Value aabb[2]; Value selfIdx2; }; Value polyCount; Vector polygons; Vector bitmap1; Vector bitmap2; Vector bitmap3; Value unkIntCount; Vector unkInts; struct UnknownStruct : BigDNA { DECL_DNA Value unk1; Value unk2[3]; Value unk3[8]; // Usually 0xFF Value unk4; Value unk5; }; Value unkStructCount; Vector unkStructs; }; } #endif // __DNACOMMON_PATH_HPP__