struct StateInfo {
// Copied when making a move
- Key pawnKey;
Key materialKey;
Value nonPawnMaterial[COLOR_NB];
int castlingRights;
? k : k ^ make_key((st->rule50 - (14 - AfterMove)) / 8);
}
-inline Key Position::pawn_key() const {
- return st->pawnKey;
-}
-
inline Key Position::material_key() const {
return st->materialKey;
}