summaryrefslogtreecommitdiff
path: root/prototypes.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-09 17:40:02 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-09 17:42:32 +0100
commitdfe9604dc9e4292c9f0e420d3a926e8268178308 (patch)
treee72126bed8102a0852fe8f45fe3b980bdbf41a13 /prototypes.h
parent2c26f3577680ae1ee1989de0f866d4fec912f49d (diff)
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 <duskcoder@gmail.com>
Diffstat (limited to 'prototypes.h')
-rw-r--r--prototypes.h3
1 files changed, 0 insertions, 3 deletions
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);