]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Extend all moves at low depth if ttMove is doubly extended
[stockfish] / src / types.h
index c2087c6c07b9e8fd84be7d3033c19da397f894b7..29c16ce7dbb8f877127f16e00cff5d618540fb56 100644 (file)
@@ -186,6 +186,9 @@ enum Value : int {
   VALUE_MATE_IN_MAX_PLY  =  VALUE_MATE - MAX_PLY,
   VALUE_MATED_IN_MAX_PLY = -VALUE_MATE_IN_MAX_PLY,
 
+  // In the code, we make the assumption that these values
+  // are such that non_pawn_material() can be used to uniquely
+  // identify the material on the board.
   PawnValueMg   = 126,   PawnValueEg   = 208,
   KnightValueMg = 781,   KnightValueEg = 854,
   BishopValueMg = 825,   BishopValueEg = 915,