X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=blobdiff_plain;f=TP_13%2Fexo2%2Flib%2Fcoordinates.h;h=f17d2cc1432b7269acebfeb5a2e546e8a56cfc28;hp=c549d2e2a41e2790929f7f39776b368b0bc51c85;hb=bbf5487f8cae3e6643f1d40be6aaa7164bae5cc5;hpb=9196247ea509a1b42d2954e3a6a0547cb8334ff6 diff --git a/TP_13/exo2/lib/coordinates.h b/TP_13/exo2/lib/coordinates.h index c549d2e..f17d2cc 100644 --- a/TP_13/exo2/lib/coordinates.h +++ b/TP_13/exo2/lib/coordinates.h @@ -30,8 +30,8 @@ typedef struct coordinates_s { unsigned type; /* 0 = O, 1 = X */ } coordinates_t; -void zero_coordinates(coordinates_t* coordinates_array); coordinates_t set_coordinates(int y, int x, unsigned type); +void zero_coordinates(coordinates_t* coordinates_array); unsigned add_coordinates(coordinates_t new_coordinates, coordinates_t* coordinates_array, unsigned round); bool chk_win_conditions(coordinates_t* coordinates_array, unsigned round);