openmw-tes3coop/components/esm/loadbook.hpp
2012-04-06 21:04:30 +02:00

29 lines
433 B
C++

#ifndef _ESM_BOOK_H
#define _ESM_BOOK_H
#include "esm_reader.hpp"
#include "esm_writer.hpp"
namespace ESM
{
/*
* Books, magic scrolls, notes and so on
*/
struct Book
{
struct BKDTstruct
{
float weight;
int value, isScroll, skillID, enchant;
};
BKDTstruct data;
std::string name, model, icon, script, enchant, text;
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif