]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Clarify definition of capture_or_promotion()
[stockfish] / src / types.h
index 94c291f6b5383bd9400e48471f1a1b8c70eb82e4..581dc768274e22b5b5c1feadf58bbd1f5916c503 100644 (file)
@@ -236,10 +236,10 @@ enum Rank {
 };
 
 
-/// The Score enum stores a midgame and an endgame value in a single integer
+/// The Score enum stores a middlegame and an endgame value in a single integer
 /// (enum). The least significant 16 bits are used to store the endgame value
-/// and the upper 16 bits are used to store the midgame value. The compiler is
-/// free to choose the enum type as long as it can store the data, so we
+/// and the upper 16 bits are used to store the middlegame value. The compiler
+/// is free to choose the enum type as long as it can store the data, so we
 /// ensure that Score is an integer type by assigning some big int values.
 enum Score {
   SCORE_ZERO,