]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Add a second level of follow-up moves
[stockfish] / src / search.h
index d722af1e63ab4e1c4dad848695e52230201d1520..73d8cdfa200cd28527f0e43aad2c868516008f81 100644 (file)
@@ -28,6 +28,9 @@
 #include "position.h"
 #include "types.h"
 
+template<typename T, bool CM> struct Stats;
+typedef Stats<Value, true> CounterMoveStats;
+
 namespace Search {
 
 /// Stack struct keeps track of the information we need to remember from nodes
@@ -43,6 +46,7 @@ struct Stack {
   Value staticEval;
   bool skipEarlyPruning;
   int moveCount;
+  CounterMoveStats* counterMoves;
 };
 
 /// RootMove struct is used for moves at the root of the tree. For each root move