mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +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
31 lines
386 B
C++
31 lines
386 B
C++
#ifndef _ESM_ALCH_H
|
|
#define _ESM_ALCH_H
|
|
|
|
#include "esm_reader.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);
|
|
};
|
|
}
|
|
#endif
|