#include "board.h"\r
#include "util.h"\r
\r
-// constants\r
+// defined\r
\r
-const int MoveNone = 0; // HACK: a1a1 cannot be a legal move\r
+// HACK: a1a1 cannot be a legal move\r
+#define MoveNone (0) \r
\r
-const int MovePromoteKnight = 1 << 12;\r
-const int MovePromoteBishop = 2 << 12;\r
-const int MovePromoteRook = 3 << 12;\r
-const int MovePromoteQueen = 4 << 12;\r
-const int MoveFlags = 7 << 12;\r
+#define MovePromoteKnight (1 << 12)\r
+#define MovePromoteBishop (2 << 12)\r
+#define MovePromoteRook (3 << 12)\r
+#define MovePromoteQueen (4 << 12)\r
+#define MoveFlags (7 << 12)\r
\r
// types\r
\r