formatage
This commit is contained in:
25
function.h
25
function.h
@@ -1,8 +1,8 @@
|
||||
#ifndef FONCTION_H
|
||||
#define FONCTION_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#define EMPTY 0
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
typedef struct Vecteur
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
int x;
|
||||
int y;
|
||||
} vect;
|
||||
|
||||
typedef struct Score
|
||||
@@ -27,17 +27,14 @@ typedef struct Score
|
||||
unsigned int move_box;
|
||||
} score;
|
||||
|
||||
|
||||
unsigned short int **creatArea2D(const unsigned int N);
|
||||
void free2D(unsigned short int **tab, int N);
|
||||
void screenDisplay( unsigned short int **tab,int size);
|
||||
void inGameLoop (unsigned short int **tab2d, int N, vect *playerPos, vect *targets, int nbr_targets);
|
||||
bool isWin(unsigned short int **tab2d, vect *targets, int nbr_targets);
|
||||
bool islose(unsigned short int ** tab2d,const int N);
|
||||
bool blockBox(unsigned short int **tab2d, vect box_coor);
|
||||
unsigned short int **creatArea2D (const unsigned int N);
|
||||
void free2D (unsigned short int **tab, int N);
|
||||
void screenDisplay (unsigned short int **tab, int size);
|
||||
void inGameLoop (unsigned short int **tab2d, int N, vect *playerPos,
|
||||
vect *targets, int nbr_targets);
|
||||
bool isWin (unsigned short int **tab2d, vect *targets, int nbr_targets);
|
||||
bool islose (unsigned short int **tab2d, const int N);
|
||||
bool blockBox (unsigned short int **tab2d, vect box_coor);
|
||||
vect plusVect (vect one, vect two);
|
||||
|
||||
#endif // FONCTION_H
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user