Subversion Repositories Games.Chess Giants

Rev

Rev 33 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 108
Line 15... Line 15...
15
extern int allow_cores;
15
extern int allow_cores;
16
extern int allow_memory;
16
extern int allow_memory;
17
extern int initialized;
17
extern int initialized;
18
extern int early_exit;
18
extern int early_exit;
19
extern int new_game;
19
extern int new_game;
20
extern uint64_t burner[10];
-
 
21
extern int burnc[10];
-
 
22
extern char *AK_list[128];
20
extern char *AK_list[128];
23
extern char *GM_list[128];
21
extern char *GM_list[128];
24
extern char *IM_list[128];
22
extern char *IM_list[128];
25
extern char *B_list[128];
23
extern char *B_list[128];
26
extern char *SP_list[128];
24
extern char *SP_list[128];
Line 33... Line 31...
33
extern FILE *computer_bs_file;
31
extern FILE *computer_bs_file;
34
extern FILE *history_file;
32
extern FILE *history_file;
35
extern FILE *log_file;
33
extern FILE *log_file;
36
extern int log_id;
34
extern int log_id;
37
extern int output_format;
35
extern int output_format;
38
 
-
 
39
#  if !defined(NOEGTB)
36
#  if !defined(NOEGTB)
40
extern int EGTBlimit;
37
extern int EGTBlimit;
41
extern int EGTB_draw;
-
 
42
extern int EGTB_search;
-
 
43
extern int EGTB_use;
38
extern int EGTB_use;
-
 
39
extern int EGTB_draw;
-
 
40
extern int EGTB_depth;
44
extern void *EGTB_cache;
41
extern void *EGTB_cache;
45
extern size_t EGTB_cache_size;
42
extern size_t EGTB_cache_size;
46
extern int EGTB_setup;
43
extern int EGTB_setup;
47
#  endif
44
#  endif
48
extern int done;
-
 
49
extern int last_mate_score;
45
extern int last_mate_score;
50
extern int last_opponent_move;
46
extern int last_opponent_move;
51
extern int check_depth;
47
extern int check_depth;
52
extern int null_depth;
48
extern int null_depth;
-
 
49
extern int null_divisor;
53
extern int LMR_remaining_depth;
50
extern int LMR_rdepth;
54
extern int LMR_min_reduction;
51
extern int LMR_min;
55
extern int LMR_max_reduction;
52
extern int LMR_max;
-
 
53
extern double LMR_db;
-
 
54
extern double LMR_mb;
-
 
55
extern double LMR_s;
-
 
56
extern uint8_t LMR[32][64];
-
 
57
extern int rep_index;
56
extern int pgn_suggested_percent;
58
extern int pgn_suggested_percent;
57
extern char pgn_event[128];
59
extern char pgn_event[128];
58
extern char pgn_date[128];
60
extern char pgn_date[128];
59
extern char pgn_round[128];
61
extern char pgn_round[128];
60
extern char pgn_site[128];
62
extern char pgn_site[128];
Line 69... Line 71...
69
extern int solutions[10];
71
extern int solutions[10];
70
extern int solution_type;
72
extern int solution_type;
71
extern int abs_draw_score;
73
extern int abs_draw_score;
72
extern int accept_draws;
74
extern int accept_draws;
73
extern int offer_draws;
75
extern int offer_draws;
-
 
76
extern int dynamic_draw_score;
74
extern int adaptive_hash;
77
extern int adaptive_hash;
75
extern size_t adaptive_hash_min;
78
extern size_t adaptive_hash_min;
76
extern size_t adaptive_hash_max;
79
extern size_t adaptive_hash_max;
77
extern size_t adaptive_hashp_min;
80
extern size_t adaptive_hashp_min;
78
extern size_t adaptive_hashp_max;
81
extern size_t adaptive_hashp_max;
79
extern int over;
82
extern int over;
80
extern int xboard;
83
extern int xboard;
-
 
84
extern int xboard_done;
81
extern int pong;
85
extern int pong;
82
extern char book_path[128];
86
extern char book_path[128];
83
extern char log_path[128];
87
extern char log_path[128];
84
extern char tb_path[128];
88
extern char tb_path[128];
85
extern char rc_path[128];
89
extern char rc_path[128];
Line 92... Line 96...
92
extern int kibitz;
96
extern int kibitz;
93
extern int game_wtm;
97
extern int game_wtm;
94
extern int last_search_value;
98
extern int last_search_value;
95
extern int pruning_margin[10];
99
extern int pruning_margin[10];
96
extern int pruning_depth;
100
extern int pruning_depth;
-
 
101
extern int movecnt_pruning[4];
-
 
102
extern int movecnt_depth;
97
extern int failhi_delta, faillo_delta;
103
extern int failhi_delta, faillo_delta;
98
extern int ponder_value;
104
extern int ponder_value;
99
extern int move_actually_played;
105
extern int move_actually_played;
100
extern int analyze_mode;
106
extern int analyze_mode;
101
extern int annotate_mode;
107
extern int annotate_mode;
Line 110... Line 116...
110
extern int draw_count;
116
extern int draw_count;
111
extern int draw_offer_pending;
117
extern int draw_offer_pending;
112
extern int draw_offered;
118
extern int draw_offered;
113
extern char audible_alarm;
119
extern char audible_alarm;
114
extern char speech;
120
extern char speech;
115
extern char hint[512];
121
extern char ponder_text[512];
116
extern char book_hint[512];
122
extern char book_hint[512];
117
extern int post;
123
extern int post;
118
extern int search_depth;
124
extern int search_depth;
119
extern /*uint64_t*/ unsigned int search_nodes; // Pierre-Marie Baty -- fixed type
125
extern uint64_t search_nodes;
120
extern /*uint64_t*/ unsigned int temp_search_nodes; // Pierre-Marie Baty -- fixed type
126
extern uint64_t temp_search_nodes;
121
extern int search_move;
127
extern int search_move;
122
extern int ponder;
128
extern int ponder;
123
extern int ponder_move;
129
extern int ponder_move;
124
extern int force;
130
extern int force;
125
extern int ponder_moves[220];
131
extern unsigned ponder_moves[256];
126
extern int num_ponder_moves;
132
extern int num_ponder_moves;
127
extern char initial_position[80];
133
extern char initial_position[80];
128
extern int predicted;
134
extern int predicted;
129
extern int trace_level;
135
extern int trace_level;
130
extern int book_move;
136
extern int book_move;
Line 139... Line 145...
139
extern int show_book;
145
extern int show_book;
140
extern int learn;
146
extern int learn;
141
extern int learning;
147
extern int learning;
142
extern int learn_value;
148
extern int learn_value;
143
extern int abort_search;
149
extern int abort_search;
144
extern int iteration_depth;
150
extern int iteration;
145
extern int root_wtm;
151
extern int root_wtm;
146
extern int root_beta;
-
 
147
extern int last_root_value;
152
extern int last_root_value;
148
extern ROOT_MOVE root_moves[256];
153
extern ROOT_MOVE root_moves[256];
149
extern int n_root_moves;
154
extern int n_root_moves;
150
extern int difficulty;
155
extern int difficulty;
151
extern int time_limit;
156
extern int time_limit;
152
extern int absolute_time_limit;
157
extern int absolute_time_limit;
153
extern int search_time_limit;
158
extern int search_time_limit;
154
extern int burp;
159
extern int burp;
155
extern int quit;
160
extern int quit;
156
extern unsigned int opponent_start_time, opponent_end_time;
161
extern unsigned opponent_start_time, opponent_end_time;
157
extern unsigned int program_start_time, program_end_time;
162
extern unsigned program_start_time, program_end_time;
158
extern unsigned int start_time, end_time;
163
extern unsigned start_time, end_time;
159
extern TREE *block[MAX_BLOCKS + 1];
164
extern TREE *block[MAX_BLOCKS + 1];
160
extern THREAD thread[CPUS];
165
extern THREAD thread[CPUS];
161
#  if (CPUS > 1)
166
#  if (CPUS > 1)
162
extern lock_t lock_split, lock_smp, lock_io, lock_root;
167
extern lock_t lock_smp, lock_io;
163
 
-
 
164
#    if defined(UNIX)
168
#    if defined(UNIX)
165
extern pthread_attr_t attributes;
169
extern pthread_attr_t attributes;
166
#    endif
170
#    endif
167
#  endif
171
#  endif
168
extern int smp_max_threads;
172
extern unsigned int smp_max_threads;
169
extern int smp_split_group;
173
extern unsigned int smp_split_group;
170
extern int smp_split_at_root;
174
extern unsigned int smp_split_at_root;
171
extern int smp_min_split_depth;
175
extern unsigned int smp_min_split_depth;
-
 
176
extern unsigned int smp_gratuitous_depth;
-
 
177
extern unsigned int smp_gratuitous_limit;
-
 
178
extern int smp_affinity;
-
 
179
extern int smp_numa;
-
 
180
extern int autotune_params;
-
 
181
extern struct autotune tune[16];
172
extern unsigned int smp_split_nodes;
182
extern unsigned smp_split_nodes;
173
extern unsigned int parallel_splits;
183
extern unsigned parallel_splits;
174
extern unsigned int parallel_aborts;
184
extern unsigned parallel_splits_wasted;
175
extern unsigned int idle_time;
185
extern unsigned parallel_aborts;
176
extern unsigned int max_split_blocks;
186
extern unsigned parallel_joins;
177
extern unsigned int idle_percent;
187
extern unsigned busy_percent;
178
extern volatile int smp_idle;
188
extern uint64_t game_max_blocks;
179
extern volatile int smp_split;
189
extern volatile int smp_split;
180
extern volatile int smp_threads;
190
extern volatile int smp_threads;
181
extern volatile int initialized_threads;
191
extern volatile int initialized_threads;
182
extern int crafty_is_white;
192
extern int crafty_is_white;
183
extern unsigned int nodes_between_time_checks;
193
extern unsigned nodes_between_time_checks;
184
extern unsigned int nodes_per_second;
194
extern unsigned nodes_per_second;
185
extern int next_time_check;
195
extern int next_time_check;
186
extern int transposition_age;
196
extern int transposition_age;
187
extern int thinking;
197
extern int thinking;
188
extern int pondering;
198
extern int pondering;
189
extern int puzzling;
199
extern int puzzling;
190
extern int booking;
200
extern int booking;
191
extern int display_options;
201
extern int display_options;
192
extern unsigned int noise_level;
202
extern unsigned noise_level;
193
extern int noise_block;
203
extern int noise_block;
194
extern int tc_moves;
204
extern int tc_moves;
195
extern int tc_time;
205
extern int tc_time;
196
extern int tc_time_remaining[2];
206
extern int tc_time_remaining[2];
197
extern int tc_moves_remaining[2];
207
extern int tc_moves_remaining[2];
198
extern int tc_secondary_moves;
208
extern int tc_secondary_moves;
199
extern int tc_secondary_time;
209
extern int tc_secondary_time;
200
extern int tc_increment;
210
extern int tc_increment;
201
extern int tc_sudden_death;
211
extern int tc_sudden_death;
202
extern int tc_operator_time;
-
 
203
extern int tc_safety_margin;
212
extern int tc_safety_margin;
204
extern int draw_score[2];
213
extern int draw_score[2];
205
extern char kibitz_text[4096];
214
extern char kibitz_text[4096];
206
extern int kibitz_depth;
215
extern int kibitz_depth;
207
extern int move_number;
216
extern int move_number;
208
extern int moves_out_of_book;
217
extern int moves_out_of_book;
209
extern int first_nonbook_factor;
218
extern int first_nonbook_factor;
210
extern int first_nonbook_span;
219
extern int first_nonbook_span;
211
extern int smp_nice;
220
extern int smp_nice;
212
 
-
 
213
#  if defined(SKILL)
221
#  if defined(SKILL)
214
extern int skill;
222
extern int skill;
215
#  endif
223
#  endif
216
extern int book_learn_eval[LEARN_INTERVAL];
224
extern int book_learn_eval[LEARN_INTERVAL];
217
extern int book_learn_depth[LEARN_INTERVAL];
225
extern int book_learn_depth[LEARN_INTERVAL];
Line 223... Line 231...
223
extern int book_learn_nmoves;
231
extern int book_learn_nmoves;
224
extern int book_learn_seekto;
232
extern int book_learn_seekto;
225
extern int usage_level;
233
extern int usage_level;
226
extern size_t hash_table_size;
234
extern size_t hash_table_size;
227
extern size_t hash_path_size;
235
extern size_t hash_path_size;
-
 
236
extern uint64_t hash_mask;
-
 
237
extern uint64_t mask_clear_entry;
228
extern uint64_t hash_path_mask;
238
extern uint64_t hash_path_mask;
229
extern size_t pawn_hash_table_size;
239
extern size_t pawn_hash_table_size;
230
extern uint64_t hash_mask;
-
 
231
extern uint64_t pawn_hash_mask;
240
extern uint64_t pawn_hash_mask;
-
 
241
extern size_t eval_hash_table_size;
-
 
242
extern uint64_t eval_hash_mask;
232
extern HASH_ENTRY *trans_ref;
243
extern HASH_ENTRY *hash_table;
233
extern HPATH_ENTRY *hash_path;
244
extern HPATH_ENTRY *hash_path;
234
extern PAWN_HASH_ENTRY *pawn_hash_table;
245
extern PAWN_HASH_ENTRY *pawn_hash_table;
-
 
246
extern uint64_t *eval_hash_table;
235
extern void *segments[MAX_BLOCKS + 32][2];
247
extern void *segments[MAX_BLOCKS + 32][2];
236
extern int nsegments;
248
extern int nsegments;
237
extern const int p_values[13];
-
 
238
extern const int pcval[7];
249
extern const int pcval[7];
239
extern const int p_vals[7];
250
extern const int p_vals[7];
-
 
251
extern const int MVV_LVA[7][7];
240
extern const int pieces[2][7];
252
extern const int pieces[2][7];
-
 
253
extern const int lower_n;
-
 
254
extern const int lower_b;
-
 
255
extern const int mobility_score_n[4];
-
 
256
extern const int mobility_score_b[4];
-
 
257
extern const int mobility_score_r[4];
-
 
258
extern const int mob_curve_r[48];
241
extern PATH last_pv;
259
extern PATH last_pv;
242
extern int last_value;
260
extern int last_value;
243
extern const char translate[13];
261
extern const char translate[13];
244
extern const char empty_sqs[9];
262
extern const char empty_sqs[9];
245
extern const char square_color[64];
-
 
246
extern int knight_outpost[2][64];
-
 
247
extern int bishop_outpost[2][64];
-
 
248
extern int passed_pawn_hidden[2];
-
 
249
extern int doubled_pawn_value[2];
-
 
250
extern int outside_passed[2];
-
 
251
extern int pawn_defects[2][8];
-
 
252
extern int open_file[8];
-
 
253
extern int half_open_file[8];
-
 
254
extern int imbalance[9][9];
-
 
255
extern int pp_dist_bonus[8];
-
 
256
extern int king_tropism_n[8];
-
 
257
extern int king_tropism_b[8];
-
 
258
extern int king_tropism_r[8];
-
 
259
extern int king_tropism_q[8];
-
 
260
extern int pval[2][2][64];
-
 
261
extern int nval[2][2][64];
-
 
262
extern int bval[2][2][64];
-
 
263
extern int qval[2][2][64];
-
 
264
extern int kval_n[2][64];
-
 
265
extern int kval_k[2][64];
-
 
266
extern int kval_q[2][64];
-
 
267
extern int king_safety[16][16];
-
 
268
extern int mob_curve_r[48];
-
 
269
extern int safety_vector[16];
-
 
270
extern int tropism_vector[16];
-
 
271
extern const char b_n_mate_dark_squares[64];
-
 
272
extern const char b_n_mate_light_squares[64];
-
 
273
extern const int mate[64];
263
extern const int mate[64];
274
extern int16_t knight_mobility_table[64];
-
 
275
extern uint64_t magic_rook[64];
264
extern const uint64_t magic_rook[64];
276
extern uint64_t magic_rook_mask[64];
265
extern const uint64_t magic_rook_mask[64];
277
extern unsigned int magic_rook_shift[64];
266
extern const unsigned magic_rook_shift[64];
278
extern uint64_t mobility_mask_n[4];
267
extern const uint64_t mobility_mask_b[4];
279
extern uint64_t mobility_mask_b[4];
268
extern const uint64_t mobility_mask_r[4];
-
 
269
extern int16_t *magic_bishop_mobility_indices[64];
280
extern uint64_t mobility_mask_r[4];
270
extern int16_t magic_bishop_mobility_table[5248];
281
extern uint64_t *magic_rook_indices[64];
271
extern uint64_t *magic_rook_indices[64];
282
extern uint64_t magic_rook_table[102400];
272
extern uint64_t magic_rook_table[102400];
283
extern int16_t *magic_rook_mobility_indices[64];
273
extern int16_t *magic_rook_mobility_indices[64];
284
extern int16_t magic_rook_mobility_table[102400];
274
extern int16_t magic_rook_mobility_table[102400];
285
extern uint64_t magic_bishop[64];
275
extern const uint64_t magic_bishop[64];
286
extern uint64_t magic_bishop_mask[64];
276
extern const uint64_t magic_bishop_mask[64];
287
extern unsigned int magic_bishop_shift[64];
277
extern const unsigned magic_bishop_shift[64];
288
extern uint64_t *magic_bishop_indices[64];
278
extern uint64_t *magic_bishop_indices[64];
289
extern uint64_t magic_bishop_table[5248];
279
extern uint64_t magic_bishop_table[5248];
290
extern int16_t *magic_bishop_mobility_indices[64];
280
extern int16_t *magic_bishop_mobility_indices[64];
291
extern int16_t magic_bishop_mobility_table[5248];
281
extern int16_t magic_bishop_mobility_table[5248];
292
extern int8_t directions[64][64];
282
extern int8_t directions[64][64];
Line 295... Line 285...
295
extern uint64_t rook_attacks[64];
285
extern uint64_t rook_attacks[64];
296
extern uint64_t bishop_attacks[64];
286
extern uint64_t bishop_attacks[64];
297
extern POSITION display;
287
extern POSITION display;
298
extern uint64_t king_attacks[64];
288
extern uint64_t king_attacks[64];
299
extern uint64_t intervening[64][64];
289
extern uint64_t intervening[64][64];
-
 
290
extern int history[1024];
-
 
291
extern KILLER counter_move[4096];
-
 
292
extern KILLER move_pair[4096];
300
extern uint64_t randoms[2][7][64];
293
extern const uint64_t randoms[2][7][64];
301
extern uint64_t castle_random[2][2];
294
extern const uint64_t castle_random[2][2];
302
extern uint64_t enpassant_random[65];
295
extern const uint64_t enpassant_random[65];
303
extern uint64_t clear_mask[65];
296
extern uint64_t clear_mask[65];
304
extern uint64_t set_mask[65];
297
extern uint64_t set_mask[65];
305
extern uint64_t file_mask[8];
298
extern uint64_t file_mask[8];
306
extern uint64_t rank_mask[8];
299
extern uint64_t rank_mask[8];
307
extern uint64_t OO[2];
300
extern const uint64_t OO[2];
308
extern uint64_t OOO[2];
301
extern const uint64_t OOO[2];
309
extern uint64_t mask_efgh, mask_fgh, mask_abc, mask_abcd;
302
extern const uint64_t mask_efgh, mask_fgh, mask_abc, mask_abcd;
310
extern uint64_t mask_advance_2_w;
303
extern const uint64_t mask_advance_2_w;
311
extern uint64_t mask_advance_2_b;
304
extern const uint64_t mask_advance_2_b;
312
extern uint64_t mask_left_edge;
305
extern const uint64_t mask_left_edge;
313
extern uint64_t mask_right_edge;
306
extern const uint64_t mask_right_edge;
314
extern uint64_t mask_not_edge;
307
extern const uint64_t mask_not_edge;
-
 
308
extern const uint64_t mask_rook_files;
315
extern uint64_t dark_squares;
309
extern const uint64_t dark_squares;
316
extern uint64_t not_rook_pawns;
310
extern const uint64_t not_rook_pawns;
-
 
311
extern const uint64_t not_rook_files;
317
extern uint64_t plus1dir[65];
312
extern uint64_t plus1dir[65];
318
extern uint64_t plus7dir[65];
313
extern uint64_t plus7dir[65];
319
extern uint64_t plus8dir[65];
314
extern uint64_t plus8dir[65];
320
extern uint64_t plus9dir[65];
315
extern uint64_t plus9dir[65];
321
extern uint64_t minus1dir[65];
316
extern uint64_t minus1dir[65];
322
extern uint64_t minus7dir[65];
317
extern uint64_t minus7dir[65];
323
extern uint64_t minus8dir[65];
318
extern uint64_t minus8dir[65];
324
extern uint64_t minus9dir[65];
319
extern uint64_t minus9dir[65];
325
extern uint64_t mask_eptest[64];
320
extern uint64_t mask_eptest[64];
326
extern uint64_t mask_clear_entry;
-
 
327
 
-
 
328
#  if !defined(INLINEASM)
321
#  if !defined(INLINEASM)
329
extern unsigned char msb[65536];
322
extern unsigned char msb[65536];
330
extern unsigned char lsb[65536];
323
extern unsigned char lsb[65536];
331
#  endif
324
#  endif
332
extern unsigned char msb_8bit[256];
325
extern unsigned char msb_8bit[256];
333
extern unsigned char lsb_8bit[256];
326
extern unsigned char lsb_8bit[256];
334
extern unsigned char pop_cnt_8bit[256];
327
extern unsigned char pop_cnt_8bit[256];
335
extern unsigned char is_outside[256][256];
-
 
336
extern uint64_t mask_pawn_connected[64];
328
extern uint64_t mask_pawn_connected[2][64];
337
extern uint64_t mask_pawn_isolated[64];
329
extern uint64_t mask_pawn_isolated[64];
338
extern uint64_t mask_passed[2][64];
330
extern uint64_t mask_passed[2][64];
339
extern uint64_t mask_no_pattacks[2][64];
331
extern uint64_t mask_pattacks[2][64];
340
extern uint64_t mask_hidden_left[2][8];
-
 
341
extern uint64_t mask_hidden_right[2][8];
-
 
342
extern uint64_t pawn_race[2][2][64];
332
extern uint64_t pawn_race[2][2][64];
343
extern BOOK_POSITION book_buffer[BOOK_CLUSTER_SIZE];
333
extern BOOK_POSITION book_buffer[BOOK_CLUSTER_SIZE];
344
extern BOOK_POSITION book_buffer_char[BOOK_CLUSTER_SIZE];
334
extern BOOK_POSITION book_buffer_char[BOOK_CLUSTER_SIZE];
345
extern const int rankflip[2][8];
335
extern const int rankflip[2][8];
346
extern const int sqflip[2][64];
336
extern const int sqflip[2][64];
-
 
337
extern const int rank1[2];
-
 
338
extern const int rank2[2];
-
 
339
extern const int rank3[2];
-
 
340
extern const int rank4[2];
-
 
341
extern const int rank5[2];
-
 
342
extern const int rank6[2];
-
 
343
extern const int rank7[2];
-
 
344
extern const int rank8[2];
-
 
345
extern const int epdir[2];
-
 
346
extern const int csq[2];
-
 
347
extern const int dsq[2];
-
 
348
extern const int esq[2];
-
 
349
extern const int fsq[2];
-
 
350
extern const int gsq[2];
347
extern const int sign[2];
351
extern const int sign[2];
348
extern int direction[2];
-
 
349
extern int dark_corner[2];
352
extern const char square_color[64];
350
extern int light_corner[2];
353
extern uint64_t distance_ring[64][8];
351
extern int OOsqs[2][3];
354
extern const int OOsqs[2][3];
352
extern int OOOsqs[2][3];
355
extern const int OOOsqs[2][3];
353
extern int OOfrom[2];
356
extern const int OOfrom[2];
354
extern int OOto[2];
357
extern const int OOto[2];
355
extern int OOOto[2];
358
extern const int OOOto[2];
356
extern int epsq[2];
359
extern const int epsq[2];
357
extern int rook_A[2];
360
extern const int rook_A[2];
358
extern int rook_D[2];
361
extern const int rook_D[2];
359
extern int rook_F[2];
362
extern const int rook_F[2];
360
extern int rook_G[2];
363
extern const int rook_G[2];
361
extern int rook_H[2];
364
extern const int rook_H[2];
362
extern int capleft[2];
365
extern const int capleft[2];
363
extern int capright[2];
366
extern const int capright[2];
364
extern int pawnadv1[2];
367
extern const int pawnadv1[2];
365
extern int pawnadv2[2];
368
extern const int pawnadv2[2];
366
 
-
 
367
#  if !defined(NOEGTB)
369
#  if !defined(NOEGTB)
368
extern int cbEGTBCompBytes;
370
extern int cbEGTBCompBytes;
369
#  endif
371
#  endif
370
extern int piece_values[7][2];
372
extern int piece_values[2][7];
371
extern int pawn_can_promote;
-
 
372
extern int wtm_bonus[2];
-
 
373
extern int undeveloped_piece;
-
 
374
extern int pawn_connected[2];
-
 
375
extern int pawn_isolated[2];
-
 
376
extern int pawn_weak[2];
-
 
377
extern int lower_n;
-
 
378
extern int mobility_score_n[4];
-
 
379
extern int lower_b;
-
 
380
extern int bishop_trapped;
-
 
381
extern int bishop_with_wing_pawns[2];
-
 
382
extern int bishop_pair[2];
-
 
383
extern int mobility_score_b[4];
-
 
384
extern int mobility_score_r[4];
-
 
385
extern int rook_on_7th[2];
-
 
386
extern int rook_open_file[2];
-
 
387
extern int rook_half_open_file[2];
-
 
388
extern int rook_behind_passed_pawn[2][8];
-
 
389
extern int passed_pawn_value[2][8];
-
 
390
extern int passed_pawn_blockaded_by_enemy[2][8];
-
 
391
extern int passed_pawn_blockaded_by_friendly[2][8];
-
 
392
extern int passed_pawn_connected[2][8];
-
 
393
extern int passed_pawn_candidate[2][8];
-
 
394
extern int passed_pawn_obstructed[8];
-
 
395
extern int passed_pawn_far_away[8];
-
 
396
extern int passed_pawn_not_far_away[8];
-
 
397
extern int rook_trapped;
-
 
398
extern int king_king_tropism;
-
 
399
extern int king_safety_mate_threat;
-
 
400
extern int development_thematic;
-
 
401
extern int development_losing_castle;
-
 
402
extern int development_not_castled;
-
 
403
extern struct personality_term personality_packet[256];
373
extern struct personality_term personality_packet[256];
404
#endif
374
#endif