mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:49:56 +00:00
23 lines
531 B
C++
23 lines
531 B
C++
|
#ifndef OPENMW_ESSIMPORT_CONVERTACDT_H
|
||
|
#define OPENMW_ESSIMPORT_CONVERTACDT_H
|
||
|
|
||
|
#include <components/esm/creaturestats.hpp>
|
||
|
#include <components/esm/npcstats.hpp>
|
||
|
#include <components/esm/loadskil.hpp>
|
||
|
|
||
|
#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);
|
||
|
|
||
|
void convertNpcData (const ActorData& actorData, ESM::NpcStats& npcStats);
|
||
|
}
|
||
|
|
||
|
#endif
|