mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef _ESM_BSGN_H
 | |
| #define _ESM_BSGN_H
 | |
| 
 | |
| #include "defs.hpp"
 | |
| #include "esm_reader.hpp"
 | |
| 
 | |
| namespace ESM {
 | |
| 
 | |
| struct BirthSign
 | |
| {
 | |
|   std::string name, description, texture;
 | |
| 
 | |
|   // List of powers and abilities that come with this birth sign.
 | |
|   SpellList powers;
 | |
| 
 | |
|   void load(ESMReader &esm)
 | |
|   {
 | |
|     name = esm.getHNString("FNAM");
 | |
|     texture = esm.getHNOString("TNAM");
 | |
|     description = esm.getHNOString("DESC");
 | |
| 
 | |
|     powers.load(esm);
 | |
|   };
 | |
| };
 | |
| }
 | |
| #endif
 |