server/src/triggers/createcurse.h

25 lines
535 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef CREATECURSE_H
#define CREATECURSE_H
#ifdef __cplusplus
extern "C" {
#endif
/* 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
extern struct trigger_type tt_createcurse;
2010-08-08 10:06:34 +02:00
struct trigger *trigger_createcurse(struct unit *mage,
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