projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't need to expose namespace Zobrist
[stockfish]
/
src
/
types.h
diff --git
a/src/types.h
b/src/types.h
index 43b01bc9f6e13d8f324b2d33376b7d805a62ed76..ade9a620a47d5d70e63a71887f8310403a6f7c69 100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-328,15
+328,6
@@
inline Score operator/(Score s, int i) {
#undef ENABLE_OPERATORS_ON
#undef ENABLE_SAFE_OPERATORS_ON
#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];
extern Value PieceValue[PHASE_NB][PIECE_NB];
extern int SquareDistance[SQUARE_NB][SQUARE_NB];