You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
446 B
C++
27 lines
446 B
C++
15 years ago
|
#ifndef _ESM_BSGN_H
|
||
|
#define _ESM_BSGN_H
|
||
15 years ago
|
|
||
15 years ago
|
#include "defs.hpp"
|
||
15 years ago
|
#include "esm_reader.hpp"
|
||
15 years ago
|
|
||
|
namespace ESM {
|
||
15 years ago
|
|
||
|
struct BirthSign
|
||
|
{
|
||
|
std::string name, description, texture;
|
||
|
|
||
|
// List of powers and abilities that come with this birth sign.
|
||
15 years ago
|
SpellList powers;
|
||
15 years ago
|
|
||
|
void load(ESMReader &esm)
|
||
|
{
|
||
|
name = esm.getHNString("FNAM");
|
||
|
texture = esm.getHNOString("TNAM");
|
||
|
description = esm.getHNOString("DESC");
|
||
|
|
||
15 years ago
|
powers.load(esm);
|
||
15 years ago
|
};
|
||
|
};
|
||
15 years ago
|
}
|
||
15 years ago
|
#endif
|