diff options
Diffstat (limited to 'src/hash.hpp')
| -rw-r--r-- | src/hash.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/hash.hpp b/src/hash.hpp new file mode 100644 index 0000000..6253363 --- /dev/null +++ b/src/hash.hpp @@ -0,0 +1,14 @@ +#ifndef SRC_HASH_H_ +#define SRC_HASH_H_ + +#include "board/board.hpp" +#include <cstdint> + +void InitHashing(); +uint64_t GenerateHashFromScratch(Game *b); +void xorCastleKey(bool color, bool IS_KING_SIDE, Game *g); +void xorSidekey(Game *g); +void xorEnpassantKey(Game *g); +void xorSquare(uint8_t square, Game *g); + +#endif /* SRC_HASH_H_ */ |
