diff options
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/board.h b/src/board.h index 11b0c71..cf89794 100644 --- a/src/board.h +++ b/src/board.h @@ -56,9 +56,11 @@ static const char* pieces[] = { "♚", "♔", }; -void precompute_knight_attack_table(); -void precompute_king_attack_table(); void print_bitboard(Bitboard bb); int pop_count(Bitboard bb); void print_board(Board board); Board parse_FEN(char* FEN); + +void precompute_knight_attack_table(Bitboard table[64]); +void precompute_king_attack_table(Bitboard table[64]); +void precompute_pawn_attack_table(Bitboard table[64], BYTE color); |