summaryrefslogtreecommitdiff
path: root/include/engine/moves.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-18 18:45:15 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-18 18:45:15 +0530
commitc9d9bddf3df97ef7987c9824747ec1602522b542 (patch)
tree449acf383fb10ccf2210d9af96515275b52cf1a9 /include/engine/moves.h
parent9395e857db95481f6e2494d3a841632be0ff97c8 (diff)
zobrist hashing
Diffstat (limited to 'include/engine/moves.h')
-rw-r--r--include/engine/moves.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/engine/moves.h b/include/engine/moves.h
index 755a77a..cd71cdc 100644
--- a/include/engine/moves.h
+++ b/include/engine/moves.h
@@ -68,6 +68,7 @@ void get_moves(moves_t *moves, position_t position);
bool square_attacked(position_t position, square_t square, u8 by_color);
void get_legal_moves(moves_t *moves, position_t position);
+int find_piece_on_square(position_t* p, int square);
#ifdef MOVES_INTERNAL
void __forloop_rook_moves_gen(