0 initialize mRecordFlags

fix/shrink_builds
Evil Eye 3 years ago
parent e46fb48a2f
commit bb495bffeb

@ -56,6 +56,7 @@ void Filter::save (ESMWriter& esm, bool isDeleted) const
void Filter::blank()
{
mRecordFlags = 0;
mFilter.clear();
mDescription.clear();
}

@ -62,6 +62,7 @@ namespace ESM
void Activator::blank()
{
mRecordFlags = 0;
mName.clear();
mScript.clear();
mModel.clear();

@ -80,6 +80,7 @@ namespace ESM
void Potion::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mAutoCalc = 0;

@ -75,6 +75,7 @@ namespace ESM
void Apparatus::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mQuality = 0;
mData.mWeight = 0;

@ -115,6 +115,7 @@ namespace ESM
void Armor::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mWeight = 0;
mData.mValue = 0;

@ -67,6 +67,7 @@ namespace ESM
void BodyPart::blank()
{
mRecordFlags = 0;
mData.mPart = 0;
mData.mVampire = 0;
mData.mFlags = 0;

@ -82,6 +82,7 @@ namespace ESM
void Book::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mIsScroll = 0;

@ -69,6 +69,7 @@ namespace ESM
void BirthSign::blank()
{
mRecordFlags = 0;
mName.clear();
mDescription.clear();
mTexture.clear();

@ -98,6 +98,7 @@ namespace ESM
void Class::blank()
{
mRecordFlags = 0;
mName.clear();
mDescription.clear();

@ -88,6 +88,7 @@ namespace ESM
void Clothing::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mWeight = 0;
mData.mValue = 0;

@ -112,6 +112,7 @@ namespace ESM
void Container::blank()
{
mRecordFlags = 0;
mName.clear();
mModel.clear();
mScript.clear();

@ -138,6 +138,7 @@ namespace ESM
void Creature::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mLevel = 0;
mData.mStrength = mData.mIntelligence = mData.mWillpower = mData.mAgility =

@ -71,6 +71,7 @@ namespace ESM
void Door::blank()
{
mRecordFlags = 0;
mName.clear();
mModel.clear();
mScript.clear();

@ -64,6 +64,7 @@ namespace ESM
void Enchantment::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mCost = 0;
mData.mCharge = 0;

@ -116,6 +116,7 @@ namespace ESM
void Faction::blank()
{
mRecordFlags = 0;
mName.clear();
mData.mAttribute[0] = mData.mAttribute[1] = 0;
mData.mIsHidden = 0;

@ -42,6 +42,7 @@ namespace ESM
void Global::blank()
{
mRecordFlags = 0;
mValue.setType (VT_None);
}

@ -25,6 +25,7 @@ namespace ESM
void GameSetting::blank()
{
mRecordFlags = 0;
mValue.setType (VT_None);
}

@ -98,6 +98,7 @@ namespace ESM
void Ingredient::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
for (int i=0; i<4; ++i)

@ -98,6 +98,7 @@ namespace ESM
void LevelledListBase::blank()
{
mRecordFlags = 0;
mFlags = 0;
mChanceNone = 0;
mList.clear();

@ -78,6 +78,7 @@ namespace ESM
void Light::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mTime = 0;

@ -76,6 +76,7 @@ namespace ESM
void Lockpick::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mQuality = 0;

@ -578,6 +578,7 @@ MagicEffect::MagnitudeDisplayType MagicEffect::getMagnitudeDisplayType() const {
void MagicEffect::blank()
{
mRecordFlags = 0;
mData.mSchool = 0;
mData.mBaseCost = 0;
mData.mFlags = 0;

@ -75,6 +75,7 @@ namespace ESM
void Miscellaneous::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mIsKey = 0;

@ -189,6 +189,7 @@ namespace ESM
void NPC::blank()
{
mRecordFlags = 0;
mNpdtType = NPC_DEFAULT;
blankNpdt();
mBloodType = 0;

@ -76,6 +76,7 @@ namespace ESM
void Probe::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mQuality = 0;

@ -81,6 +81,7 @@ namespace ESM
void Race::blank()
{
mRecordFlags = 0;
mName.clear();
mDescription.clear();

@ -106,6 +106,7 @@ namespace ESM
void Region::blank()
{
mRecordFlags = 0;
mData.mClear = mData.mCloudy = mData.mFoggy = mData.mOvercast = mData.mRain =
mData.mThunder = mData.mAsh = mData.mBlight = mData.mA = mData.mB = 0;

@ -76,6 +76,7 @@ namespace ESM
void Repair::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mQuality = 0;

@ -181,6 +181,7 @@ namespace ESM
void Script::blank()
{
mRecordFlags = 0;
mData.mNumShorts = mData.mNumLongs = mData.mNumFloats = 0;
mData.mScriptDataSize = 0;
mData.mStringTableSize = 0;

@ -173,6 +173,7 @@ namespace ESM
void Skill::blank()
{
mRecordFlags = 0;
mData.mAttribute = 0;
mData.mSpecialization = 0;
mData.mUseValue[0] = mData.mUseValue[1] = mData.mUseValue[2] = mData.mUseValue[3] = 1.0;

@ -67,6 +67,7 @@ namespace ESM
void SoundGenerator::blank()
{
mRecordFlags = 0;
mType = LeftFoot;
mCreature.clear();
mSound.clear();

@ -63,6 +63,7 @@ namespace ESM
void Sound::blank()
{
mRecordFlags = 0;
mSound.clear();
mData.mVolume = 128;

@ -71,6 +71,7 @@ namespace ESM
void Spell::blank()
{
mRecordFlags = 0;
mData.mType = 0;
mData.mCost = 0;
mData.mFlags = 0;

@ -58,6 +58,7 @@ namespace ESM
void StartScript::blank()
{
mRecordFlags = 0;
mData.clear();
}
}

@ -56,6 +56,7 @@ namespace ESM
void Static::blank()
{
mRecordFlags = 0;
mModel.clear();
}
}

@ -77,6 +77,7 @@ namespace ESM
void Weapon::blank()
{
mRecordFlags = 0;
mData.mWeight = 0;
mData.mValue = 0;
mData.mType = 0;

Loading…
Cancel
Save