X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TP_13%2Fexo2%2Flib%2Fcoordinates.h;h=f17d2cc1432b7269acebfeb5a2e546e8a56cfc28;hb=bbf5487f8cae3e6643f1d40be6aaa7164bae5cc5;hp=3a17ade5a608a152f621d6a7fefa15b3915f9e61;hpb=04b0afb5d5c81f1d98e98b9a6e532b1d3c868cc4;p=TD_C.git diff --git a/TP_13/exo2/lib/coordinates.h b/TP_13/exo2/lib/coordinates.h index 3a17ade..f17d2cc 100644 --- a/TP_13/exo2/lib/coordinates.h +++ b/TP_13/exo2/lib/coordinates.h @@ -30,9 +30,9 @@ typedef struct coordinates_s { unsigned type; /* 0 = O, 1 = X */ } coordinates_t; -void init_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); +bool chk_win_conditions(coordinates_t* coordinates_array, unsigned round); #endif /* COORDINATES_H */