diff --git a/src/evaluate.cpp b/src/evaluate.cpp index c1df7c86..f93afad5 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -170,13 +170,13 @@ namespace { // Bonus for unstoppable passed pawns const Value UnstoppablePawnValue = Value(0x500); - // Rooks and queens on the 7th rank + // Rooks and queens on the 7th rank (modified by Joona Kiiski) const Value MidgameRookOn7thBonus = Value(47); const Value EndgameRookOn7thBonus = Value(98); const Value MidgameQueenOn7thBonus = Value(27); const Value EndgameQueenOn7thBonus = Value(54); - // Rooks on open files + // Rooks on open files (modified by Joona Kiiski) const Value RookOpenFileBonus = Value(43); const Value RookHalfOpenFileBonus = Value(19); diff --git a/src/material.cpp b/src/material.cpp index c1c3c3c2..8a13d115 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -37,6 +37,7 @@ using std::string; namespace { + // Values modified by Joona Kiiski const Value BishopPairMidgameBonus = Value(109); const Value BishopPairEndgameBonus = Value(97); diff --git a/src/value.h b/src/value.h index b5f56c06..3e41be48 100644 --- a/src/value.h +++ b/src/value.h @@ -93,7 +93,7 @@ const Value PieceValueEndgame[17] = { Value(0), Value(0), Value(0) }; -/// Bonus for having the side to move +/// Bonus for having the side to move (modified by Joona Kiiski) const Value TempoValueMidgame = Value(48); const Value TempoValueEndgame = Value(21);