Add files via upload
This commit is contained in:
1 parent
98e3f3ca87
commit
9976cb0968
3 files changed
+90
-9
No files matched your search
@@ -4,8 +4,19 @@
|
||||
|
||||
// pawn attacks table [side][square]
|
||||
extern Bitboard pawnAttacks[2][64];
|
||||
extern Bitboard knightAttacks[64];
|
||||
extern Bitboard kingAttacks[64];
|
||||
|
||||
// generate pawn attacks
|
||||
Bitboard maskPawnAttacks(int square, int side);
|
||||
|
||||
// generate knight attacks
|
||||
Bitboard maskKnightAttacks(int square);
|
||||
|
||||
// generate king attacks
|
||||
Bitboard maskKingAttacks(int square);
|
||||
|
||||
// generate bishop attacks
|
||||
Bitboard maskBishopAttacks(int square);
|
||||
|
||||
void initLeaperAttacks();
|
||||
Reference in new issue
Block a user