mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Move game phase constants to enum Value
No functional change.
This commit is contained in:
@@ -27,10 +27,6 @@ using namespace std;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Values modified by Joona Kiiski
|
|
||||||
const Value MidgameLimit = Value(15581);
|
|
||||||
const Value EndgameLimit = Value(3998);
|
|
||||||
|
|
||||||
// Polynomial material balance parameters
|
// Polynomial material balance parameters
|
||||||
|
|
||||||
// pair pawn knight bishop rook queen
|
// pair pawn knight bishop rook queen
|
||||||
|
|||||||
@@ -191,7 +191,9 @@ enum Value {
|
|||||||
KnightValueMg = 817, KnightValueEg = 846,
|
KnightValueMg = 817, KnightValueEg = 846,
|
||||||
BishopValueMg = 836, BishopValueEg = 857,
|
BishopValueMg = 836, BishopValueEg = 857,
|
||||||
RookValueMg = 1270, RookValueEg = 1278,
|
RookValueMg = 1270, RookValueEg = 1278,
|
||||||
QueenValueMg = 2521, QueenValueEg = 2558
|
QueenValueMg = 2521, QueenValueEg = 2558,
|
||||||
|
|
||||||
|
MidgameLimit = 15581, EndgameLimit = 3998
|
||||||
};
|
};
|
||||||
|
|
||||||
enum PieceType {
|
enum PieceType {
|
||||||
|
|||||||
Reference in New Issue
Block a user