mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 13:26:38 +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
		
	
	
	
		
			475 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			475 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef _ESM_LAND_H
 | |
| #define _ESM_LAND_H
 | |
| 
 | |
| #include "esm_reader.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
| /*
 | |
|  * Landscape data.
 | |
|  */
 | |
| 
 | |
| struct Land
 | |
| {
 | |
|     int flags; // Only first four bits seem to be used, don't know what
 | |
|     // they mean.
 | |
|     int X, Y; // Map coordinates.
 | |
| 
 | |
|     // File context. This allows the ESM reader to be 'reset' to this
 | |
|     // location later when we are ready to load the full data set.
 | |
|     ESM_Context context;
 | |
| 
 | |
|     bool hasData;
 | |
| 
 | |
|     void load(ESMReader &esm);
 | |
| };
 | |
| }
 | |
| #endif
 |