2014-10-08 15:17:31 +00:00
|
|
|
#ifndef CSM_WORLD_LANDTEXTURE_H
|
|
|
|
#define CSM_WORLD_LANDTEXTURE_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <components/esm/loadltex.hpp>
|
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
/// \brief Wrapper for LandTexture record. Encodes mIndex and the plugin index (obtained from ESMReader)
|
|
|
|
/// in the ID.
|
|
|
|
///
|
|
|
|
/// \attention The mId field of the ESM::LandTexture struct is not used.
|
|
|
|
struct LandTexture : public ESM::LandTexture
|
|
|
|
{
|
|
|
|
std::string mId;
|
|
|
|
|
2015-07-21 17:25:43 +00:00
|
|
|
void load (ESM::ESMReader &esm, bool &isDeleted);
|
2014-10-08 15:17:31 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|