add occ param in sq_attackers()
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "chessdefs.h"
|
||||
#include "bitboard.h"
|
||||
|
||||
extern bitboard_t sq_attackers(const pos_t *pos, const square_t sq, const color_t c);
|
||||
extern bitboard_t sq_attackers_all(const pos_t *pos, const square_t sq);
|
||||
extern bitboard_t sq_pinners(const pos_t *pos, const square_t sq, const color_t c);
|
||||
bitboard_t sq_attackers(const pos_t *pos, const bitboard_t occ, const square_t sq, const color_t c);
|
||||
bitboard_t sq_attackers_all(const pos_t *pos, const square_t sq);
|
||||
bitboard_t sq_pinners(const pos_t *pos, const square_t sq, const color_t c);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user