1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 22:45:36 +00:00
openmw/components/esm/loadltex.cpp
2012-09-17 11:37:50 +04:00

20 lines
332 B
C++

#include "loadltex.hpp"
#include "esm_reader.hpp"
#include "esm_writer.hpp"
namespace ESM
{
void LandTexture::load(ESMReader &esm)
{
esm.getHNT(mIndex, "INTV");
mTexture = esm.getHNString("DATA");
}
void LandTexture::save(ESMWriter &esm)
{
esm.writeHNT("INTV", mIndex);
esm.writeHNCString("DATA", mTexture);
}
}