1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00
OpenMW/components/esm/loadalch.hpp

33 lines
467 B
C++
Raw Normal View History

2012-09-23 18:11:08 +00:00
#ifndef OPENMW_ESM_ALCH_H
#define OPENMW_ESM_ALCH_H
2012-09-17 07:37:50 +00:00
#include <string>
#include "record.hpp"
2012-09-17 07:37:50 +00:00
#include "effectlist.hpp"
namespace ESM
{
/*
* Alchemy item (potions)
*/
struct Potion
{
struct ALDTstruct
{
2012-09-17 07:37:50 +00:00
float mWeight;
int mValue;
int mAutoCalc;
};
2012-09-17 07:37:50 +00:00
ALDTstruct mData;
std::string mId, mName, mModel, mIcon, mScript;
2012-09-17 07:37:50 +00:00
EffectList mEffects;
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif