-
- // Info backed up in do_move()
- union {
- UndoInfo undoInfoUnion;
- struct { // Must have the same layout of UndoInfo
- mutable Bitboard pinners[2], pinned[2], dcCandidates[2];
- Bitboard checkersBB;
- Key key, pawnKey, materialKey;
- int castleRights, rule50;
- Square epSquare;
- Move lastMove;
- Value mgValue, egValue;
- PieceType capture;
- };
- };