#ifndef GAME_RENDER_ESM4NPCANIMATION_H #define GAME_RENDER_ESM4NPCANIMATION_H #include "animation.hpp" namespace ESM4 { struct Npc; } namespace MWRender { class ESM4NpcAnimation : public Animation { public: ESM4NpcAnimation( const MWWorld::Ptr& ptr, osg::ref_ptr parentNode, Resource::ResourceSystem* resourceSystem); private: void insertPart(std::string_view model); // Works for FO3/FONV/TES5 void insertHeadParts(const std::vector& partIds, std::set& usedHeadPartTypes); void updateParts(); void updatePartsTES4(const ESM4::Npc& traits); void updatePartsTES5(const ESM4::Npc& traits); }; } #endif // GAME_RENDER_ESM4NPCANIMATION_H