|
|
|
@ -31,11 +31,13 @@ distribution.
|
|
|
|
|
#include "Export.h"
|
|
|
|
|
#include "modules/Items.h"
|
|
|
|
|
#include "DataDefs.h"
|
|
|
|
|
#include "df/unit.h"
|
|
|
|
|
|
|
|
|
|
#include "df/caste_raw_flags.h"
|
|
|
|
|
#include "df/job_skill.h"
|
|
|
|
|
#include "df/mental_attribute_type.h"
|
|
|
|
|
#include "df/misc_trait_type.h"
|
|
|
|
|
#include "df/physical_attribute_type.h"
|
|
|
|
|
#include "df/mental_attribute_type.h"
|
|
|
|
|
#include "df/job_skill.h"
|
|
|
|
|
#include "df/unit.h"
|
|
|
|
|
|
|
|
|
|
namespace df
|
|
|
|
|
{
|
|
|
|
@ -219,6 +221,7 @@ DFHACK_EXPORT df::nemesis_record *getNemesis(df::unit *unit);
|
|
|
|
|
DFHACK_EXPORT bool isHidingCurse(df::unit *unit);
|
|
|
|
|
DFHACK_EXPORT int getPhysicalAttrValue(df::unit *unit, df::physical_attribute_type attr);
|
|
|
|
|
DFHACK_EXPORT int getMentalAttrValue(df::unit *unit, df::mental_attribute_type attr);
|
|
|
|
|
DFHACK_EXPORT bool casteFlagSet(int race, int caste, df::caste_raw_flags flag);
|
|
|
|
|
|
|
|
|
|
DFHACK_EXPORT bool isCrazed(df::unit *unit);
|
|
|
|
|
DFHACK_EXPORT bool isOpposedToLife(df::unit *unit);
|
|
|
|
|