1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/opencs/model/tools/startscriptcheck.hpp

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

39 lines
821 B
C++
Raw Normal View History

2015-03-05 11:24:01 +01:00
#ifndef CSM_TOOLS_STARTSCRIPTCHECK_H
#define CSM_TOOLS_STARTSCRIPTCHECK_H
#include <components/esm3/loadscpt.hpp>
2015-03-05 11:24:01 +01:00
#include "../doc/stage.hpp"
#include "../world/idcollection.hpp"
2022-10-19 19:02:00 +02:00
namespace CSMDoc
{
class Messages;
}
namespace ESM
{
class Script;
struct StartScript;
}
2015-03-05 11:24:01 +01:00
namespace CSMTools
{
class StartScriptCheckStage : public CSMDoc::Stage
{
const CSMWorld::IdCollection<ESM::StartScript>& mStartScripts;
const CSMWorld::IdCollection<ESM::Script>& mScripts;
bool mIgnoreBaseRecords;
2015-03-05 11:24:01 +01:00
2022-09-22 21:26:05 +03:00
public:
2015-03-05 11:24:01 +01:00
StartScriptCheckStage(const CSMWorld::IdCollection<ESM::StartScript>& startScripts,
const CSMWorld::IdCollection<ESM::Script>& scripts);
void perform(int stage, CSMDoc::Messages& messages) override;
int setup() override;
2015-03-05 11:24:01 +01:00
};
}
#endif