/dports/games/polyglot/polyglot-1.4.70b/ |
H A D | move_gen.c | 203 int rook_from, rook_to; in add_castle_moves() local 225 rook_to = square_make(FileF,rank); in add_castle_moves() 248 if (rook_to != rook_from) { in add_castle_moves() 250 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 254 if (sq == rook_to) break; in add_castle_moves() 268 rook_to = square_make(FileD,rank); in add_castle_moves() 291 if (rook_to != rook_from) { in add_castle_moves() 293 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 297 if (sq == rook_to) break; in add_castle_moves()
|
H A D | move_do.c | 111 int rook_from, rook_to; in move_do() local 121 rook_to = square_make(FileF,rank); in move_do() 124 rook_to = square_make(FileD,rank); in move_do() 142 square_set(board,rook_to,rook,pos); in move_do()
|
/dports/games/gnuchess/gnuchess-6.2.9/src/adapter/ |
H A D | move_gen.cpp | 225 int rook_from, rook_to; in add_castle_moves() local 247 rook_to = square_make(FileF,rank); in add_castle_moves() 270 if (rook_to != rook_from) { in add_castle_moves() 272 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 276 if (sq == rook_to) break; in add_castle_moves() 290 rook_to = square_make(FileD,rank); in add_castle_moves() 313 if (rook_to != rook_from) { in add_castle_moves() 315 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 319 if (sq == rook_to) break; in add_castle_moves()
|
H A D | move_do.cpp | 133 int rook_from, rook_to; in move_do() local 143 rook_to = square_make(FileF,rank); in move_do() 146 rook_to = square_make(FileD,rank); in move_do() 164 square_set(board,rook_to,rook,pos); in move_do()
|
/dports/games/scid/scid/src/polyglot/ |
H A D | move_gen.cpp | 203 int rook_from, rook_to; in add_castle_moves() local 225 rook_to = square_make(FileF,rank); in add_castle_moves() 248 if (rook_to != rook_from) { in add_castle_moves() 250 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 254 if (sq == rook_to) break; in add_castle_moves() 268 rook_to = square_make(FileD,rank); in add_castle_moves() 291 if (rook_to != rook_from) { in add_castle_moves() 293 inc = (rook_to > rook_from) ? +1 : -1; in add_castle_moves() 297 if (sq == rook_to) break; in add_castle_moves()
|
H A D | move_do.cpp | 115 int rook_from, rook_to; in move_do() local 125 rook_to = square_make(FileF,rank); in move_do() 128 rook_to = square_make(FileD,rank); in move_do() 146 square_set(board,rook_to,rook,pos); in move_do()
|
/dports/games/chessx/chessx-1.5.6/src/database/ |
H A D | bitboard.cpp | 2158 rook_to = d1; in doMove() 2162 rook_to = f1; in doMove() 2166 rook_to = d8; in doMove() 2170 rook_to = f8; in doMove() 2182 rook_to = d1; in doMove() 2186 rook_to = f1; in doMove() 2190 rook_to = d8; in doMove() 2444 if (rook_to != from) m_piece[rook_to] = Empty; in undoMove() 2846 while(square!=rook_to) in isFreeForCastling960() 2852 if (square!=rook_to) square += (rook_from<=rook_to) ? 1:-1; in isFreeForCastling960() [all …]
|
H A D | bitboard.h | 250 …60(chessx::Square from, chessx::Square to, chessx::Square rook_from, chessx::Square rook_to) const;
|
/dports/games/scid/scid/src/ |
H A D | fastgame.h | 219 squareT king_to, rook_from, rook_to; in castle() local 223 rook_to = black + F1; in castle() 227 rook_to = black + D1; in castle() 232 pieces_.move(color, rook_idx, rook_to); in castle() 234 board_[rook_to] = rook_idx; in castle()
|
/dports/games/chessx/chessx-1.5.6/dep/scid/code/src/ |
H A D | fastgame.h | 237 const squareT rook_to = king_side ? square_Relative(color, F1) in castle() local 247 pieces_.changeSq(color, rook_idx, rook_to); in castle() 251 board_[rook_to] = rook_idx; in castle()
|
/dports/games/chessx/chessx-1.5.6/src/guess/ |
H A D | guess_position.cpp | 538 bool Position::isFreeForCastling960(squareT from, squareT to, squareT rook_from, squareT rook_to, s… in isFreeForCastling960() argument 563 while(square!=rook_to) in isFreeForCastling960() 569 square += (rook_from<=rook_to) ? 1:-1; in isFreeForCastling960() 572 if ((rook_from != rook_to) && (rook_to != from)) in isFreeForCastling960() 574 if (pieceAt(rook_to) != EMPTY) return false; in isFreeForCastling960()
|
H A D | guess_position.h | 140 …bool isFreeForCastling960(squareT from, squareT to, squareT rook_from, squareT rook_to, squareT en…
|