]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Simplify ThreatByKing to be a single Score.
[stockfish] / src / thread.h
index 1397449733d8f7eebbc303ce879ff1dc7954b7ff..f3dba3518de32c4fb4d5fa39350d0d2fffe6face 100644 (file)
@@ -60,8 +60,9 @@ public:
   Pawns::Table pawnsTable;
   Material::Table materialTable;
   Endgames endgames;
-  size_t PVIdx;
-  int selDepth, nmp_ply, nmp_odd;
+  size_t pvIdx, pvLast;
+  int selDepth, nmpMinPly;
+  Color nmpColor;
   std::atomic<uint64_t> nodes, tbHits;
 
   Position rootPos;
@@ -71,6 +72,7 @@ public:
   ButterflyHistory mainHistory;
   CapturePieceToHistory captureHistory;
   ContinuationHistory contHistory;
+  Score contempt;
 };
 
 
@@ -83,7 +85,6 @@ struct MainThread : public Thread {
   void search() override;
   void check_time();
 
-  bool failedLow;
   double bestMoveChanges, previousTimeReduction;
   Value previousScore;
   int callsCnt;