OpenMW
components/esm/loadbsgn.hpp
Go to the documentation of this file.
00001 #ifndef OPENMW_ESM_BSGN_H
00002 #define OPENMW_ESM_BSGN_H
00003 
00004 #include <string>
00005 
00006 #include "spelllist.hpp"
00007 
00008 namespace ESM
00009 {
00010 
00011 class ESMReader;
00012 class ESMWriter;
00013 
00014 struct BirthSign
00015 {
00016     static unsigned int sRecordId;
00017 
00018     std::string mId, mName, mDescription, mTexture;
00019 
00020     // List of powers and abilities that come with this birth sign.
00021     SpellList mPowers;
00022 
00023     void load(ESMReader &esm);
00024     void save(ESMWriter &esm) const;
00025 
00026     void blank();
00028 };
00029 }
00030 #endif