mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Don't need to expose namespace Zobrist
It can be local to position.cpp No functional change.
This commit is contained in:
@@ -328,15 +328,6 @@ inline Score operator/(Score s, int i) {
|
||||
#undef ENABLE_OPERATORS_ON
|
||||
#undef ENABLE_SAFE_OPERATORS_ON
|
||||
|
||||
namespace Zobrist {
|
||||
|
||||
extern Key psq[COLOR_NB][PIECE_TYPE_NB][SQUARE_NB];
|
||||
extern Key enpassant[FILE_NB];
|
||||
extern Key castle[CASTLE_RIGHT_NB];
|
||||
extern Key side;
|
||||
extern Key exclusion;
|
||||
}
|
||||
|
||||
extern Value PieceValue[PHASE_NB][PIECE_NB];
|
||||
extern int SquareDistance[SQUARE_NB][SQUARE_NB];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user