version 1.4b27
[polyglot.git] / move_legal.h
1 \r
2 // move_legal.h\r
3 \r
4 #ifndef MOVE_LEGAL_H\r
5 #define MOVE_LEGAL_H\r
6 \r
7 // includes\r
8 \r
9 #include "board.h"\r
10 #include "list.h"\r
11 #include "util.h"\r
12 \r
13 // functions\r
14 \r
15 extern bool move_is_pseudo  (int move, const board_t * board);\r
16 extern bool pseudo_is_legal (int move, const board_t * board);\r
17 extern bool move_is_legal   (int move, const board_t * board);\r
18 \r
19 extern void filter_legal    (list_t * list, const board_t * board);\r
20 \r
21 #endif // !defined MOVE_LEGAL_H\r
22 \r
23 // end of move_legal.h\r
24 \r