#include "../DNACommon/DNACommon.hpp" namespace Retro { namespace DNAMP2 { struct MLVL : BigDNA { DECL_DNA FourCC magic; Value version; UniqueID32 worldNameId; UniqueID32 darkWorldNameId; Value unk; UniqueID32 saveWorldId; UniqueID32 worldSkyboxId; Value areaCount; struct Area : BigDNA { DECL_DNA UniqueID32 areaNameId; Value transformMtx[3]; Value aabb[2]; UniqueID32 areaMREAId; Value areaId; Value attachedAreaCount; Vector attachedAreas; Value padding; Value depCount; struct Dependency : BigDNA { DECL_DNA UniqueID32 id; HECL::FourCC type; }; Vector deps; Value depLayerCount; Vector depLayers; Value dockCount; struct Dock : BigDNA { DECL_DNA Value endpointCount; struct Endpoint : BigDNA { DECL_DNA Value areaIdx; Value dockIdx; }; HECL::FourCC type; Vector endpoints; Value planeVertCount; Vector planeVerts; }; Vector docks; Value relCount; Vector, DNA_COUNT(relCount)> relFilenames; Value relOffsetCount; Vector relOffsets; Value unk1; String<-1> internalAreaName; }; UniqueID32 worldMap; Value unknown2; Value unknown3; Value layerFlagCount; struct LayerFlags : BigDNA { DECL_DNA Value layerCount; Value flags; }; Vector layerFlags; Value layerNameCount; Vector, DNA_COUNT(layerNameCount)> layerNames; Value layerNameOffsetCount; Vector layerNameOffsets; }; } }