X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=5c1f7496d0b208da4984cb2302aaac9b0412ee48;hb=d8aeaab79ca6809f8ad6a650611e827a7cba8978;hp=f2c5cf7f7488cf1b5cca75cca41bbe4bbdb894d1;hpb=ad87d707fffeeac9aa1ae3e3e8d6fa2449ea1df9;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index f2c5cf7f..5c1f7496 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -124,8 +124,12 @@ namespace { S( 94, 99), S( 96,100), S(99,111), S(99,112) } }; - // Outpost[knight/bishop][supported by pawn] - const Score Outpost[2][2] = {{S(28,7), S(42,11)}, {S(12,3), S(18,5)}}; + // Outpost[knight/bishop][supported by pawn] contains bonuses for knights and bishops + // outposts, bigger if outpost piece is supported by a pawn. + const Score Outpost[][2] = { + { S(28, 7), S(42,11) }, // Knights + { S(12, 3), S(18, 5) } // Bishops + }; // Threat[defended/weak][minor/major attacking][attacked PieceType] contains // bonuses according to which piece type attacks which one.