X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=3303a3db04ac4a85fedc3f77d357b448e99297b8;hp=ba4caf13a48f3a63023b1810f0c0ccf3712bcce4;hb=b4cb1a3a9e731015723924432293357fcdd203bc;hpb=4251eac8601af47d1ee2d6f613f00a4bf00fedbb diff --git a/src/position.h b/src/position.h index ba4caf13..3303a3db 100644 --- a/src/position.h +++ b/src/position.h @@ -98,7 +98,6 @@ struct StateInfo { StateInfo* previous; }; -class TranspositionTable; /// The position data structure. A position consists of the following data: /// @@ -259,7 +258,6 @@ public: void undo_move(Move m); void do_null_move(StateInfo& st); void undo_null_move(); - void setTranspositionTable(TranspositionTable* tt); // Static exchange evaluation int see(Square from, Square to) const; @@ -312,12 +310,9 @@ private: void allow_ooo(Color c); // Helper functions for doing and undoing moves - void do_capture_move(PieceType capture, Color them, Square to); + void do_capture_move(PieceType capture, Color them, Square to, bool ep); void do_castle_move(Move m); - void do_promotion_move(Move m); - void do_ep_move(Move m); void undo_castle_move(Move m); - void undo_promotion_move(Move m); void undo_ep_move(Move m); void find_checkers(); @@ -358,7 +353,6 @@ private: File initialKFile, initialKRFile, initialQRFile; StateInfo startState; StateInfo* st; - TranspositionTable* TT; // Static variables static int castleRightsMask[64];