mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
a2c42ab5a2
esm_reader.hpp loadacti.hpp loadalch.hpp loadappa.hpp loadarmo.hpp loadbody.hpp loadbook.hpp loadbsgn.hpp loadcell.hpp loadclas.hpp loadclot.hpp loadland.hpp Updated code style in defs.hpp
28 lines
376 B
C++
28 lines
376 B
C++
#ifndef _ESM_BOOK_H
|
|
#define _ESM_BOOK_H
|
|
|
|
#include "esm_reader.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);
|
|
};
|
|
}
|
|
#endif
|