moved imports from cpp files to headers + Makefile bugfix
This commit is contained in:
1 parent
67d6095aba
commit
f7d65e8af8
9 files changed
+97
-20
No files matched your search
+11
-6
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include <array>
|
||||
#include "bitboards.h"
|
||||
|
||||
// pawn attacks table [side][square]
|
||||
@@ -7,19 +6,25 @@ extern Bitboard pawnAttacks[2][64];
|
||||
extern Bitboard knightAttacks[64];
|
||||
extern Bitboard kingAttacks[64];
|
||||
|
||||
// generate pawn attacks
|
||||
// generate pawn masks
|
||||
Bitboard maskPawnAttacks(int square, int side);
|
||||
|
||||
// generate knight attacks
|
||||
// generate knight masks
|
||||
Bitboard maskKnightAttacks(int square);
|
||||
|
||||
// generate king attacks
|
||||
// generate king masks
|
||||
Bitboard maskKingAttacks(int square);
|
||||
|
||||
// generate bishop attacks
|
||||
// generate bishop masks
|
||||
Bitboard maskBishopAttacks(int square);
|
||||
|
||||
// generate rook attacks
|
||||
//generate bishop attacks
|
||||
Bitboard bishopAttacksOnTheFly(int square, Bitboard block);
|
||||
|
||||
// generate rook masks
|
||||
Bitboard maskRookAttacks(int square);
|
||||
|
||||
//generate rook attacks
|
||||
Bitboard rookAttacksOnTheFly(int square, Bitboard block);
|
||||
|
||||
void initLeaperAttacks();
|
||||
Reference in new issue
Block a user