mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			715 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			715 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 <components/esm/animationstate.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 convertACSC (const ACSC& acsc, ESM::CreatureStats& cStats);
 | |
| 
 | |
|     void convertNpcData (const ActorData& actorData, ESM::NpcStats& npcStats);
 | |
| 
 | |
|     void convertANIS (const ANIS& anis, ESM::AnimationState& state);
 | |
| }
 | |
| 
 | |
| #endif
 |