X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=72932f778e9c07af6bcb9ce89e2822a8b78ddc61;hp=0f88944c106c24ba1571decc2fa4702ed9b3657a;hb=15e21911110f9d459c4fef2bb17903d97345d0b9;hpb=64d29a633066e39b62af5ee0bbf32645994744ec diff --git a/src/position.h b/src/position.h index 0f88944c..72932f77 100644 --- a/src/position.h +++ b/src/position.h @@ -83,7 +83,7 @@ public: // Text input/output void set(const std::string& fenStr, bool isChess960, Thread* th); const std::string fen() const; - const std::string pretty(Move m = MOVE_NONE) const; + const std::string pretty() const; // Position representation Bitboard pieces() const; @@ -146,6 +146,7 @@ public: // Accessing hash keys Key key() const; + Key key_after(Move m) const; Key exclusion_key() const; Key pawn_key() const; Key material_key() const; @@ -156,6 +157,7 @@ public: // Other properties of the position Color side_to_move() const; + Phase game_phase() const; int game_ply() const; bool is_chess960() const; Thread* this_thread() const;