diff --git a/engine/include/bitboard.h b/engine/include/bitboard.h index 35f7feb..7ac5118 100644 --- a/engine/include/bitboard.h +++ b/engine/include/bitboard.h @@ -53,7 +53,7 @@ struct Move { uint8_t piece; uint8_t promo; uint8_t flags; -} +}; struct Board { uint64_t pieces[12]; // Each set of pieces get a bitboard for each player. @@ -73,4 +73,4 @@ void create_knight_attack_cache(); void create_pawn_attack_cache(); void create_king_attack_cache(); void print_board(); -int gen_pseudo_moves(const struct Board *b, Move *out, bool captures_only); \ No newline at end of file +int gen_pseudo_moves(struct Board *b, struct Move *out, bool captures_only); \ No newline at end of file