Commit 56d445cadd19fe4789ed39a746c383b1bf82b263

Authored by mahmoudrabia
1 parent 750af9c2

rapport finale

Showing 1 changed file with 20 additions and 0 deletions   Show diff stats
liste.h 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +#include <stdio.h>
  2 +#include <stdlib.h>
  3 +#define TAILLE_X 700
  4 +
  5 +
  6 +typedef struct entite
  7 +{int image;int x;int y;int speed;}entite;
  8 +
  9 +
  10 +typedef struct l_entite
  11 +{entite ent;struct l_entite* next;}l_entite;
  12 +
  13 +l_entite* create_l_entite (int x,int y,int speed,int image);
  14 +entite create_entite (entite ent,int x,int y, int speed, int image);
  15 +void add_entite (l_entite** head,int x,int y,int speed,int image);
  16 +void display_l_entite (l_entite* mons);
  17 +void display_entite (entite ent);
  18 +void moveMissile (l_entite* msl);
  19 +void addMissile (l_entite** head, entite vaisseau,int image);
  20 +void detecterCollisions(l_entite* l_missile, l_entite* l_monstre);
... ...