]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Expose EvalInfo struct to search
[stockfish] / src / search.h
index 73fa79aea88e6c4adda13665095696d14bb9ec4b..7fe2749cea74fbe204aaab167be7be8f55288d24 100644 (file)
@@ -25,6 +25,7 @@
 #include <stack>
 #include <vector>
 
+#include "evaluate.h"
 #include "misc.h"
 #include "position.h"
 #include "types.h"
@@ -47,6 +48,8 @@ struct Stack {
   Value staticEval;
   Value evalMargin;
   int skipNullMove;
+  int futilityMoveCount;
+  Eval::Info* ei;
 };
 
 
@@ -93,7 +96,6 @@ struct SignalsType {
 };
 
 typedef std::auto_ptr<std::stack<StateInfo> > StateStackPtr;
-typedef std::auto_ptr<std::vector<Move> > MovesVectPtr;
 
 extern volatile SignalsType Signals;
 extern LimitsType Limits;
@@ -102,7 +104,6 @@ extern Position RootPos;
 extern Color RootColor;
 extern Time::point SearchTime;
 extern StateStackPtr SetupStates;
-extern MovesVectPtr SetupMoves;
 
 extern void init();
 extern size_t perft(Position& pos, Depth depth);