diff --git a/src/common/kernel/curse.h b/src/common/kernel/curse.h index b674fef12..275bf8ac8 100644 --- a/src/common/kernel/curse.h +++ b/src/common/kernel/curse.h @@ -208,6 +208,8 @@ typedef struct curse_unit { /* ------------------------------------------------------------- */ +typedef int (*cdesc_fun)(const void*, int, curse*, int); + typedef struct curse_type { const char *cname; /* Name der Zauberwirkung, Identifizierung des curse */ int typ; @@ -221,10 +223,12 @@ typedef struct curse_type { int (*write)(FILE * F, const curse * c); } curse_type; + extern attrib_type at_curse; extern void curse_write(const attrib * a,FILE * f); extern int curse_read(struct attrib * a,FILE * f); + /* ------------------------------------------------------------- */ /* Kommentare: * Bei einigen Typen von Verzauberungen (z.B.Skillmodif.) muss neben