mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 17:56:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
	
		
			701 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
	
		
			701 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
 | |
| {
 | |
|     static unsigned int sRecordId;
 | |
| 
 | |
|     std::string mId;
 | |
| 
 | |
|     void load(ESMReader &esm)
 | |
|     {
 | |
|       esm.skipRecord();
 | |
|     }
 | |
| 
 | |
|     void save(ESMWriter &esm) const
 | |
|     {
 | |
|     }
 | |
| };
 | |
| 
 | |
| /// Changes an item list / container
 | |
| struct LoadCNTC
 | |
| {
 | |
|     std::string mId;
 | |
| 
 | |
|     void load(ESMReader &esm)
 | |
|     {
 | |
|       esm.skipRecord();
 | |
|     }
 | |
| 
 | |
|     void save(ESMWriter &esm) const
 | |
|     {
 | |
|     }
 | |
| };
 | |
| }
 | |
| #endif
 |