#ifndef __DNACOMMON_MAPU_HPP__ #define __DNACOMMON_MAPU_HPP__ #include "DNACommon.hpp" namespace DataSpec { namespace 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::BlenderConnection::DataStream::MapUniverse& mapu, const hecl::ProjectPath& out); }; template bool ReadMAPUToBlender(hecl::BlenderConnection& conn, const MAPU& mapu, const hecl::ProjectPath& outPath, PAKRouter& pakRouter, const typename PAKRouter::EntryType& entry, bool force); } } #endif // __DNACOMMON_MAPU_HPP__