mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:09:42 +00:00
Remove unused ESM::Land functions
This commit is contained in:
parent
16628a766f
commit
f15ccec0d9
2 changed files with 0 additions and 22 deletions
|
@ -390,20 +390,4 @@ namespace ESM
|
|||
mDataTypes |= flags;
|
||||
mLandData->mDataLoaded |= flags;
|
||||
}
|
||||
|
||||
void Land::remove(int flags)
|
||||
{
|
||||
mDataTypes &= ~flags;
|
||||
|
||||
if (mLandData)
|
||||
{
|
||||
mLandData->mDataLoaded &= ~flags;
|
||||
|
||||
if (!mLandData->mDataLoaded)
|
||||
{
|
||||
delete mLandData;
|
||||
mLandData = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -148,9 +148,6 @@ namespace ESM
|
|||
/// Check if given data type is loaded
|
||||
bool isDataLoaded(int flags) const;
|
||||
|
||||
/// Sets the flags and creates a LandData if needed
|
||||
void setDataLoaded(int flags);
|
||||
|
||||
Land(const Land& land);
|
||||
|
||||
Land& operator=(const Land& land);
|
||||
|
@ -173,9 +170,6 @@ namespace ESM
|
|||
/// \note Added data fields will be uninitialised
|
||||
void add(int flags);
|
||||
|
||||
/// \attention Must not be called on objects that aren't fully loaded.
|
||||
void remove(int flags);
|
||||
|
||||
private:
|
||||
/// Loads data and marks it as loaded
|
||||
/// \return true if data is actually loaded from file, false otherwise
|
||||
|
|
Loading…
Reference in a new issue