mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 01:56:43 +00:00 
			
		
		
		
	esm_reader.hpp loadacti.hpp loadalch.hpp loadappa.hpp loadarmo.hpp loadbody.hpp loadbook.hpp loadbsgn.hpp loadcell.hpp loadclas.hpp loadclot.hpp loadland.hpp Updated code style in defs.hpp
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			376 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			376 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef _ESM_BOOK_H
 | |
| #define _ESM_BOOK_H
 | |
| 
 | |
| #include "esm_reader.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
| 
 | |
| /*
 | |
|  * Books, magic scrolls, notes and so on
 | |
|  */
 | |
| 
 | |
| struct Book
 | |
| {
 | |
|     struct BKDTstruct
 | |
|     {
 | |
|         float weight;
 | |
|         int value, isScroll, skillID, enchant;
 | |
|     };
 | |
| 
 | |
|     BKDTstruct data;
 | |
|     std::string name, model, icon, script, enchant, text;
 | |
| 
 | |
|     void load(ESMReader &esm);
 | |
| };
 | |
| }
 | |
| #endif
 |