Fix force mode after setboard
[bonanza.git] / shogi.h
diff --git a/shogi.h b/shogi.h
index 23a7329..8c55744 100644 (file)
--- a/shogi.h
+++ b/shogi.h
@@ -956,6 +956,9 @@ extern const int aikkp_hand[8];
 extern const char ach_turn[2];
 extern const unsigned char aifile[ nsquare ];
 extern const unsigned char airank[ nsquare ];
+extern int root_pos[];            // [HGM] remembers root position during pondering
+extern int move_list[], move_ptr; // [HGM] undo: game history (used in proce.c and makemove.c)
+extern char analyze_mode;         // [HGM] exclude: used in proce.c and root.c
 
 #if defined(DFPN_CLIENT)
 #  define DFPN_CLIENT_SIZE_SIGNATURE 64
@@ -1271,7 +1274,7 @@ extern char client_str_pwd[256];
 extern sckt_t sckt_csa;
 #endif
 
-#if defined(MNJ_LAN) || defined(USI)
+#if defined(MNJ_LAN) || defined(USI) || defined(XBOARD)
 extern unsigned int moves_ignore[MAX_LEGAL_MOVES];
 #endif