1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-02 13:15:36 +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.

29 lines
758 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>
2022-09-22 18:26:05 +00:00
#include <components/esm3/loadsscr.hpp>
2015-03-05 10:24:01 +00:00
#include "../doc/stage.hpp"
#include "../world/idcollection.hpp"
namespace CSMTools
{
class StartScriptCheckStage : public CSMDoc::Stage
{
2022-09-22 18:26:05 +00:00
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:
StartScriptCheckStage(const CSMWorld::IdCollection<ESM::StartScript>& startScripts,
const CSMWorld::IdCollection<ESM::Script>& scripts);
2015-03-05 10:24:01 +00:00
2022-09-22 18:26:05 +00:00
void perform(int stage, CSMDoc::Messages& messages) override;
int setup() override;
2015-03-05 10:24:01 +00:00
};
}
#endif