]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Introduce enum SquareColor
[stockfish] / src / search.h
index 61a33242124f3f68515d4d87a9907af9a5c49a64..00e2cd4ac38b0349f7063c3a7de48518df1f16d8 100644 (file)
@@ -36,7 +36,6 @@
 
 const int PLY_MAX = 100;
 const int PLY_MAX_PLUS_2 = 102;
-const int KILLER_MAX = 2;
 
 
 ////
@@ -52,16 +51,12 @@ struct EvalInfo;
 struct SearchStack {
   Move currentMove;
   Move mateKiller;
-  Move threatMove;
   Move excludedMove;
   Move bestMove;
-  Move killers[KILLER_MAX];
+  Move killers[2];
   Depth reduction;
   Value eval;
   bool skipNullMove;
-
-  void init();
-  void initKillers();
 };