From: H.G.Muller Date: Mon, 15 May 2017 19:54:37 +0000 (+0200) Subject: Move Key declaration upstream X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=72c73f50b89e4da884c36d90c421e82ae8d2b620;p=crazywa.git Move Key declaration upstream --- diff --git a/dropper.c b/dropper.c index 4d86e30..1200942 100644 --- a/dropper.c +++ b/dropper.c @@ -34,6 +34,8 @@ #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 @@ -690,8 +692,6 @@ Debug () #define KEY(A, B) (pieceKey[A]*(Key) squareKey[B]) -typedef long long int Key; - typedef struct { // 12 bytes unsigned int lock; short int score;