#define C_DISTANT 0xFF00
#define C_CONTACT 0x00FF
+typedef long long int Key;
+
int ply, nodeCount, forceMove, choice, rootMove, lastGameMove, rootScore, abortFlag, postThinking=1; // some frequently used data
int maxDepth=MAXPLY-2, timeControl=3000, mps=40, inc, timePerMove, timeLeft=1000; // TC parameters
#define KEY(A, B) (pieceKey[A]*(Key) squareKey[B])
-typedef long long int Key;
-
typedef struct { // 12 bytes
unsigned int lock;
short int score;