X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=27ec25a7e60d0ac270fd6bee175e8b61b07949e7;hp=a47098a8d61d200284bf0ab6dc0632cc73871594;hb=6cc11272e2834516cb331e1c229128002646fe29;hpb=74f1efee263aadcceb1df716ebd87776b932238a diff --git a/src/position.h b/src/position.h index a47098a8..27ec25a7 100644 --- a/src/position.h +++ b/src/position.h @@ -117,6 +117,7 @@ struct UndoInfo { class Position { friend class MaterialInfo; + friend class EndgameFunctions; public: // Constructors @@ -297,6 +298,7 @@ private: void allow_ooo(Color c); // Helper functions for doing and undoing moves + void do_capture_move(Move m, PieceType capture, Color them, Square to); void do_castle_move(Move m); void do_promotion_move(Move m, UndoInfo &u); void do_ep_move(Move m);