aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-24 00:35:44 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-24 00:35:44 +0100
commit268706ec18c111f069f847e3e5573628ba908dd2 (patch)
tree3d883dbd1f00a71e27b3e66ce39c1aa9277f196c /FICS/board.h
parent33b454eb8f84bfd844621a70866b1d3b3d05bd80 (diff)
Moved variable declaration
Diffstat (limited to 'FICS/board.h')
-rw-r--r--FICS/board.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/board.h b/FICS/board.h
index 80b14a5..1be8cce 100644
--- a/FICS/board.h
+++ b/FICS/board.h
@@ -67,8 +67,6 @@
#define piecetype(p) ((p) & 0x7f)
#define square_color(r, f) ((((r) + (f)) & 0x01) ? BLACK : WHITE)
-extern int pieceValues[7];
-
/* Treated as [file][rank] */
typedef int board_t[8][8];
@@ -113,6 +111,8 @@ typedef struct _move_t {
extern char *wpstring[];
extern char *bpstring[];
+extern int pieceValues[7];
+
extern int board_init(game_state_t *, char *, char *);
extern void board_calc_strength(game_state_t *, int *, int *);
extern void update_holding(int, int);