Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
#ifndef _ESM_APPA_H
|
|
|
|
#define _ESM_APPA_H
|
|
|
|
|
|
|
|
#include "esm_reader.hpp"
|
2012-04-06 21:04:30 +02:00
|
|
|
#include "esm_writer.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
namespace ESM
|
|
|
|
{
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Alchemist apparatus
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct Apparatus
|
|
|
|
{
|
2011-04-06 20:11:08 +04:00
|
|
|
enum AppaType
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
2011-04-08 22:26:27 +04:00
|
|
|
MortarPestle = 0,
|
|
|
|
Albemic = 1,
|
|
|
|
Calcinator = 2,
|
|
|
|
Retort = 3
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
struct AADTstruct
|
|
|
|
{
|
|
|
|
int type;
|
|
|
|
float quality;
|
|
|
|
float weight;
|
|
|
|
int value;
|
|
|
|
};
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
AADTstruct data;
|
|
|
|
std::string model, icon, script, name;
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 21:04:30 +02:00
|
|
|
void save(ESMWriter &esm);
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|