mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 16:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			824 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			824 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSM_TOOLS_GMSTCHECK_H
 | |
| #define CSM_TOOLS_GMSTCHECK_H
 | |
| 
 | |
| #include <components/esm/loadgmst.hpp>
 | |
| 
 | |
| #include "../world/idcollection.hpp"
 | |
| 
 | |
| #include "../doc/stage.hpp"
 | |
| 
 | |
| namespace CSMTools
 | |
| {
 | |
|     /// \brief VerifyStage: make sure that GMSTs are alright
 | |
|     class GmstCheckStage : public CSMDoc::Stage
 | |
|     {
 | |
|     public:
 | |
|         
 | |
|         GmstCheckStage(const CSMWorld::IdCollection<ESM::GameSetting>& gameSettings);
 | |
|         
 | |
|         virtual int setup();
 | |
|         ///< \return number of steps
 | |
| 
 | |
|         virtual void perform(int stage, CSMDoc::Messages& messages);
 | |
|         ///< Messages resulting from this stage will be appended to \a messages
 | |
|         
 | |
|     private:
 | |
|         
 | |
|         const CSMWorld::IdCollection<ESM::GameSetting>& mGameSettings;
 | |
|         
 | |
|         std::string varTypeToString(ESM::VarType);
 | |
|         
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |