]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Introduce MovePicker::isBadCapture() and use in probcut
[stockfish] / src / movepick.h
index adae851dc87d7387f336eb8eeb82d04f48b30f28..fb3d4a62da030af55793b464da69c66c43dcf652 100644 (file)
@@ -43,6 +43,7 @@ public:
   MovePicker(const Position&, Move, Depth, const History&, SearchStack*, Value);
   MovePicker(const Position&, Move, Depth, const History&);
   Move get_next_move();
+  bool isBadCapture() const;
 
 private:
   void score_captures();
@@ -57,7 +58,7 @@ private:
   int badCaptureThreshold, phase;
   const uint8_t* phasePtr;
   MoveStack *curMove, *lastMove, *lastGoodNonCapture, *badCaptures;
-  MoveStack moves[MOVES_MAX];
+  MoveStack moves[MAX_MOVES];
 };
 
 #endif // !defined(MOVEPICK_H_INCLUDED)