OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
magiceffectcheck.hpp
Go to the documentation of this file.
1 #ifndef CSM_TOOLS_MAGICEFFECTCHECK_HPP
2 #define CSM_TOOLS_MAGICEFFECTCHECK_HPP
3 
6 
7 #include "../world/idcollection.hpp"
8 #include "../world/refidcollection.hpp"
9 #include "../world/resources.hpp"
10 
11 #include "../doc/stage.hpp"
12 
13 namespace CSMTools
14 {
17  {
24 
25  private:
26  std::string checkObject(const std::string &id, const CSMWorld::UniversalId &type, const std::string &column) const;
27 
28  public:
31  const CSMWorld::RefIdCollection &objects,
32  const CSMWorld::Resources &icons,
33  const CSMWorld::Resources &textures);
34 
35  virtual int setup();
37  virtual void perform (int stage, CSMDoc::Messages &messages);
39  };
40 }
41 
42 #endif
bool mIgnoreBaseRecords
Definition: magiceffectcheck.hpp:23
const CSMWorld::IdCollection< ESM::Sound > & mSounds
Definition: magiceffectcheck.hpp:19
MagicEffectCheckStage(const CSMWorld::IdCollection< ESM::MagicEffect > &effects, const CSMWorld::IdCollection< ESM::Sound > &sounds, const CSMWorld::RefIdCollection &objects, const CSMWorld::Resources &icons, const CSMWorld::Resources &textures)
Definition: magiceffectcheck.cpp:19
Definition: messages.hpp:38
const CSMWorld::IdCollection< ESM::MagicEffect > & mMagicEffects
Definition: magiceffectcheck.hpp:18
virtual int setup()
Definition: magiceffectcheck.cpp:33
const CSMWorld::RefIdCollection & mObjects
Definition: magiceffectcheck.hpp:20
Definition: resources.hpp:17
VerifyStage: make sure that magic effect records are internally consistent.
Definition: magiceffectcheck.hpp:16
Definition: stage.hpp:15
virtual void perform(int stage, CSMDoc::Messages &messages)
Messages resulting from this tage will be appended to messages.
Definition: magiceffectcheck.cpp:40
Definition: refidcollection.hpp:40
const CSMWorld::Resources & mIcons
Definition: magiceffectcheck.hpp:21
const CSMWorld::Resources & mTextures
Definition: magiceffectcheck.hpp:22
std::string checkObject(const std::string &id, const CSMWorld::UniversalId &type, const std::string &column) const
Definition: magiceffectcheck.cpp:7
Definition: universalid.hpp:12