-struct ReducedStateInfo {
- Key pawnKey, materialKey;
- Value npMaterial[COLOR_NB];
- int castleRights, rule50, pliesFromNull;
- Score psqScore;
- Square epSquare;
-};
+
+/// When making a move the current StateInfo up to 'key' excluded is copied to
+/// the new one. Here we calculate the quad words (64bits) needed to be copied.
+const size_t StateCopySize64 = offsetof(StateInfo, key) / sizeof(uint64_t) + 1;