src/chess/king.h

changeset 23
824c9522ce66
parent 19
6a26114297a1
child 47
d726e4b46c33
equal deleted inserted replaced
22:41bbfd4d17a3 23:824c9522ce66
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

mercurial