src/rules/knight.h

changeset 16
a298c6637c30
parent 10
1347e4dabac0
equal deleted inserted replaced
15:7ffd66591afe 16:a298c6637c30
34 34
35 #ifdef __cplusplus 35 #ifdef __cplusplus
36 extern "C" { 36 extern "C" {
37 #endif 37 #endif
38 38
39 _Bool knight_chkrules(Board board, Move *move); 39 _Bool knight_chkrules(Move *move);
40 _Bool knight_isblocked(Board board, Move *move); 40 #define knight_isblocked(b,m) FALSE
41 _Bool knight_getlocation(Board board, Move *move); 41 int knight_getlocation(Board board, Move *move);
42 42
43 #ifdef __cplusplus 43 #ifdef __cplusplus
44 } 44 }
45 #endif 45 #endif
46 46

mercurial