1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00
OpenMW/components/esm/loadalch.hpp
2012-04-06 21:04:30 +02:00

33 lines
443 B
C++

#ifndef _ESM_ALCH_H
#define _ESM_ALCH_H
#include "esm_reader.hpp"
#include "esm_writer.hpp"
#include "defs.hpp"
namespace ESM
{
/*
* Alchemy item (potions)
*/
struct Potion
{
struct ALDTstruct
{
float weight;
int value;
int autoCalc;
};
ALDTstruct data;
std::string name, model, icon, script;
EffectList effects;
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif