mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
21 lines
330 B
C++
21 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);
|
||
|
}
|
||
|
|
||
|
}
|