mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 18:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSM_TOOLS_SOUNDGENCHECK_HPP
 | |
| #define CSM_TOOLS_SOUNDGENCHECK_HPP
 | |
| 
 | |
| #include "../world/data.hpp"
 | |
| 
 | |
| #include "../doc/stage.hpp"
 | |
| 
 | |
| namespace CSMTools
 | |
| {
 | |
|     /// \brief VerifyStage: make sure that sound gen records are internally consistent
 | |
|     class SoundGenCheckStage : public CSMDoc::Stage
 | |
|     {
 | |
|             const CSMWorld::IdCollection<ESM::SoundGenerator> &mSoundGens;
 | |
|             const CSMWorld::IdCollection<ESM::Sound> &mSounds;
 | |
|             const CSMWorld::RefIdCollection &mObjects;
 | |
|             bool mIgnoreBaseRecords;
 | |
| 
 | |
|         public:
 | |
|             SoundGenCheckStage(const CSMWorld::IdCollection<ESM::SoundGenerator> &soundGens,
 | |
|                                const CSMWorld::IdCollection<ESM::Sound> &sounds,
 | |
|                                const CSMWorld::RefIdCollection &objects);
 | |
| 
 | |
|             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.
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |