#ifndef ACTIONS_H #define ACTIONS_H #include "structures.h" #include "players.h" #include "target.h" void attack(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); /* black magic */ void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void cyanure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); /* white magic */ void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void esuna(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); /* use */ void use_potion(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void use_ether(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void defend(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); #endif /* ACTIONS_H */