X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=shogi.h;h=b90f5d36126ea91965013bf53f921a69f1c34798;hb=refs%2Fheads%2Ftest;hp=62800dd2453b40185c2e8b25dd51949730350fb5;hpb=6186adc13f7366b1ad78355b2693f2fa8269dd9e;p=bonanza.git diff --git a/shogi.h b/shogi.h index 62800dd..b90f5d3 100644 --- a/shogi.h +++ b/shogi.h @@ -8,9 +8,15 @@ #if defined(_WIN32) # include -# define CONV __fastcall +# ifdef _MSC_VER +# define CONV __fastcall +# else +# define CONV +# endif # define SCKT_NULL INVALID_SOCKET +# define WIN32_PIPE typedef SOCKET sckt_t; +char *strtok_r( char *s, const char *t, char **next); #else @@ -97,7 +103,7 @@ extern unsigned char ailast_one[512]; #define SEC_KEEP_ALIVE 180U #define TIME_RESPONSE 200U #define RESIGN_THRESHOLD ( ( MT_CAP_DRAGON * 5 ) / 8 ) -#define BNZ_VER "6.0" +#define BNZ_VER "6.0.WB2" #define REP_MAX_PLY 32 #define REP_HIST_LEN 256 @@ -956,7 +962,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 @@ -1272,7 +1280,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