From 82fa749ad4dee34c56258446a26b69848c56d555 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Dec 2023 23:29:38 +0100 Subject: Moved define --- FICS/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FICS/board.c b/FICS/board.c index 39f770d..9e64178 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -38,6 +38,8 @@ #define SquareColor(f, r) ((f ^ r) & 1) +#define IsMachineStyle(n) (((1<<(n)) & mach_type) != 0) + extern int style1(); extern int style2(); extern int style3(); @@ -73,7 +75,6 @@ PUBLIC int (*styleFuncs[MAX_STYLES]) () = { }; PRIVATE const int mach_type = (1<<7) | (1<<8) | (1<<9) | (1<<10) | (1<<11); -#define IsMachineStyle(n) (((1<<(n)) & mach_type) != 0) PRIVATE char bstring[MAX_BOARD_STRING_LEGTH]; -- cgit v1.2.3