]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Introduce CheckInfo struct
[stockfish] / src / evaluate.h
index 2531182af244a95fe55cba173cbb5762b6568b63..cf56a58aa4a3cb042af7b9d3f54a2b0730e19d3c 100644 (file)
@@ -25,6 +25,8 @@
 //// Includes
 ////
 
+#include <iostream>
+
 #include "material.h"
 #include "pawns.h"
 
@@ -46,7 +48,7 @@ class Position;
 struct EvalInfo {
 
   // Middle game and endgame evaluations
-  Value mgValue, egValue;
+  Score value;
 
   // Pointers to material and pawn hash table entries
   MaterialInfo* mi;
@@ -89,7 +91,7 @@ struct EvalInfo {
   Move mateThreat[2];
 
   // Middle game and endgame mobility scores.
-  Value mgMobility, egMobility;
+  Score mobility;
 
   // Extra futility margin. This is added to the standard futility margin
   // in the quiescence search.