Home
last modified time | relevance | path

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

/dports/games/sjeng/Sjeng-Free-11.2/
H A Dpartner.c157 hand_value[bbishop] -= 50; in HandlePtell()
199 hand_value[bbishop] = std_hand_value[bbishop] - change; in HandlePtell()
249 hand_value[bbishop] = std_hand_value[bbishop] - change; in HandlePtell()
265 hand_value[bbishop] = std_hand_value[bbishop] - change; in HandlePtell()
304 hand_value[bbishop] -= 50; in HandlePtell()
349 hand_value[bbishop] = std_hand_value[bbishop] - change; in HandlePtell()
396 hand_value[bbishop] = std_hand_value[bbishop] - change; in HandlePtell()
411 hand_value[bbishop] = std_hand_value[bbishop] - 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()
124 if (holding[BLACK][bbishop] == 0) in ProcessHoldings()
126 holding[BLACK][bbishop]++; in ProcessHoldings()
128 HHash(bpawn, holding[BLACK][bbishop]); in ProcessHoldings()
195 return (who == WHITE ? wbishop : bbishop); in text_to_piece()
212 …int t[] = { 0, bpawn, wpawn, bknight, wknight, 0, 0, brook, wrook, bqueen, wqueen, bbishop, wbisho… in SwitchColor()
331 holding[BLACK][bbishop], in printHolding()
H A Dsegtb.c202 case bbishop: in check_result()
546 for(b1_man = bknight; b1_man <= bbishop; b1_man += 2) in gen_all_tables()
563 for(b1_man = bknight; b1_man <= bbishop; b1_man += 2) in gen_all_tables()
594 for(b1_man = bknight; b1_man <= bbishop ; b1_man += 2) in gen_all_tables()
595 for(b2_man = bknight; b2_man <= bbishop; b2_man += 2) in gen_all_tables()
613 for(b1_man = bknight; b1_man <= bbishop; b1_man += 2) in gen_all_tables()
614 for(b2_man = bknight; b2_man <= bbishop; b2_man += 2) in gen_all_tables()
634 for(b2_man = wknight; b2_man <= bbishop; b2_man += 2) in gen_all_tables()
649 for(b2_man = bknight; b2_man <= bbishop; b2_man += 2) in gen_all_tables()
H A Dmoves.c127 case bbishop: in check_legal()
641 case (bbishop): in gen()
739 || holding[BLACK][bbishop] || holding[BLACK][bqueen] in gen()
763 if(holding[BLACK][bbishop]) in gen()
765 try_drop(bbishop); in gen()
837 case bbishop: in f_in_check()
1243 if (sq == bbishop || sq == bqueen || sq == bpawn) return 2; in extended_in_check()
1245 if (sq == bbishop || sq == bqueen || sq == bpawn) return 2; in extended_in_check()
1247 if (sq == bbishop || sq == bqueen) return 2; in extended_in_check()
1249 if (sq == bbishop || sq == bqueen) return 2; in extended_in_check()
[all …]
H A Deval.c496 case (bbishop): in eval()
624 if (board[wking_loc + 12] == bpawn || board[wking_loc + 12] == bbishop) in eval()
677 if (board[F8] == bbishop)score -= 10; in eval()
683 if ((board[H3] == bbishop) && (board[G2] != wpawn)) in eval()
H A Dattacks.c150 if (board[a_sq] == bbishop || board[a_sq] == bqueen) in calc_attackers()
278 case (bbishop):
413 if (basq == bbishop || basq == bqueen) return TRUE; in is_attacked()
511 if (basq == bbishop || basq == bqueen) return TRUE; in nk_attacked()
H A Dsjeng.h79 #define bbishop 12 macro
H A Dprobe.c204 case bbishop: in probe_egtb()
H A Depd.c86 case 'b' : board[rankoffset + fileoffset] = bbishop; break; in setup_epd_line()
H A Dsee.c138 else if (b_sq == bbishop || b_sq == bqueen) in setup_attackers()
H A Dleval.c329 case (bbishop): in losers_eval()
H A Dneval.c557 case (bbishop): in end_eval()
1132 case (bbishop): in mid_eval()
1602 case (bbishop): in opn_eval()
H A Dseval.c501 case (bbishop): in suicide_mid_eval()
H A Dutils.c348 else if (prom == wbishop || prom == bbishop) { in comp_to_coord()
1210 board[norm_square] = bbishop; in PutPiece()
H A Dproof.c268 case bbishop: in suicide_pn_eval()
341 case bbishop: in losers_pn_eval()