mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 07:56:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			606 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			606 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef MWRENDER_TERRAINSTORAGE_H
 | 
						|
#define MWRENDER_TERRAINSTORAGE_H
 | 
						|
 | 
						|
#include <components/esmterrain/storage.hpp>
 | 
						|
 | 
						|
namespace MWRender
 | 
						|
{
 | 
						|
 | 
						|
    /// @brief Connects the ESM Store used in OpenMW with the ESMTerrain storage.
 | 
						|
    class TerrainStorage : public ESMTerrain::Storage
 | 
						|
    {
 | 
						|
    private:
 | 
						|
        virtual ESM::Land* getLand (int cellX, int cellY);
 | 
						|
        virtual const ESM::LandTexture* getLandTexture(int index, short plugin);
 | 
						|
    public:
 | 
						|
 | 
						|
        /// Get bounds of the whole terrain in cell units
 | 
						|
        virtual void getBounds(float& minX, float& maxX, float& minY, float& maxY);
 | 
						|
    };
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
#endif
 |