OpenMW
apps/opencs/model/tools/racecheck.hpp
Go to the documentation of this file.
00001 #ifndef CSM_TOOLS_RACECHECK_H
00002 #define CSM_TOOLS_RACECHECK_H
00003 
00004 #include <components/esm/loadrace.hpp>
00005 
00006 #include "../world/idcollection.hpp"
00007 
00008 #include "../doc/stage.hpp"
00009 
00010 namespace CSMTools
00011 {
00013     class RaceCheckStage : public CSMDoc::Stage
00014     {
00015             const CSMWorld::IdCollection<ESM::Race>& mRaces;
00016             bool mPlayable;
00017 
00018             void performPerRecord (int stage, std::vector<std::string>& messages);
00019 
00020             void performFinal (std::vector<std::string>& messages);
00021 
00022         public:
00023 
00024             RaceCheckStage (const CSMWorld::IdCollection<ESM::Race>& races);
00025 
00026             virtual int setup();
00028 
00029             virtual void perform (int stage, std::vector<std::string>& messages);
00031     };
00032 }
00033 
00034 #endif