- // Candidate passed pawn bonus by rank, middle game.
- const Value CandidateMidgameBonus[8] = {
- Value(0), Value(12), Value(12), Value(20),
- Value(40), Value(90), Value(0), Value(0)
- };
-
- // Candidate passed pawn bonus by rank, endgame.
- const Value CandidateEndgameBonus[8] = {
- Value(0), Value(24), Value(24), Value(40),
- Value(80), Value(180), Value(0), Value(0)
- };
-
- // Evaluate pawn storms?
- const bool EvaluatePawnStorms = true;
-
- // Pawn storm tables for positions with opposite castling:
- const int QStormTable[64] = {
- 0, 0, 0, 0, 0, 0, 0, 0,
- -22, -22, -22, -13, -4, 0, 0, 0,
- -4, -9, -9, -9, -4, 0, 0, 0,
- 9, 18, 22, 18, 9, 0, 0, 0,
- 22, 31, 31, 22, 0, 0, 0, 0,
- 31, 40, 40, 31, 0, 0, 0, 0,
- 31, 40, 40, 31, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0
- };
-
- const int KStormTable[64] = {
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, -4, -13, -22, -27, -27,
- 0, 0, 0, -4, -9, -13, -18, -18,
- 0, 0, 0, 0, 9, 9, 9, 9,
- 0, 0, 0, 0, 9, 18, 27, 27,
- 0, 0, 0, 0, 9, 27, 40, 36,
- 0, 0, 0, 0, 0, 31, 40, 31,
- 0, 0, 0, 0, 0, 0, 0, 0
- };
-
- // Pawn storm open file bonuses by file:
- const int KStormOpenFileBonus[8] = {
- 45, 45, 30, 0, 0, 0, 0, 0
- };
-
- const int QStormOpenFileBonus[8] = {
- 0, 0, 0, 0, 0, 30, 45, 30