openmw-tes3coop/components/esm/loadbsgn.hpp

26 lines
426 B
C++
Raw Normal View History

2012-09-23 18:11:08 +00:00
#ifndef OPENMW_ESM_BSGN_H
#define OPENMW_ESM_BSGN_H
2010-02-18 13:58:50 +00:00
2012-09-17 07:37:50 +00:00
#include <string>
#include "record.hpp"
2012-09-17 07:37:50 +00:00
#include "spelllist.hpp"
2010-02-19 13:23:22 +00:00
namespace ESM
{
2010-02-18 13:58:50 +00:00
struct BirthSign : public Record
2010-02-18 13:58:50 +00:00
{
2012-09-17 07:37:50 +00:00
std::string mName, mDescription, mTexture;
2010-02-18 13:58:50 +00:00
// List of powers and abilities that come with this birth sign.
2012-09-17 07:37:50 +00:00
SpellList mPowers;
2010-02-18 13:58:50 +00:00
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_BSGN; }
2010-02-18 13:58:50 +00:00
};
2010-02-19 13:23:22 +00:00
}
2010-02-18 13:58:50 +00:00
#endif