1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00
OpenMW/apps/essimporter/convertacdt.hpp

26 lines
714 B
C++
Raw Normal View History

#ifndef OPENMW_ESSIMPORT_CONVERTACDT_H
#define OPENMW_ESSIMPORT_CONVERTACDT_H
2022-09-22 18:26:05 +00:00
#include <components/esm3/animationstate.hpp>
#include <components/esm3/creaturestats.hpp>
#include <components/esm3/loadskil.hpp>
2022-09-22 18:26:05 +00:00
#include <components/esm3/npcstats.hpp>
#include "importacdt.hpp"
namespace ESSImport
{
// OpenMW uses Health,Magicka,Fatigue, MW uses Health,Fatigue,Magicka
int translateDynamicIndex(int mwIndex);
2022-09-22 18:26:05 +00:00
void convertACDT(const ACDT& acdt, ESM::CreatureStats& cStats);
void convertACSC(const ACSC& acsc, ESM::CreatureStats& cStats);
2022-09-22 18:26:05 +00:00
void convertNpcData(const ActorData& actorData, ESM::NpcStats& npcStats);
2022-09-22 18:26:05 +00:00
void convertANIS(const ANIS& anis, ESM::AnimationState& state);
}
#endif