#pragma once #include #include #include #include "DataSpec/DNACommon/DNACommon.hpp" #include "DataSpec/DNACommon/ParticleCommon.hpp" #include namespace DataSpec { class PAKEntryReadStream; } namespace hecl { class ProjectPath; } namespace DataSpec::DNAParticle { template struct CRSM : BigDNA { AT_DECL_EXPLICIT_DNA_YAML AT_SUBDECL_DNA std::unordered_map> x0_generators; std::unordered_map x10_sfx; std::unordered_map> x20_decals; float x30_RNGE; float x34_FOFF; CRSM(); void gatherDependencies(std::vector&) const; }; template bool ExtractCRSM(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath); template bool WriteCRSM(const CRSM& crsm, const hecl::ProjectPath& outPath); } // namespace DataSpec::DNAParticle