|
|
@ -15,7 +15,6 @@ namespace ESM
|
|
|
|
: mFlags(0)
|
|
|
|
: mFlags(0)
|
|
|
|
, mX(0)
|
|
|
|
, mX(0)
|
|
|
|
, mY(0)
|
|
|
|
, mY(0)
|
|
|
|
, mPlugin(0)
|
|
|
|
|
|
|
|
, mDataTypes(0)
|
|
|
|
, mDataTypes(0)
|
|
|
|
, mLandData(nullptr)
|
|
|
|
, mLandData(nullptr)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -40,8 +39,6 @@ namespace ESM
|
|
|
|
{
|
|
|
|
{
|
|
|
|
isDeleted = false;
|
|
|
|
isDeleted = false;
|
|
|
|
|
|
|
|
|
|
|
|
mPlugin = esm.getIndex();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool hasLocation = false;
|
|
|
|
bool hasLocation = false;
|
|
|
|
bool isLoaded = false;
|
|
|
|
bool isLoaded = false;
|
|
|
|
while (!isLoaded && esm.hasMoreSubs())
|
|
|
|
while (!isLoaded && esm.hasMoreSubs())
|
|
|
@ -192,7 +189,7 @@ namespace ESM
|
|
|
|
|
|
|
|
|
|
|
|
void Land::blank()
|
|
|
|
void Land::blank()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mPlugin = 0;
|
|
|
|
setPlugin(0);
|
|
|
|
|
|
|
|
|
|
|
|
std::fill(std::begin(mWnam), std::end(mWnam), 0);
|
|
|
|
std::fill(std::begin(mWnam), std::end(mWnam), 0);
|
|
|
|
|
|
|
|
|
|
|
@ -326,7 +323,7 @@ namespace ESM
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Land::Land (const Land& land)
|
|
|
|
Land::Land (const Land& land)
|
|
|
|
: mFlags (land.mFlags), mX (land.mX), mY (land.mY), mPlugin (land.mPlugin),
|
|
|
|
: mFlags (land.mFlags), mX (land.mX), mY (land.mY),
|
|
|
|
mContext (land.mContext), mDataTypes (land.mDataTypes),
|
|
|
|
mContext (land.mContext), mDataTypes (land.mDataTypes),
|
|
|
|
mLandData (land.mLandData ? new LandData (*land.mLandData) : nullptr)
|
|
|
|
mLandData (land.mLandData ? new LandData (*land.mLandData) : nullptr)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -345,7 +342,6 @@ namespace ESM
|
|
|
|
std::swap (mFlags, land.mFlags);
|
|
|
|
std::swap (mFlags, land.mFlags);
|
|
|
|
std::swap (mX, land.mX);
|
|
|
|
std::swap (mX, land.mX);
|
|
|
|
std::swap (mY, land.mY);
|
|
|
|
std::swap (mY, land.mY);
|
|
|
|
std::swap (mPlugin, land.mPlugin);
|
|
|
|
|
|
|
|
std::swap (mContext, land.mContext);
|
|
|
|
std::swap (mContext, land.mContext);
|
|
|
|
std::swap (mDataTypes, land.mDataTypes);
|
|
|
|
std::swap (mDataTypes, land.mDataTypes);
|
|
|
|
std::swap (mLandData, land.mLandData);
|
|
|
|
std::swap (mLandData, land.mLandData);
|
|
|
|