]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Remove even more redundancy in endgame functions handling
[stockfish] / src / position.h
index 2762d2f88f72392b35db97b33669b349c6164488..97166360ff390c101c828e455930fcbd9d59682a 100644 (file)
@@ -267,6 +267,7 @@ public:
   int see(Square from, Square to) const;
   int see(Move m) const;
   int see(Square to) const;
+  int see_sign(Move m) const;
 
   // Accessing hash keys
   Key get_key() const;
@@ -655,8 +656,8 @@ inline Value Position::non_pawn_material(Color c) const {
 inline Phase Position::game_phase() const {
 
   // Values modified by Joona Kiiski
-  static const Value MidgameLimit = Value(15713);
-  static const Value EndgameLimit = Value(4428);
+  static const Value MidgameLimit = Value(15581);
+  static const Value EndgameLimit = Value(3998);
 
   Value npm = non_pawn_material(WHITE) + non_pawn_material(BLACK);