diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 06:02:31 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 06:02:31 +0100 |
commit | 9a98118c3d9a062b33134e8354620be43ecf3786 (patch) | |
tree | ee04aa9b65a401a720e387439b8180578ee8cbfe /prototypes.h | |
parent | c1e13470835e18ac0077bf77ce8f77db07144bcf (diff) |
improve code and fix numerous bugs
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'prototypes.h')
-rw-r--r-- | prototypes.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/prototypes.h b/prototypes.h index 4e00d01..b871365 100644 --- a/prototypes.h +++ b/prototypes.h @@ -9,7 +9,6 @@ void Fchangersurlignage (int Vmode, SURFACES *surfaces, POSITIONS *positions); int Fentrermode (int Vmode, SURFACES *surfaces, POSITIONS *positions); void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions); void Fchangersurlignage2 (int Vperso, SURFACES *surfaces, POSITIONS *positions); -void Fremplirpersos2 (SURFACES *surfaces, PERSONNAGES persos[]); int Fjouer(SURFACES *surfaces, POSITIONS *positions, struct team_t *ally, struct team_t *enemy); void blit_team(SURFACES *surfaces, struct team_t *); void blit_character(SURFACES *surfaces, struct character_t *); @@ -18,7 +17,6 @@ void Finitialisersurfaces (SURFACES *surfaces); int Fchargerimages (SURFACES *surfaces); void Fdechargerimages (SURFACES *surfaces); void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces); -void Finitialiserpositionsennemis (SURFACES *surfaces, POSITIONS *positions,int Vnbennemis); /* actions */ enum action_state_t Fattaquer (SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy); @@ -30,8 +28,6 @@ enum action_state_t Fmagiesoin (SURFACES *surfaces,POSITIONS *positions, struct enum action_state_t Fpotion(SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy,OBJET *objets,int type); enum action_state_t Fether(SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy,OBJET *objets,int type); -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); @@ -41,16 +37,12 @@ void cure_target_hp(SURFACES *surfaces, POSITIONS *, struct character_t *target, 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 update_selected_target(SURFACES *surfaces, POSITIONS *positions, struct character_t *); 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); void Fblitterpvcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *); 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 Fremplirobjets(OBJET *objets); void Fblitterfond(SURFACES* surfaces); |