mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Use score and value consistently
And other assorted small fixing, code style tweaks and reshuffles in evaluate.cpp No functional change.
This commit is contained in:
+2
-2
@@ -32,7 +32,7 @@ namespace Pawns {
|
||||
|
||||
struct Entry {
|
||||
|
||||
Score pawns_value() const { return value; }
|
||||
Score pawns_score() const { return score; }
|
||||
Bitboard pawn_attacks(Color c) const { return pawnAttacks[c]; }
|
||||
Bitboard passed_pawns(Color c) const { return passedPawns[c]; }
|
||||
|
||||
@@ -65,7 +65,7 @@ struct Entry {
|
||||
Value shelter_storm(const Position& pos, Square ksq);
|
||||
|
||||
Key key;
|
||||
Score value;
|
||||
Score score;
|
||||
Bitboard passedPawns[COLOR_NB];
|
||||
Bitboard pawnAttacks[COLOR_NB];
|
||||
Square kingSquares[COLOR_NB];
|
||||
|
||||
Reference in New Issue
Block a user