Blame view

Space Invader/Envahisseurs/Graphique/src/Interactif/Interactif.h 2.05 KB
1e8c0804   Martin CHAUVELIERE   Derniere correcti...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  #include <stdio.h>
  #include <stdlib.h>
  
  
  int CheckCollisionEntiteEntite (struct entite entite1,
                                  int           L1,
                                  int           H1,
                                  struct entite entite2,
                                  int           L2,
                                  int           H2);
  
  struct entite* CheckCollisionListeEntite (struct liste_entite* Liste1,
                                            int                  L1,
                                            int                  H1,
                                            struct entite        entite2,
                                            int                  L2,
                                            int                  H2);
  
  struct liste_entite* CheckCollisionListeListe (struct liste_entite* Liste1,
                                                 int                  L1,
                                                 int                  H1,
                                                 struct liste_entite* Liste2,
                                                 int                  L2,
                                                 int                  H2);
  
  void Tirer (struct entite         joueur,
              struct liste_entite** pl);
  
  void DeplacementTire(struct liste_entite** Liste);
  
1e8c0804   Martin CHAUVELIERE   Derniere correcti...
31
32
33
34
  void action(struct entite*        joueur,
              char                  c,
              struct liste_entite** tires);
  
7094c494   Martin CHAUVELIERE   Améliorations fin...
35
36
  void MakeBombeDrop (struct liste_entite*  enemies,
                      struct liste_entite** bombes);
1e8c0804   Martin CHAUVELIERE   Derniere correcti...
37
38
39
40
41
42
43
44
45
46
47
48
  
  void void DeplacementBombe(struct liste_entite** Liste) ;(struct liste_entite** Liste) void DeplacementBombe(struct liste_entite** Liste) ;
  
  void NouveauDroppeurBombe (struct liste_entite** liste,
                             struct entite*        entite);
  
  int SupprimerEntitesEnCollision (struct liste_entite** Liste1,
                                   int                   L1,
                                   int                   H1,
                                   struct liste_entite** Liste2,
                                   int                   L2,
                                   int                   H2);