]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Move game phase constants to enum Value
[stockfish] / src / types.h
index ad72087a01300ac8073ea60595cad4930c9ababb..02b651dd9b124df4fc66d4e8c15dddd36afa2d76 100644 (file)
@@ -191,7 +191,9 @@ enum Value {
   KnightValueMg = 817,   KnightValueEg = 846,
   BishopValueMg = 836,   BishopValueEg = 857,
   RookValueMg   = 1270,  RookValueEg   = 1278,
-  QueenValueMg  = 2521,  QueenValueEg  = 2558
+  QueenValueMg  = 2521,  QueenValueEg  = 2558,
+
+  MidgameLimit  = 15581, EndgameLimit  = 3998
 };
 
 enum PieceType {