mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 00:53:52 +00:00
27 lines
415 B
C++
27 lines
415 B
C++
#include "land.hpp"
|
|
|
|
#include <sstream>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
|
|
Land::Land()
|
|
{
|
|
mLand.reset(new ESM::Land());
|
|
}
|
|
|
|
void Land::load(ESM::ESMReader &esm, bool &isDeleted)
|
|
{
|
|
mLand->load(esm, isDeleted);
|
|
|
|
std::ostringstream stream;
|
|
stream << "#" << mLand->mX << " " << mLand->mY;
|
|
mId = stream.str();
|
|
}
|
|
|
|
void Land::blank()
|
|
{
|
|
/// \todo
|
|
}
|
|
|
|
}
|