1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 20:23:53 +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 10:24:01 +00:00
#ifndef CSM_TOOLS_STARTSCRIPTCHECK_H
#define CSM_TOOLS_STARTSCRIPTCHECK_H
#include <components/esm3/loadscpt.hpp>
2015-03-05 10:24:01 +00:00
#include "../doc/stage.hpp"
#include "../world/idcollection.hpp"
2022-10-19 17:02:00 +00:00
namespace CSMDoc
{
class Messages;
}
namespace ESM
{
class Script;
struct StartScript;
}
2015-03-05 10:24:01 +00: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 10:24:01 +00:00
2022-09-22 18:26:05 +00:00
public:
2015-03-05 10:24:01 +00: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 10:24:01 +00:00
};
}
#endif