1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 02:23:54 +00:00
openmw/apps/opencs/model/tools/gmstcheck.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
860 B
C++
Raw Normal View History

2016-01-18 02:55:03 +00:00
#ifndef CSM_TOOLS_GMSTCHECK_H
#define CSM_TOOLS_GMSTCHECK_H
#include <components/esm3/loadgmst.hpp>
2016-01-18 02:55:03 +00:00
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
namespace CSMTools
{
/// \brief VerifyStage: make sure that GMSTs are alright
class GmstCheckStage : public CSMDoc::Stage
2016-01-18 02:55:03 +00:00
{
public:
GmstCheckStage(const CSMWorld::IdCollection<ESM::GameSetting>& gameSettings);
2016-01-18 02:55:03 +00:00
int setup() override;
2016-01-18 02:55:03 +00:00
///< \return number of steps
void perform(int stage, CSMDoc::Messages& messages) override;
2016-01-18 02:55:03 +00:00
///< Messages resulting from this stage will be appended to \a messages
private:
const CSMWorld::IdCollection<ESM::GameSetting>& mGameSettings;
bool mIgnoreBaseRecords;
2016-01-18 02:55:03 +00:00
std::string varTypeToString(ESM::VarType);
2016-01-18 02:55:03 +00:00
};
}
#endif