]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Decrypt some magics in bitboards definitions
[stockfish] / src / evaluate.h
index 754d52f618621131867fcd04ec967fb33412b386..0a37cd7c35b7e4c2dc4517d52bccaea9828d1afe 100644 (file)
@@ -47,8 +47,6 @@ class Position;
 
 struct EvalInfo {
 
-  EvalInfo() { kingDanger[0] = kingDanger[1] = Value(0); }
-
   // Middle game and endgame evaluations
   Score value;
 
@@ -89,11 +87,8 @@ struct EvalInfo {
   // 2 to kingAdjacentZoneAttacksCount[BLACK].
   int kingAdjacentZoneAttacksCount[2];
 
-  // Middle game and endgame mobility scores
-  Score mobility;
-
-  // Value of the danger for the king of the given color
-  Value kingDanger[2];
+  // Value of the score margin we should consider for the given color
+  Value margin[2];
 };