- void set_castle(int f, Square ksq, Square rsq);
- void set_castling_rights(char token);
- bool move_is_pl_slow(const Move m) const;
-
- // Helper functions for doing and undoing moves
- void do_capture_move(Key& key, PieceType capture, Color them, Square to, bool ep);
- void do_castle_move(Move m);
- void undo_castle_move(Move m);