X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fconstants.h;h=88c466e0462d6dd8430145956ede7c5674720f59;hb=31ec36151e0789762a75e319f6432967de5bb66c;hp=bc15fd15e9de1a3e891d38713f3e124636a34f5c;hpb=54f1c58cef6764fdd611eedc267e7491e777c09b;p=Project_algorithmic_C.git diff --git a/lib/constants.h b/lib/constants.h index bc15fd1..88c466e 100644 --- a/lib/constants.h +++ b/lib/constants.h @@ -19,12 +19,12 @@ #ifndef CONSTANTS_H #define CONSTANTS_H -#define board_size 8 -//extern const unsigned int board_size; /* 8 */ +#define board_size 8 /* 8 */ +//extern const int board_size; /* 8 */ extern const unsigned int empty; /* 0 */ -extern const unsigned int white; /* 1 */ -extern const unsigned int black; /* 2 */ +extern const unsigned int black; /* 1 */ +extern const unsigned int white; /* 2 */ extern const unsigned int player_one; /* black */ extern const unsigned int player_two; /* white */ @@ -32,5 +32,13 @@ extern const unsigned int player_two; /* white */ extern const unsigned int hint_allowed; /* legal place for a pawn */ extern const unsigned int hint_forbidden; /* illegal place for a pawn */ -#endif /* CONSTANTS_H */ +extern const unsigned int north; +extern const unsigned int north_east; +extern const unsigned int east; +extern const unsigned int south_east; +extern const unsigned int south; +extern const unsigned int south_west; +extern const unsigned int west; +extern const unsigned int north_west; +#endif /* CONSTANTS_H */