diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-02-24 22:49:43 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-02-24 22:49:43 +0530 |
| commit | 63fa6656749d1cdb6a54a001950048a9660f0d73 (patch) | |
| tree | 39c7e0586c2ad761d65f56bdfd6c96f6bbfdccb9 /src/search.h | |
| parent | 9cd36deffadc4f5ab83f08c2999407b31354027e (diff) | |
pawn forward movement works?
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 |
