summaryrefslogtreecommitdiff
path: root/prototypes.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 19:45:03 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 19:45:03 +0100
commitbfdf279cac51fe8945e59cd566cba2cb2efcffce (patch)
treec2310a297cb9d48814009142ea92cc31bd787fee /prototypes.h
parentfc3baf853b4429cf012f6d77b43d74872dc5ca11 (diff)
move some functions and headers so that the compilation is quicker
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'prototypes.h')
-rw-r--r--prototypes.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/prototypes.h b/prototypes.h
index 089b5f4..79bb5dd 100644
--- a/prototypes.h
+++ b/prototypes.h
@@ -11,33 +11,12 @@ int Fentrermode (int Vmode, SURFACES *surfaces, POSITIONS *positions);
void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions);
void Fchangersurlignage2 (int Vperso, SURFACES *surfaces, POSITIONS *positions);
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 *);
void Finitialisersurfaces (SURFACES *surfaces);
int Fchargerimages (SURFACES *surfaces);
void Fdechargerimages (SURFACES *surfaces);
void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces);
-/* actions */
-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);
-
-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 update_selected_target(SURFACES *surfaces, POSITIONS *positions, struct character_t *);
-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 Fblitterpvcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *);
-void Fblitterpmcible (SURFACES *surfaces,POSITIONS *positions, const struct character_t *);
-
Uint32 obtenirPixel(SDL_Surface *surface, int x, int y);
void definirPixel(SDL_Surface *surface, int x, int y, Uint32 pixel);
int Fgeneratedegats(PERSONNAGES persos[],ENNEMIS ennemis[],int Vtourennemi,int target);