diff options
Diffstat (limited to 'ia.c')
| -rw-r--r-- | ia.c | 7 | 
1 files changed, 4 insertions, 3 deletions
@@ -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);  }  | 
