1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 01:49:54 +00:00
openmw-tes3mp/apps/opencs/model/tools/soundcheck.hpp

34 lines
932 B
C++
Raw Normal View History

2013-04-06 19:48:52 +00:00
#ifndef CSM_TOOLS_SOUNDCHECK_H
#define CSM_TOOLS_SOUNDCHECK_H
#include <components/esm/loadsoun.hpp>
2018-08-26 19:16:50 +00:00
#include "../world/resources.hpp"
2013-04-06 19:48:52 +00:00
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
2013-04-06 19:48:52 +00:00
namespace CSMTools
{
/// \brief VerifyStage: make sure that sound records are internally consistent
class SoundCheckStage : public CSMDoc::Stage
2013-04-06 19:48:52 +00:00
{
const CSMWorld::IdCollection<ESM::Sound>& mSounds;
const CSMWorld::Resources &mSoundFiles;
bool mIgnoreBaseRecords;
2013-04-06 19:48:52 +00:00
public:
SoundCheckStage (const CSMWorld::IdCollection<ESM::Sound>& sounds,
const CSMWorld::Resources &soundfiles);
2013-04-06 19:48:52 +00:00
virtual int setup();
///< \return number of steps
virtual void perform (int stage, CSMDoc::Messages& messages);
2013-04-06 19:48:52 +00:00
///< Messages resulting from this tage will be appended to \a messages.
};
}
#endif