Searched refs:SquareNb (Results 1 – 24 of 24) sorted by path
65 for (sq = 0; sq < SquareNb; sq++) { in board_is_ok()202 for (sq = 0; sq < SquareNb; sq++) { in board_clear()
47 uint8 square[SquareNb];48 sint8 pos[SquareNb];
47 static sint8 SquareTo64[SquareNb];57 for (sq = 0; sq < SquareNb; sq++) SquareTo64[sq] = -1; in square_init()68 if (square < 0 || square >= SquareNb) return false; in square_is_ok()
35 const int SquareNb = 16 * 12; variable
177 for (king = 0; king < SquareNb; king++) { in attack_init()181 for (from = 0; from < SquareNb; from++) { in attack_init()
66 for (sq = 0; sq < SquareNb; sq++) { in board_is_ok()203 for (sq = 0; sq < SquareNb; sq++) { in board_clear()247 for (sq = 0; sq < SquareNb; sq++) { in board_init_list()
71 int square[SquareNb];72 int pos[SquareNb];
43 static int CastleMask[SquareNb];59 for (sq = 0; sq < SquareNb; sq++) CastleMask[sq] = 0xF; in move_do_init()
50 int SquareTo64[SquareNb];51 bool SquareIsPromote[SquareNb];63 for (sq = 0; sq < SquareNb; sq++) SquareTo64[sq] = -1; in square_init()71 for (sq = 0; sq < SquareNb; sq++) { in square_init()
39 const int SquareNb = FileNb * RankNb; variable118 extern int SquareTo64[SquareNb];119 extern bool SquareIsPromote[SquareNb];
43 for (sq = 0; sq < SquareNb; sq++) { in board_is_ok()180 for (sq = 0; sq < SquareNb; sq++) { in board_clear()
24 uint8 square[SquareNb];25 sint8 pos[SquareNb];
25 static sint8 SquareTo64[SquareNb];35 for (sq = 0; sq < SquareNb; sq++) SquareTo64[sq] = -1; in square_init()46 if (square < 0 || square >= SquareNb) return FALSE; in square_is_ok()
13 #define SquareNb (16 * 12) macro
155 for (king = 0; king < SquareNb; king++) { in attack_init()159 for (from = 0; from < SquareNb; from++) { in attack_init()
44 for (sq = 0; sq < SquareNb; sq++) { in board_is_ok()181 for (sq = 0; sq < SquareNb; sq++) { in board_clear()225 for (sq = 0; sq < SquareNb; sq++) { in board_init_list()
51 int square[SquareNb];52 int pos[SquareNb];
21 static int CastleMask[SquareNb];37 for (sq = 0; sq < SquareNb; sq++) CastleMask[sq] = 0xF; in move_do_init()
28 int SquareTo64[SquareNb];29 bool SquareIsPromote[SquareNb];41 for (sq = 0; sq < SquareNb; sq++) SquareTo64[sq] = -1; in square_init()49 for (sq = 0; sq < SquareNb; sq++) { in square_init()
17 const int SquareNb = FileNb * RankNb; variable96 extern int SquareTo64[SquareNb];97 extern bool SquareIsPromote[SquareNb];
25 uint8 square[SquareNb];26 sint8 pos[SquareNb];
25 static sint8 SquareTo64[SquareNb];35 for (sq = 0; sq < SquareNb; sq++) SquareTo64[sq] = -1; in square_init()46 if (square < 0 || square >= SquareNb) return false; in square_is_ok()
13 const int SquareNb = 16 * 12; variable