1 #ifndef MWRENDER_TERRAINSTORAGE_H
2 #define MWRENDER_TERRAINSTORAGE_H
17 TerrainStorage(
const VFS::Manager* vfs,
const std::string& normalMapPattern =
"",
const std::string& normalHeightMapPatteern =
"",
bool autoUseNormalMaps =
false,
const std::string& specularMapPattern =
"",
bool autoUseSpecularMaps =
false);
20 virtual void getBounds(
float& minX,
float& maxX,
float& minY,
float& maxY);
virtual const ESM::Land * getLand(int cellX, int cellY)
Definition: terrainstorage.cpp:42
Definition: loadltex.hpp:28
Definition: loadland.hpp:20
Connects the ESM Store used in OpenMW with the ESMTerrain storage.
Definition: terrainstorage.hpp:10
Feeds data from ESM terrain records (ESM::Land, ESM::LandTexture) into the terrain component...
Definition: storage.hpp:21
virtual const ESM::LandTexture * getLandTexture(int index, short plugin)
Definition: terrainstorage.cpp:59
TerrainStorage(const VFS::Manager *vfs, const std::string &normalMapPattern="", const std::string &normalHeightMapPatteern="", bool autoUseNormalMaps=false, const std::string &specularMapPattern="", bool autoUseSpecularMaps=false)
Definition: terrainstorage.cpp:12
virtual void getBounds(float &minX, float &maxX, float &minY, float &maxY)
Get bounds of the whole terrain in cell units.
Definition: terrainstorage.cpp:17
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20