]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Initialize futilityMargin in EvalInfo c'tor
[stockfish] / src / search.h
index 91f484a1a344a4d400ef792817f8d2f761df015d..db9bef3c69fec6bed8d21a0386a08972321b7160 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "depth.h"
 #include "move.h"
+#include "value.h"
 
 
 ////
@@ -54,6 +55,7 @@ struct SearchStack {
   Move threatMove;
   Move killers[KILLER_MAX];
   Depth reduction;
+  Value eval;
 
   void init(int ply);
   void initKillers();
@@ -69,6 +71,7 @@ extern void stop_threads();
 extern bool think(const Position &pos, bool infinite, bool ponder, int side_to_move,
                   int time[], int increment[], int movesToGo, int maxDepth,
                   int maxNodes, int maxTime, Move searchMoves[]);
+extern int perft(Position &pos, Depth depth);
 extern int64_t nodes_searched();