1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00
OpenMW/components/esm/loadbsgn.hpp

29 lines
475 B
C++
Raw Normal View History

2012-09-23 22:11:08 +04:00
#ifndef OPENMW_ESM_BSGN_H
#define OPENMW_ESM_BSGN_H
2010-02-18 14:58:50 +01:00
2012-09-17 11:37:50 +04:00
#include <string>
#include "spelllist.hpp"
2010-02-19 14:23:22 +01:00
namespace ESM
{
2010-02-18 14:58:50 +01:00
2012-10-01 00:51:54 +04:00
class ESMReader;
class ESMWriter;
struct BirthSign
2010-02-18 14:58:50 +01:00
{
std::string mId, mName, mDescription, mTexture;
2010-02-18 14:58:50 +01:00
// List of powers and abilities that come with this birth sign.
2012-09-17 11:37:50 +04:00
SpellList mPowers;
2010-02-18 14:58:50 +01:00
void load(ESMReader &esm);
void save(ESMWriter &esm);
2013-04-07 20:26:39 +02:00
void blank();
///< Set record to default state (does not touch the ID/index).
2010-02-18 14:58:50 +01:00
};
2010-02-19 14:23:22 +01:00
}
2010-02-18 14:58:50 +01:00
#endif