#ifndef CSM_TOOLS_PATHGRIDCHECK_H #define CSM_TOOLS_PATHGRIDCHECK_H #include #include #include "../doc/stage.hpp" namespace CSMDoc { class Messages; } namespace CSMWorld { struct Pathgrid; template class SubCellCollection; } namespace CSMTools { struct Point { unsigned char mConnectionNum; std::vector mOtherIndex; Point() : mConnectionNum(0) , mOtherIndex(0) { } }; class PathgridCheckStage : public CSMDoc::Stage { const CSMWorld::SubCellCollection& mPathgrids; bool mIgnoreBaseRecords; public: explicit PathgridCheckStage(const CSMWorld::SubCellCollection& pathgrids); int setup() override; void perform(int stage, CSMDoc::Messages& messages) override; }; } #endif // CSM_TOOLS_PATHGRIDCHECK_H