From dfe9604dc9e4292c9f0e420d3a926e8268178308 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 9 Jan 2015 17:40:02 +0100 Subject: replace the code of the artificial "intellligence" the new function of the AI chooses a random target in the adversary team and use "attack" on it. Signed-off-by: Olivier Gayot --- prototypes.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'prototypes.h') diff --git a/prototypes.h b/prototypes.h index 79bb5dd..698bc46 100644 --- a/prototypes.h +++ b/prototypes.h @@ -19,9 +19,6 @@ void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces); 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); -int Fchoosetargetallie(PERSONNAGES persos[]); -void Factionennemi(int* Vtourennemi,SURFACES* surfaces,POSITIONS* positions, ENNEMIS ennemis[], PERSONNAGES persos[],int Vnbennemis,int*Vtour); void Fgetmap (int map[][11]); void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally, struct team_t *enemy); void Fchargersurfaces_map (SURFACES *surfaces,POSITIONS*positions); -- cgit v1.2.3