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