fen2pos: no more pos_checkers etc... position.c: pos_check -> pos_ok (bool)

This commit is contained in:
2024-03-27 12:40:16 +01:00
parent 08ba989170
commit 09afd98971
5 changed files with 32 additions and 19 deletions

View File

@@ -169,7 +169,7 @@ movelist_t *pos_all_legal(const pos_t *pos, movelist_t *movelist, movelist_t *de
* - castling, if king passes an enemy-controlled square (not final square).
* When immediately known, a few move flags are also applied in these cases:
* - castling: M_CASTLE_{K,Q}
* - pawn capture (excl. en-passant): M_CAPTURE
* - capture (excl. en-passant): M_CAPTURE
* - en-passant: M_EN_PASSANT
* - pawn double push: M_DPUSH
* - promotion: M_PROMOTION