From 0cc5b8230f7e74db0cb644cfc62bce56e0cd256c Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 8 Jan 2015 04:55:31 +0100 Subject: update the damages handling Signed-off-by: Olivier Gayot --- prototypes.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'prototypes.h') diff --git a/prototypes.h b/prototypes.h index 3e7fc16..4e00d01 100644 --- a/prototypes.h +++ b/prototypes.h @@ -35,16 +35,15 @@ int Fcalculernbennemis (); int compute_damages(const struct character_t *src, const struct character_t *target, enum damages_type_t, enum element_t); int compute_cure(const struct character_t *src, const struct character_t *target); -void damage_target_hp(SURFACES *surfaces, struct character_t *target, int damages); -void cure_target_hp(SURFACES *surfaces, struct character_t *target, int cure); +void damage_target_hp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int damages); +void cure_target_hp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int cure); -void damage_target_mp(SURFACES *surfaces, struct character_t *target, int damages); -void cure_target_mp(SURFACES *surfaces, struct character_t *target, int cure); +void damage_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int damages); +void cure_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int cure); void Fchangercurseur (SURFACES *surfaces, POSITIONS *positions,int selection,ENNEMIS ennemis[]); void Fchangercurseurennemis (SURFACES *surfaces, POSITIONS *positions, struct character_t *); void Fchangercurseurpersos (SURFACES *surfaces, POSITIONS *positions,int selection); -void Fafficherdegats (SURFACES *surfaces, POSITIONS *positions, int degats,int camp, int cible, struct team_t *ally); void Fblitteractivedesactive (SURFACES *surfaces,POSITIONS *positions,ENNEMIS ennemis[],int selection); void blit_character_affinities(SURFACES *, POSITIONS *, const struct character_t *); void Fchangeractionselectionnee(SURFACES *surfaces, POSITIONS *positions,int selection,int page,int nbactions,int type,OBJET *objets); @@ -52,7 +51,6 @@ void Fblitterpvcible (SURFACES *surfaces,POSITIONS *positions, const struct char void Fblitterpmcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *); void Fchangermagienoireselectionnee(SURFACES *surfaces,POSITIONS *positions,int selection,int page,int nbactions); void Fchangermagieblancheselectionnee(SURFACES *surfaces, POSITIONS *positions,int selection,int page,int nbactions); -void Faffichersoins (SURFACES *surfaces, POSITIONS *positions, int degats,int clan, int cible, struct team_t *ally); void Fremplirobjets(OBJET *objets); void Fblitterfond(SURFACES* surfaces); -- cgit v1.2.3