From 268706ec18c111f069f847e3e5573628ba908dd2 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 24 Dec 2023 00:35:44 +0100 Subject: Moved variable declaration --- FICS/board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') 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); -- cgit v1.2.3