2015-01-18 18:59:29 +00:00
|
|
|
#ifndef OPENMW_ESSIMPORT_CONVERTACDT_H
|
|
|
|
#define OPENMW_ESSIMPORT_CONVERTACDT_H
|
|
|
|
|
2022-01-22 14:58:41 +00:00
|
|
|
#include <components/esm3/animationstate.hpp>
|
|
|
|
#include <components/esm3/creaturestats.hpp>
|
|
|
|
#include <components/esm3/loadskil.hpp>
|
|
|
|
#include <components/esm3/npcstats.hpp>
|
2015-01-18 18:59:29 +00:00
|
|
|
|
|
|
|
#include "importacdt.hpp"
|
|
|
|
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
|
|
|
// OpenMW uses Health,Magicka,Fatigue, MW uses Health,Fatigue,Magicka
|
|
|
|
int translateDynamicIndex(int mwIndex);
|
|
|
|
|
|
|
|
void convertACDT(const ACDT& acdt, ESM::CreatureStats& cStats);
|
2015-01-30 21:07:21 +00:00
|
|
|
void convertACSC(const ACSC& acsc, ESM::CreatureStats& cStats);
|
2015-01-18 18:59:29 +00:00
|
|
|
|
|
|
|
void convertNpcData(const ActorData& actorData, ESM::NpcStats& npcStats);
|
2016-07-30 17:24:03 +00:00
|
|
|
|
|
|
|
void convertANIS(const ANIS& anis, ESM::AnimationState& state);
|
2015-01-18 18:59:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|