#ifndef __DNACOMMON_MAPU_HPP__ #define __DNACOMMON_MAPU_HPP__ #include "DNACommon.hpp" namespace DataSpec::DNAMAPU { struct MAPU : BigDNA { DECL_DNA Value magic; Value version; UniqueID32 hexMapa; Value worldCount; struct Transform : BigDNA { DECL_DNA Value xf[3]; }; struct World : BigDNA { DECL_DNA String<-1> name; UniqueID32 mlvl; Transform transform; Value hexCount; Vector hexTransforms; DNAColor hexColor; }; Vector worlds; static bool Cook(const hecl::blender::MapUniverse& mapu, const hecl::ProjectPath& out); }; template bool ReadMAPUToBlender(hecl::blender::Connection& conn, const MAPU& mapu, const hecl::ProjectPath& outPath, PAKRouter& pakRouter, const typename PAKRouter::EntryType& entry, bool force); } #endif // __DNACOMMON_MAPU_HPP__