mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-29 23:15:55 -04:00
36 lines
672 B
Modula-2
Executable File
36 lines
672 B
Modula-2
Executable File
enum Attributes
|
|
{
|
|
AT_Health,
|
|
AT_Strength,
|
|
AT_Constitution,
|
|
AT_Action,
|
|
AT_Quickness,
|
|
AT_Stamina,
|
|
AT_Mind,
|
|
AT_Focus,
|
|
AT_Willpower
|
|
};
|
|
|
|
#define STRINGER(a) cstring #a
|
|
|
|
#define NAME(name) chunk "NAME" { cstring #name }
|
|
#define SKILL(name) chunk "SKIL" { cstring #name }
|
|
|
|
#define PLAYER_TEMPLATE_NAME(templateName) \
|
|
chunk "NAME" { STRINGER(object/creature/player/shared_##templateName.iff) }
|
|
|
|
#define EQ(arrangement, sharedTemplateName, serverTemplateName) \
|
|
chunk "ITEM" \
|
|
{ \
|
|
int32 arrangement \
|
|
cstring sharedTemplateName \
|
|
cstring serverTemplateName \
|
|
}
|
|
|
|
#define ATTR(stat,value) \
|
|
chunk "ATTR" \
|
|
{ \
|
|
int8 stat \
|
|
int16 value \
|
|
}
|