mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
27 lines
446 B
C++
27 lines
446 B
C++
#ifndef _ESM_BSGN_H
|
|
#define _ESM_BSGN_H
|
|
|
|
#include "defs.hpp"
|
|
#include "esm_reader.hpp"
|
|
|
|
namespace ESM {
|
|
|
|
struct BirthSign
|
|
{
|
|
std::string name, description, texture;
|
|
|
|
// List of powers and abilities that come with this birth sign.
|
|
SpellList powers;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
name = esm.getHNString("FNAM");
|
|
texture = esm.getHNOString("TNAM");
|
|
description = esm.getHNOString("DESC");
|
|
|
|
powers.load(esm);
|
|
};
|
|
};
|
|
}
|
|
#endif
|