From 71f38b3f3e2febcb713461e6d85527878ec76cda Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 16 Aug 2025 14:14:47 -0400 Subject: [PATCH] Fix struct --- engine/include/bitboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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