summaryrefslogtreecommitdiff
path: root/ia.c
diff options
context:
space:
mode:
Diffstat (limited to 'ia.c')
-rw-r--r--ia.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ia.c b/ia.c
index 6f11cb9..f122df2 100644
--- a/ia.c
+++ b/ia.c
@@ -6,7 +6,7 @@
#include "prototypes.h"
#include <time.h>
-void Factionennemi(int* Vtourennemi,SURFACES* surfaces,POSITIONS* positions, ENNEMIS ennemis[], PERSONNAGES persos[],int Vnbennemis,int*Vtour,int Vtourallie)
+void Factionennemi(int* Vtourennemi,SURFACES* surfaces,POSITIONS* positions, ENNEMIS ennemis[], PERSONNAGES persos[],int Vnbennemis,int*Vtour)
{
int target,degats;
@@ -31,11 +31,12 @@ void Factionennemi(int* Vtourennemi,SURFACES* surfaces,POSITIONS* positions, ENN
positions->Vpositionmort.y=positions->Vpositionpersos[target].y+surfaces->Tperso[target]->h/2-surfaces->Pmort->h/2;
SDL_BlitSurface(surfaces->Pmort,NULL,surfaces->Pecran,&positions->Vpositionmort);
}
+ /* TODO re-enable */
+#if 0
Fafficherdegats(surfaces,positions,degats,ALLIE,target,persos);
+#endif
SDL_Delay(1000);
SDL_BlitSurface(surfaces->Pfondjeu,&positions->Vpositiondegats,surfaces->Pecran,&positions->Vpositiondegats);
- if(*Vtour==ALLIE)
- Fblitcoloredselection(surfaces,positions,Vtourallie,persos);
SDL_Flip(surfaces->Pecran);
}