mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_ESM_CREC_H
 | 
						|
#define OPENMW_ESM_CREC_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
 | 
						|
// TODO create implementation files and remove this one
 | 
						|
#include "esmreader.hpp"
 | 
						|
 | 
						|
namespace ESM {
 | 
						|
 | 
						|
class ESMReader;
 | 
						|
class ESMWriter;
 | 
						|
 | 
						|
/* These two are only used in save games. They are not decoded yet.
 | 
						|
 */
 | 
						|
 | 
						|
/// Changes a creature
 | 
						|
struct LoadCREC
 | 
						|
{
 | 
						|
    std::string mId;
 | 
						|
 | 
						|
    void load(ESMReader &esm)
 | 
						|
    {
 | 
						|
      esm.skipRecord();
 | 
						|
    }
 | 
						|
 | 
						|
    void save(ESMWriter &esm)
 | 
						|
    {
 | 
						|
    }
 | 
						|
};
 | 
						|
 | 
						|
/// Changes an item list / container
 | 
						|
struct LoadCNTC
 | 
						|
{
 | 
						|
    std::string mId;
 | 
						|
 | 
						|
    void load(ESMReader &esm)
 | 
						|
    {
 | 
						|
      esm.skipRecord();
 | 
						|
    }
 | 
						|
 | 
						|
    void save(ESMWriter &esm)
 | 
						|
    {
 | 
						|
    }
 | 
						|
};
 | 
						|
}
 | 
						|
#endif
 |