diff options
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/board.h b/src/board.h index e3309e2..e24a130 100644 --- a/src/board.h +++ b/src/board.h @@ -13,8 +13,8 @@ typedef struct { Bitboard pieces[12]; BYTE side; - BYTE castling_rights; - BYTE en_passant_square; + BYTE castlingRights; + BYTE enPassantSquare; } Board; enum enumSquare { @@ -53,10 +53,10 @@ static const char* pieces[] = { #define notGFile 0xBFBFBFBFBFBFBFBF #define notHFile 0x7F7F7F7F7F7F7F7F -Board parse_FEN(char* FEN); +Board parseFEN(char* FEN); -void print_board(Board board); +void printBoard(Board board); -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); +void precomputeKnightAttackTable(Bitboard table[64]); +void precomputeKingAttackTable(Bitboard table[64]); +void precomputePawnAttackTable(Bitboard table[64], BYTE color); |