Home
last modified time | relevance | path

Searched refs:wbishop (Results 1 – 15 of 15) sorted by relevance

/dports/games/sjeng/Sjeng-Free-11.2/
H A Dpartner.c149 hand_value[wbishop] += 50; in HandlePtell()
197 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
244 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
259 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
312 hand_value[wbishop] += 50; in HandlePtell()
351 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
401 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
417 hand_value[wbishop] = std_hand_value[wbishop] + change; in HandlePtell()
609 if (!holding[!white_to_move][(white_to_move ? wbishop : bbishop)]) in CheckBadFlow()
612 DropaddHolding((white_to_move ? wbishop : bbishop) , !white_to_move); in CheckBadFlow()
[all …]
H A Dcrazy.c92 holding[c][c == WHITE ? wbishop : bbishop]++; in ProcessHoldings()
94 HHash((c == WHITE ? wbishop : bbishop), in ProcessHoldings()
95 holding[c][(c == WHITE ? wbishop : bbishop)]); in ProcessHoldings()
164 if (holding[WHITE][wbishop] == 0) in ProcessHoldings()
166 holding[WHITE][wbishop]++; in ProcessHoldings()
168 HHash(wqueen, holding[WHITE][wbishop]); in ProcessHoldings()
195 return (who == WHITE ? wbishop : bbishop); in text_to_piece()
212 … t[] = { 0, bpawn, wpawn, bknight, wknight, 0, 0, brook, wrook, bqueen, wqueen, bbishop, wbishop }; in SwitchColor()
326 holding[WHITE][wbishop], in printHolding()
H A Dmoves.c307 case wbishop: in check_legal()
530 case (wbishop): in gen()
698 || holding[WHITE][wbishop] || holding[WHITE][wqueen] in gen()
722 if(holding[WHITE][wbishop]) in gen()
724 try_drop(wbishop); in gen()
1035 case wbishop: in f_in_check()
1271 if (sq == wbishop || sq == wqueen || sq == wpawn) return 2; in extended_in_check()
1273 if (sq == wbishop || sq == wqueen || sq == wpawn) return 2; in extended_in_check()
1275 if (sq == wbishop || sq == wqueen) return 2; in extended_in_check()
1277 if (sq == wbishop || sq == wqueen) return 2; in extended_in_check()
[all …]
H A Deval.c490 case (wbishop): in eval()
630 if (board[bking_loc - 12] == wpawn || board[bking_loc - 12] == wbishop) in eval()
670 if (board[F1] == wbishop) score += 10; in eval()
693 if ((board[H6] == wbishop) && (board[G7] != bpawn)) in eval()
H A Dattacks.c85 if (board[a_sq] == wbishop || board[a_sq] == wqueen) in calc_attackers()
203 case (wbishop):
370 if (basq == wbishop || basq == wqueen) return TRUE; in is_attacked()
471 if (basq == wbishop || basq == wqueen) return TRUE; in nk_attacked()
H A Dsegtb.c196 case wbishop: in check_result()
544 for(w_man = wknight; w_man <= wbishop; w_man += 2) in gen_all_tables()
593 for(w_man = wknight; w_man <= wbishop; w_man += 2) in gen_all_tables()
630 for(w_man = wknight; w_man <= wbishop; w_man += 2) in gen_all_tables()
663 for(w_man = wknight; w_man <= wbishop; w_man += 2) in gen_all_tables()
H A Dsjeng.h78 #define wbishop 11 macro
H A Dprobe.c174 case wbishop: in probe_egtb()
H A Depd.c87 case 'B' : board[rankoffset + fileoffset] = wbishop; break; in setup_epd_line()
H A Dsee.c131 if (b_sq == wbishop || b_sq == wqueen) in setup_attackers()
H A Dleval.c323 case (wbishop): in losers_eval()
H A Dneval.c550 case (wbishop): in end_eval()
1123 case (wbishop): in mid_eval()
1594 case (wbishop): in opn_eval()
H A Dseval.c489 case (wbishop): in suicide_mid_eval()
H A Dutils.c348 else if (prom == wbishop || prom == bbishop) { in comp_to_coord()
1183 board[norm_square] = wbishop; in PutPiece()
H A Dproof.c262 case wbishop: in suicide_pn_eval()
336 case wbishop: in losers_pn_eval()