2010-02-20 20:55:51 +00:00
|
|
|
#ifndef _ESM_DEFS_H
|
|
|
|
#define _ESM_DEFS_H
|
|
|
|
|
2012-09-17 07:37:50 +00:00
|
|
|
#include <libs/platform/stdint.h>
|
2010-02-20 20:55:51 +00:00
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
2010-02-20 20:55:51 +00:00
|
|
|
|
2010-03-04 13:12:23 +00:00
|
|
|
// Pixel color value. Standard four-byte rr,gg,bb,aa format.
|
|
|
|
typedef int32_t Color;
|
|
|
|
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
enum VarType
|
2011-04-06 16:11:08 +00:00
|
|
|
{
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
VT_Unknown,
|
|
|
|
VT_None,
|
|
|
|
VT_Short,
|
|
|
|
VT_Int,
|
|
|
|
VT_Long,
|
|
|
|
VT_Float,
|
|
|
|
VT_String,
|
|
|
|
VT_Ignored
|
2011-04-06 16:11:08 +00:00
|
|
|
};
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
|
|
|
enum Specialization
|
2011-04-06 16:11:08 +00:00
|
|
|
{
|
2011-04-08 18:26:27 +00:00
|
|
|
SPC_Combat = 0,
|
|
|
|
SPC_Magic = 1,
|
|
|
|
SPC_Stealth = 2
|
2011-04-06 16:11:08 +00:00
|
|
|
};
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
2010-09-21 10:34:47 +00:00
|
|
|
enum RangeType
|
2011-04-06 16:11:08 +00:00
|
|
|
{
|
2011-04-08 18:26:27 +00:00
|
|
|
RT_Self = 0,
|
|
|
|
RT_Touch = 1,
|
|
|
|
RT_Target = 2
|
2011-04-06 16:11:08 +00:00
|
|
|
};
|
2010-09-21 10:34:47 +00:00
|
|
|
|
2010-02-20 20:55:51 +00:00
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
2010-03-04 13:12:23 +00:00
|
|
|
|
|
|
|
// Position and rotation
|
|
|
|
struct Position
|
|
|
|
{
|
2011-04-06 16:11:08 +00:00
|
|
|
float pos[3];
|
|
|
|
float rot[3];
|
2010-03-04 13:12:23 +00:00
|
|
|
};
|
2010-02-20 20:55:51 +00:00
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif
|