2010-08-08 10:06:34 +02:00
|
|
|
#ifndef CREATECURSE_H
|
|
|
|
#define CREATECURSE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
/* all types we use are defined here to reduce dependencies */
|
|
|
|
struct curse_type;
|
|
|
|
struct trigger_type;
|
|
|
|
struct trigger;
|
|
|
|
struct region;
|
|
|
|
struct faction;
|
|
|
|
struct unit;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
extern struct trigger_type tt_createcurse;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
struct trigger *trigger_createcurse(struct unit *mage,
|
2015-05-15 20:35:36 +02:00
|
|
|
struct unit *target, const struct curse_type *ct, double vigour,
|
|
|
|
int duration, double effect, int men);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|