aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 23:29:38 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 23:29:38 +0100
commit82fa749ad4dee34c56258446a26b69848c56d555 (patch)
treea9069f5e71822777e42036daf518976d3e766bdd /FICS/board.c
parentab1670dfdad32913227e10ca67ef086e74a0e3f5 (diff)
Moved define
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c3
1 files changed, 2 insertions, 1 deletions
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];