#ifndef __URDE_CSKINRULES_HPP__ #define __URDE_CSKINRULES_HPP__ #include "RetroTypes.hpp" #include "CSkinBank.hpp" #include "CFactoryMgr.hpp" namespace urde { class CPoseAsTransforms; class CSkinRules { std::vector x0_skinBanks; public: CSkinRules(CInputStream& in); void BuildAccumulatedTransforms(); void GetBankTransforms(std::vector& out, const CPoseAsTransforms& pose, int skinBankIdx) const { x0_skinBanks[skinBankIdx].GetBankTransforms(out, pose); } }; CFactoryFnReturn FSkinRulesFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& params, CObjectReference* selfRef); } #endif // __URDE_CSKINRULES_HPP__