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