diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-09 21:05:46 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-09 21:06:03 +0100 |
commit | b4038deb223e309fe886c71b3765a7e82e65f9bb (patch) | |
tree | cf259313fc52a280400b6c1811e2eadb4e1a1bbf /actions.h | |
parent | 2a76d0662f9494f8469283a7b0fc72c17f40ecf6 (diff) |
handle the different type of targets
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'actions.h')
-rw-r--r-- | actions.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,11 +3,12 @@ #include "structures.h" #include "players.h" +#include "target.h" -void attack(SURFACES *, POSITIONS *, struct character_t *src, struct character_t *dst, void *data); -void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct character_t *dst, void *data); -void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct character_t *dst, void *data); -void use_potion(SURFACES *, POSITIONS *, struct character_t *src, struct character_t *dst, void *data); -void use_ether(SURFACES *, POSITIONS *, struct character_t *src, struct character_t *dst, void *data); +void attack(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); +void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); +void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); +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); #endif /* ACTIONS_H */ |