diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 04:55:31 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 05:30:36 +0100 |
commit | 0cc5b8230f7e74db0cb644cfc62bce56e0cd256c (patch) | |
tree | bde7f53d927fe2d0fe973144911f1c8d9fe15ca2 /prototypes.h | |
parent | 8dea50c02d5b04221488fb8d4b0719e373e7f9d0 (diff) |
update the damages handling
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'prototypes.h')
-rw-r--r-- | prototypes.h | 10 |
1 files changed, 4 insertions, 6 deletions
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); |