X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=hash.h;h=5a77eb276a7aacc79ca9d6176dac3382d811b158;hb=acb140befabd8b0f1a8606470013b420d05b4fb7;hp=0986d1394ea7d98135d4a8bfb83c6aaf4a2a1d1e;hpb=64f72f31685ea1dff12b19b22cfaf7a53ccc079f;p=polyglot.git 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