summaryrefslogtreecommitdiff
path: root/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes.h')
-rw-r--r--prototypes.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/prototypes.h b/prototypes.h
index 2b69a76..ffa1c94 100644
--- a/prototypes.h
+++ b/prototypes.h
@@ -20,14 +20,11 @@ void Fdechargerimages (SURFACES *surfaces);
void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces);
/* actions */
-enum action_state_t Fattaquer (SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy, void *data);
-enum action_state_t Fmagieelement (SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy, void *data);
-enum action_state_t Fmagiesoin (SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy, void *data);
-enum action_state_t Fpotion(SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy, void *data);
-enum action_state_t Fether(SURFACES *surfaces,POSITIONS *positions, struct team_t *ally, struct team_t *enemy, void *data);
-
-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 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 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);
@@ -36,10 +33,8 @@ void damage_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *targe
void cure_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int cure);
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 update_list_entries(SURFACES *surfaces, POSITIONS *positions, const struct entry_t *entries, int cnt, int selected);
-void Fchangeractionselectionnee(SURFACES *surfaces, POSITIONS *positions,int selection,int page,int nbactions,int type);
void Fblitterpvcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *);
void Fblitterpmcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *);
void Fremplirobjets(OBJET *objets);