X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=hash.h;h=5a77eb276a7aacc79ca9d6176dac3382d811b158;hp=0986d1394ea7d98135d4a8bfb83c6aaf4a2a1d1e;hb=e15efca6667b2673b4c1a5879a6917eab6800e58;hpb=0d182b4efac85dce968068bfe4509e52e9a30051 diff --git a/hash.h b/hash.h index 0986d13..5a77eb2 100644 --- a/hash.h +++ b/hash.h @@ -9,12 +9,16 @@ #include "board.h" #include "util.h" -// constants - -const int RandomPiece = 0; // 12 * 64 -const int RandomCastle = 768; // 4 -const int RandomEnPassant = 772; // 8 -const int RandomTurn = 780; // 1 +// defines + +#define RandomPiece 0 +// 12 * 64 +#define RandomCastle 768 +// 4 +#define RandomEnPassant 772 +// 8 +#define RandomTurn 780 +// 1 // functions