35 |
35 |
36 #ifdef __cplusplus |
36 #ifdef __cplusplus |
37 extern "C" { |
37 extern "C" { |
38 #endif |
38 #endif |
39 |
39 |
40 _Bool king_chkrules(Board board, Move *move); |
40 _Bool king_chkrules(GameState *gamestate, Move *move); |
41 _Bool king_isblocked(Board board, Move *move); |
41 _Bool king_isblocked(GameState *gamestate, Move *move); |
42 int king_getlocation(Board board, Move *move); |
42 int king_getlocation(GameState *gamestate, Move *move); |
43 |
43 |
44 #ifdef __cplusplus |
44 #ifdef __cplusplus |
45 } |
45 } |
46 #endif |
46 #endif |
47 |
47 |