1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-12 00:40:23 +00:00
OpenMW/apps/openmw/mwrender/esm4npcanimation.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
686 B
C++
Raw Normal View History

2023-08-02 00:55:16 +02:00
#ifndef GAME_RENDER_ESM4NPCANIMATION_H
#define GAME_RENDER_ESM4NPCANIMATION_H
#include "animation.hpp"
namespace MWRender
{
class ESM4NpcAnimation : public Animation
{
public:
ESM4NpcAnimation(
const MWWorld::Ptr& ptr, osg::ref_ptr<osg::Group> parentNode, Resource::ResourceSystem* resourceSystem);
private:
2023-10-04 22:48:17 +02:00
void insertPart(std::string_view model);
2023-08-02 00:55:16 +02:00
2023-10-06 22:08:00 +02:00
// Works for FO3/FONV/TES5
void insertHeadParts(const std::vector<ESM::FormId>& partIds, std::set<uint32_t>& usedHeadPartTypes);
2023-10-04 22:48:17 +02:00
void updateParts();
void updatePartsTES4();
void updatePartsTES5();
2023-08-02 00:55:16 +02:00
};
}
#endif // GAME_RENDER_ESM4NPCANIMATION_H