mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			408 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			408 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "loadltex.hpp"
 | 
						|
 | 
						|
#include "esmreader.hpp"
 | 
						|
#include "esmwriter.hpp"
 | 
						|
#include "defs.hpp"
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    unsigned int LandTexture::sRecordId = REC_LTEX;
 | 
						|
 | 
						|
void LandTexture::load(ESMReader &esm)
 | 
						|
{
 | 
						|
    esm.getHNT(mIndex, "INTV");
 | 
						|
    mTexture = esm.getHNString("DATA");
 | 
						|
}
 | 
						|
void LandTexture::save(ESMWriter &esm) const
 | 
						|
{
 | 
						|
    esm.writeHNT("INTV", mIndex);
 | 
						|
    esm.writeHNCString("DATA", mTexture);
 | 
						|
}
 | 
						|
 | 
						|
}
 |