version 1.4w10UCIb22
[polyglot.git] / line.h
1 \r
2 // line.h\r
3 \r
4 #ifndef LINE_H\r
5 #define LINE_H\r
6 \r
7 // includes\r
8 \r
9 #include "board.h"\r
10 #include "move.h"\r
11 #include "util.h"\r
12 \r
13 // constants\r
14 \r
15 const int LineSize = 256;\r
16 \r
17 // functions\r
18 \r
19 extern bool line_is_ok    (const move_t line[]);\r
20 \r
21 extern void line_clear    (move_t line[]);\r
22 extern void line_copy     (move_t dst[], const move_t src[]);\r
23 \r
24 extern bool line_from_can (move_t line[], const board_t * board, const char string[], int size);\r
25 \r
26 extern bool line_to_can   (const move_t line[], const board_t * board, char string[], int size);\r
27 extern bool line_to_san   (const move_t line[], const board_t * board, char string[], int size);\r
28 \r
29 #endif // !defined LINE_H\r
30 \r
31 // end of line.h\r
32 \r