1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 21:35:24 +00:00
OpenMW/components/esm/loadappa.hpp
2013-02-28 02:43:03 +04:00

44 lines
605 B
C++

#ifndef OPENMW_ESM_APPA_H
#define OPENMW_ESM_APPA_H
#include "esmcommon.hpp"
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Alchemist apparatus
*/
class Apparatus
{
public:
enum AppaType
{
MortarPestle = 0,
Albemic = 1,
Calcinator = 2,
Retort = 3
};
struct AADTstruct
{
int mType;
float mQuality;
float mWeight;
int mValue;
};
AADTstruct mData;
std::string mId, mModel, mIcon, mScript, mName;
void load(ESMReader &esm);
void save(ESMWriter &esm) const;
};
}
#endif