- void do_allow_oo(Color c);
- void do_allow_ooo(Color c);
- bool 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);
- void find_checkers();
+ void set_castle_right(Color c, Square rfrom);
+ bool move_is_legal(const Move m) const;