1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:19:56 +00:00
openmw-tes3mp/components/esm/loadltex.cpp

20 lines
330 B
C++

#include "loadltex.hpp"
#include "esmreader.hpp"
#include "esmwriter.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);
}
}