2010-02-19 08:12:49 +00:00
|
|
|
#ifndef _ESM_BSGN_H
|
|
|
|
#define _ESM_BSGN_H
|
2010-02-18 13:58:50 +00:00
|
|
|
|
2010-02-20 20:55:51 +00:00
|
|
|
#include "defs.hpp"
|
2010-02-18 13:58:50 +00:00
|
|
|
#include "esm_reader.hpp"
|
2010-02-19 13:23:22 +00:00
|
|
|
|
|
|
|
namespace ESM {
|
2010-02-18 13:58:50 +00:00
|
|
|
|
|
|
|
struct BirthSign
|
|
|
|
{
|
|
|
|
std::string name, description, texture;
|
|
|
|
|
|
|
|
// List of powers and abilities that come with this birth sign.
|
2010-02-19 13:23:22 +00:00
|
|
|
SpellList powers;
|
2010-02-18 13:58:50 +00:00
|
|
|
|
|
|
|
void load(ESMReader &esm)
|
|
|
|
{
|
|
|
|
name = esm.getHNString("FNAM");
|
|
|
|
texture = esm.getHNOString("TNAM");
|
|
|
|
description = esm.getHNOString("DESC");
|
|
|
|
|
2010-02-19 13:23:22 +00:00
|
|
|
powers.load(esm);
|
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
|