#pragma once #include #include "DNACommon.hpp" #include "CMDL.hpp" #include "RigInverter.hpp" namespace DataSpec::DNAANCS { using Actor = hecl::blender::Actor; using Armature = hecl::blender::Armature; using Action = hecl::blender::Action; template struct CharacterResInfo { std::string name; IDTYPE cmdl; IDTYPE cskr; IDTYPE cinf; std::vector>> overlays; }; template struct AnimationResInfo { std::string name; IDTYPE animId; IDTYPE evntId; bool additive; }; template bool ReadANCSToBlender(hecl::blender::Connection& conn, const ANCSDNA& ancs, const hecl::ProjectPath& outPath, PAKRouter& pakRouter, const typename PAKRouter::EntryType& entry, const SpecBase& dataspec, std::function fileChanged, bool force=false); }