X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=7616eadc966414ac63e6189a8d4d58051ef4dfa6;hp=0951b4669cd28ee61d32771a602d68a484d95de4;hb=43f67eab5f55508e07e4e3d7cec885dc4e82036f;hpb=d23454854e72e1311363a8c98cd58a5d44c427f9 diff --git a/src/position.h b/src/position.h index 0951b466..7616eadc 100644 --- a/src/position.h +++ b/src/position.h @@ -158,9 +158,8 @@ public: void undo_null_move(); // Static exchange evaluation - int see(Move m) const; + int see(Move m, int asymmThreshold = 0) const; int see_sign(Move m) const; - int see_asymm(Move m, int asymmThreshold) const; // Accessing hash keys Key key() const; @@ -180,7 +179,7 @@ public: Thread* this_thread() const; int64_t nodes_searched() const; void set_nodes_searched(int64_t n); - template bool is_draw() const; + bool is_draw() const; // Position consistency check, for debugging bool pos_is_ok(int* failedStep = NULL) const; @@ -194,7 +193,6 @@ private: // Helper functions void do_castle(Square kfrom, Square kto, Square rfrom, Square rto); - template int do_see(Move m, int asymmThreshold) const; template Bitboard hidden_checkers() const; // Computing hash keys from scratch (for initialization and debugging)