sq_attackers() + others (see dedails). Ready for move do/undo ?
- add many "const" in func parameters - attack.c: sq_attackers() - move print_board_raw from position.c to to board.c - move some fen_check() tests to pos_check() - add REL_RANK() macro. TODO: add one more for bitboards - fen.c: more tests for FEN validity - position.c: add pos_checkers() and pos_check() - tests: add common-test.h (for shared FEN positions access)
This commit is contained in:
@@ -65,7 +65,8 @@ static __always_inline rank_t sq_rank(square_t square)
|
||||
extern const char *sq_to_string(const square_t sq);
|
||||
extern square_t sq_from_string(const char *sq_string);
|
||||
|
||||
extern void board_print(piece_t *board);
|
||||
extern void board_print_mask(piece_t *board, bitboard_t mask);
|
||||
extern void board_print(const piece_t *board);
|
||||
extern void board_print_mask(const piece_t *board, const bitboard_t mask);
|
||||
extern void board_print_raw(const piece_t *board, const int type);
|
||||
|
||||
#endif /* _BOARD_H */
|
||||
|
Reference in New Issue
Block a user