]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
MovePicker: take advantage of threat move for ordering
[stockfish] / src / movepick.h
index 110bc3b8faff0a87733965d0e43d7771a44e3800..5fff409259c1cfd8d1544b277c06c85715ede770 100644 (file)
@@ -28,7 +28,6 @@
 #include "depth.h"
 #include "lock.h"
 #include "position.h"
-#include "search.h"
 
 
 ////
@@ -36,6 +35,7 @@
 ////
 
 struct EvalInfo;
+struct SearchStack;
 
 /// MovePicker is a class which is used to pick one legal move at a time from
 /// the current position.  It is initialized with a Position object and a few
@@ -83,7 +83,7 @@ private:
   int find_best_index(Bitboard* squares, int values[]);
 
   const Position& pos;
-  Move ttMove, mateKiller, killer1, killer2;
+  Move ttMove, mateKiller, killer1, killer2, threatMove;
   Bitboard pinned, dc;
   MoveStack moves[256], badCaptures[64];
   bool pvNode;