#include "common.h"
#include "position.h"
#include "attacks.h"
#include "misc.h"
#include "hash.h"
#include "sqmove.h"
#include "dstring.h"
#include "movegen.h"
#include <algorithm>
Go to the source code of this file.
◆ HASH
#define HASH |
( |
|
h, |
|
|
|
p, |
|
|
|
sq |
|
) |
| (h) ^= hashVal[(p)][(sq)] |
◆ POSSIBLE_CAPTURE
#define POSSIBLE_CAPTURE |
( |
|
d | ) |
|
Value: || (d == EPTarget && IsValidEnPassant(from,d))))
const squareT NULL_SQUARE
colorT color_Flip(colorT c)
colorT piece_Color(pieceT p)
◆ UNHASH
#define UNHASH |
( |
|
h, |
|
|
|
p, |
|
|
|
sq |
|
) |
| (h) ^= hashVal[(p)][(sq)] |
◆ randomPawnSquare()
◆ randomSquare()
◆ sqDir
◆ sqDir_Init_singleton