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

27 lines
446 B
C++
Raw Normal View History

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