diff options
Diffstat (limited to 'src/search.h')
| -rw-r--r-- | src/search.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/search.h b/src/search.h index 153b865..f613294 100644 --- a/src/search.h +++ b/src/search.h @@ -2,6 +2,7 @@ #define SEARCH_H #include "ints.h" +#include "bitboard.h" typedef u8 square_t; @@ -16,9 +17,11 @@ typedef struct { u32 capacity; } moves_t; -moves_t init_moves(); -moves_t init_moves_wcapacity(u32 capacity); -moves_t empty_moves(); +moves_t moves_init(); +moves_t moves_init_wcapacity(u32 capacity); +moves_t moves_empty(); void add_move(moves_t* moves, square_t from, square_t to); +void get_pawn_moves(moves_t* moves, position_t position); + #endif // !SEARCH_H |
