mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Remove virtual modifiers from ESM4 record functions
There is no need to have virtual functions.
This commit is contained in:
parent
2c9b6fffe5
commit
4b28d51d5e
154 changed files with 148 additions and 610 deletions
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::ActorCharacter::~ActorCharacter()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::ActorCharacter::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -57,10 +57,8 @@ namespace ESM4
|
|||
|
||||
EnableParent mEsp;
|
||||
|
||||
virtual ~ActorCharacter();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::ActorCreature::~ActorCreature()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::ActorCreature::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -54,10 +54,8 @@ namespace ESM4
|
|||
|
||||
EnableParent mEsp;
|
||||
|
||||
virtual ~ActorCreature();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Activator::~Activator()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Activator::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -57,10 +57,8 @@ namespace ESM4
|
|||
|
||||
std::string mActivationPrompt;
|
||||
|
||||
virtual ~Activator();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -33,10 +33,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Potion::~Potion()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Potion::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -75,10 +75,8 @@ namespace ESM4
|
|||
Data mData;
|
||||
EnchantedItem mItem;
|
||||
|
||||
virtual ~Potion();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::MediaLocationController::~MediaLocationController()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::MediaLocationController::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -75,10 +75,8 @@ namespace ESM4
|
|||
std::uint32_t mDayStart;
|
||||
std::uint32_t mNightStart;
|
||||
|
||||
virtual ~MediaLocationController();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Ammunition::~Ammunition()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Ammunition::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -71,10 +71,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Ammunition();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::AnimObject::~AnimObject()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::AnimObject::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -50,10 +50,8 @@ namespace ESM4
|
|||
FormId mIdleAnim; // only in TES4
|
||||
std::string mUnloadEvent; // only in TES5
|
||||
|
||||
virtual ~AnimObject();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Apparatus::~Apparatus()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Apparatus::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -62,10 +62,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Apparatus();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::ArmorAddon::~ArmorAddon()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::ArmorAddon::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -57,10 +57,8 @@ namespace ESM4
|
|||
|
||||
BodyTemplate mBodyTemplate; // TES5
|
||||
|
||||
virtual ~ArmorAddon();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Armor::~Armor()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Armor::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -183,10 +183,8 @@ namespace ESM4
|
|||
std::vector<FormId> mAddOns; // TES5 ARMA
|
||||
Data mData;
|
||||
|
||||
virtual ~Armor();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::AcousticSpace::~AcousticSpace()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::AcousticSpace::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -53,10 +53,8 @@ namespace ESM4
|
|||
|
||||
std::uint32_t mIsInterior; // if true only use mAmbientLoopSounds[0]
|
||||
|
||||
virtual ~AcousticSpace();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Book::~Book()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Book::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -101,10 +101,8 @@ namespace ESM4
|
|||
FormId mPickUpSound;
|
||||
FormId mDropSound;
|
||||
|
||||
virtual ~Book();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -43,10 +43,6 @@ void ESM4::BodyPartData::BodyPart::clear()
|
|||
mGoreEffectsTarget.clear();
|
||||
}
|
||||
|
||||
ESM4::BodyPartData::~BodyPartData()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::BodyPartData::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -115,10 +115,8 @@ namespace ESM4
|
|||
|
||||
std::vector<BodyPart> mBodyParts;
|
||||
|
||||
virtual ~BodyPartData();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Cell::~Cell()
|
||||
{
|
||||
}
|
||||
|
||||
// TODO: Try loading only EDID and XCLC (along with mFormId, mFlags and mParent)
|
||||
//
|
||||
// But, for external cells we may be scanning the whole record since we don't know if there is
|
||||
|
|
|
@ -91,10 +91,8 @@ namespace ESM4
|
|||
|
||||
CellGroup *mCellGroup;
|
||||
|
||||
virtual ~Cell();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
void blank();
|
||||
};
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Class::~Class()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Class::load(ESM4::Reader& reader)
|
||||
{
|
||||
//mFormId = reader.adjustFormId(reader.hdr().record.id); // FIXME: use master adjusted?
|
||||
|
|
|
@ -53,8 +53,6 @@ namespace ESM4
|
|||
std::string mIcon;
|
||||
Data mData;
|
||||
|
||||
~Class();
|
||||
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& reader) const;
|
||||
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Colour::~Colour()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Colour::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -57,10 +57,8 @@ namespace ESM4
|
|||
ColourRGB mColour;
|
||||
std::uint32_t mPlayable;
|
||||
|
||||
virtual ~Colour();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Clothing::~Clothing()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Clothing::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -70,10 +70,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Clothing();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Container::~Container()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Container::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -58,10 +58,8 @@ namespace ESM4
|
|||
|
||||
std::vector<InventoryItem> mInventory;
|
||||
|
||||
virtual ~Container();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -40,10 +40,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Creature::~Creature()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Creature::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -138,10 +138,8 @@ namespace ESM4
|
|||
FormId mBaseTemplate; // FO3/FONV
|
||||
std::vector<FormId> mBodyParts; // FO3/FONV
|
||||
|
||||
virtual ~Creature();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -33,10 +33,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Dialogue::~Dialogue()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Dialogue::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -57,10 +57,8 @@ namespace ESM4
|
|||
|
||||
float mPriority;
|
||||
|
||||
virtual ~Dialogue();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -37,10 +37,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::DefaultObj::~DefaultObj()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::DefaultObj::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -87,10 +87,8 @@ namespace ESM4
|
|||
|
||||
Defaults mData;
|
||||
|
||||
virtual ~DefaultObj();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Door::~Door()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Door::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -63,10 +63,8 @@ namespace ESM4
|
|||
FormId mLoopSound;
|
||||
FormId mRandomTeleport;
|
||||
|
||||
virtual ~Door();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Eyes::~Eyes()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Eyes::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -55,10 +55,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Eyes();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Flora::~Flora()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Flora::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -65,10 +65,8 @@ namespace ESM4
|
|||
FormId mSound;
|
||||
Production mPercentHarvest;
|
||||
|
||||
virtual ~Flora();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::FormIdList::~FormIdList()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::FormIdList::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -47,10 +47,8 @@ namespace ESM4
|
|||
|
||||
std::vector<FormId> mObjects;
|
||||
|
||||
virtual ~FormIdList();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Furniture::~Furniture()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Furniture::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -51,10 +51,8 @@ namespace ESM4
|
|||
FormId mScriptId;
|
||||
std::uint32_t mActiveMarkerFlags;
|
||||
|
||||
virtual ~Furniture();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::GlobalVariable::~GlobalVariable()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::GlobalVariable::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -47,10 +47,8 @@ namespace ESM4
|
|||
std::uint8_t mType;
|
||||
float mValue;
|
||||
|
||||
virtual ~GlobalVariable();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Grass::~Grass()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Grass::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -85,10 +85,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Grass();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Hair::~Hair()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Hair::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -58,10 +58,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Hair();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::HeadPart::~HeadPart()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::HeadPart::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -53,10 +53,8 @@ namespace ESM4
|
|||
std::array<std::string, 3> mTriFile;
|
||||
FormId mBaseTexture;
|
||||
|
||||
virtual ~HeadPart();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::IdleAnimation::~IdleAnimation()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::IdleAnimation::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -49,10 +49,8 @@ namespace ESM4
|
|||
FormId mParent; // IDLE or AACT
|
||||
FormId mPrevious;
|
||||
|
||||
virtual ~IdleAnimation();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::IdleMarker::~IdleMarker()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::IdleMarker::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -50,10 +50,8 @@ namespace ESM4
|
|||
float mIdleTimer;
|
||||
std::vector<FormId> mIdleAnim;
|
||||
|
||||
virtual ~IdleMarker();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -34,10 +34,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::ItemMod::~ItemMod()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::ItemMod::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -46,10 +46,8 @@ namespace ESM4
|
|||
|
||||
std::string mEditorId;
|
||||
|
||||
virtual ~ItemMod();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -33,10 +33,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::DialogInfo::~DialogInfo()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::DialogInfo::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -77,10 +77,8 @@ namespace ESM4
|
|||
|
||||
ScriptDefinition mScript; // FIXME: ignoring the second one after the NEXT sub-record
|
||||
|
||||
virtual ~DialogInfo();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Ingredient::~Ingredient()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Ingredient::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -70,10 +70,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Ingredient();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Key::~Key()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Key::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -64,10 +64,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Key();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Land::~Land()
|
||||
{
|
||||
}
|
||||
|
||||
// overlap north
|
||||
//
|
||||
// 32
|
||||
|
|
|
@ -123,8 +123,6 @@ namespace ESM4
|
|||
Texture mTextures[4]; // 0 = bottom left, 1 = bottom right, 2 = top left, 3 = top right
|
||||
std::vector<FormId> mIds; // land texture (LTEX) formids
|
||||
|
||||
virtual ~Land();
|
||||
|
||||
virtual void load(Reader& reader);
|
||||
//virtual void save(Writer& writer) const;
|
||||
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::LightingTemplate::~LightingTemplate()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::LightingTemplate::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -50,10 +50,8 @@ namespace ESM4
|
|||
|
||||
Lighting mLighting;
|
||||
|
||||
virtual ~LightingTemplate();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Light::~Light()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Light::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -84,10 +84,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~Light();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -37,10 +37,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::LandTexture::~LandTexture()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::LandTexture::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -62,10 +62,8 @@ namespace ESM4
|
|||
|
||||
// ----------------------
|
||||
|
||||
virtual ~LandTexture();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::LevelledCreature::~LevelledCreature()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::LevelledCreature::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -58,10 +58,8 @@ namespace ESM4
|
|||
bool calcEachItemInCount() const;
|
||||
std::int8_t chanceNone() const;
|
||||
|
||||
virtual ~LevelledCreature();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::LevelledItem::~LevelledItem()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::LevelledItem::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -54,15 +54,13 @@ namespace ESM4
|
|||
|
||||
std::vector<LVLO> mLvlObject;
|
||||
|
||||
virtual ~LevelledItem();
|
||||
|
||||
bool calcAllLvlLessThanPlayer() const;
|
||||
bool calcEachItemInCount() const;
|
||||
bool useAll() const;
|
||||
std::int8_t chanceNone() const;
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::LevelledNpc::~LevelledNpc()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::LevelledNpc::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -52,14 +52,12 @@ namespace ESM4
|
|||
std::uint8_t mListCount;
|
||||
std::vector<LVLO> mLvlObject;
|
||||
|
||||
virtual ~LevelledNpc();
|
||||
|
||||
inline bool calcAllLvlLessThanPlayer() const { return (mLvlActorFlags & 0x01) != 0; }
|
||||
inline bool calcEachItemInCount() const { return (mLvlActorFlags & 0x02) != 0; }
|
||||
inline std::int8_t chanceNone() const { return mChanceNone; }
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Material::~Material()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Material::load(ESM4::Reader& reader)
|
||||
{
|
||||
//mFormId = reader.adjustFormId(reader.hdr().record.id); // FIXME: use master adjusted?
|
||||
|
|
|
@ -45,10 +45,8 @@ namespace ESM4
|
|||
std::string mEditorId;
|
||||
std::string mModel;
|
||||
|
||||
virtual ~Material();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::MiscItem::~MiscItem()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::MiscItem::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -64,10 +64,8 @@ namespace ESM4
|
|||
|
||||
Data mData;
|
||||
|
||||
virtual ~MiscItem();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::MediaSet::~MediaSet()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::MediaSet::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -86,10 +86,8 @@ namespace ESM4
|
|||
FormId mSoundIntro; // HNAM
|
||||
FormId mSoundOutro; // INAM
|
||||
|
||||
virtual ~MediaSet();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::MovableStatic::~MovableStatic()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::MovableStatic::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -47,10 +47,8 @@ namespace ESM4
|
|||
std::int8_t mData;
|
||||
FormId mLoopingSound;
|
||||
|
||||
virtual ~MovableStatic();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Music::~Music()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Music::load(ESM4::Reader& reader)
|
||||
{
|
||||
mFormId = reader.hdr().record.id;
|
||||
|
|
|
@ -47,10 +47,8 @@ namespace ESM4
|
|||
std::string mEditorId;
|
||||
std::string mMusicFile;
|
||||
|
||||
virtual ~Music();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::Navigation::~Navigation()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::Navigation::IslandInfo::load(ESM4::Reader& reader)
|
||||
{
|
||||
reader.get(minX);
|
||||
|
|
|
@ -104,10 +104,8 @@ namespace ESM4
|
|||
|
||||
std::map<FormId, std::uint32_t> mPathIndexMap;
|
||||
|
||||
virtual ~Navigation();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
//void blank();
|
||||
};
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include "reader.hpp"
|
||||
//#include "writer.hpp"
|
||||
|
||||
ESM4::NavMesh::~NavMesh()
|
||||
{
|
||||
}
|
||||
|
||||
void ESM4::NavMesh::NVNMstruct::load(ESM4::Reader& reader)
|
||||
{
|
||||
//std::cout << "start: divisor " << std::dec << divisor << ", segments " << triSegments.size() << //std::endl;
|
||||
|
|
|
@ -98,10 +98,8 @@ namespace ESM4
|
|||
FormId mFormId; // from the header
|
||||
std::uint32_t mFlags; // from the header, see enum type RecordFlag for details
|
||||
|
||||
virtual ~NavMesh();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
//virtual void save(ESM4::Writer& writer) const;
|
||||
void load(ESM4::Reader& reader);
|
||||
//void save(ESM4::Writer& writer) const;
|
||||
|
||||
void blank();
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue