14 const int IncNone = 0;
\r
18 extern const sint8 KnightInc[8+1];
\r
19 extern const sint8 BishopInc[4+1];
\r
20 extern const sint8 RookInc[4+1];
\r
21 extern const sint8 QueenInc[8+1];
\r
22 extern const sint8 KingInc[8+1];
\r
26 extern void attack_init ();
\r
28 extern bool is_in_check (const board_t * board, int colour);
\r
29 extern bool is_attacked (const board_t * board, int to, int colour);
\r
30 extern bool piece_attack (const board_t * board, int piece, int from, int to);
\r
32 extern bool is_pinned (const board_t * board, int from, int to, int colour);
\r
34 #endif // !defined ATTACK_H
\r