mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-30 05:56:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			300 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			300 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef _ESM_ACTI_H
 | |
| #define _ESM_ACTI_H
 | |
| 
 | |
| #include "esm_reader.hpp"
 | |
| 
 | |
| namespace ESM {
 | |
| 
 | |
| struct Activator
 | |
| {
 | |
|   std::string name, script, model;
 | |
| 
 | |
|   void load(ESMReader &esm)
 | |
|   {
 | |
|     model = esm.getHNString("MODL");
 | |
|     name = esm.getHNString("FNAM");
 | |
|     script = esm.getHNOString("SCRI");
 | |
|   }
 | |
| };
 | |
| }
 | |
| #endif
 |