Searched refs:GetCastling (Results 1 – 8 of 8) sorted by relevance
/dports/games/chessx/chessx-1.5.6/src/guess/ |
H A D | guess_position.h | 305 bool GetCastling(colorT c, castleDirT dir) const; 451 Position::GetCastling(colorT c, castleDirT dir) const in GetCastling() function
|
H A D | guess_position.cpp | 451 if(GetCastling(ToMove, QSIDE)) in GenCastling() 480 if(GetCastling(ToMove, KSIDE)) in GenCastling() 590 if(GetCastling(ToMove, QSIDE)) in GenCastling960() 610 if(GetCastling(ToMove, KSIDE)) in GenCastling960() 1091 || !GetCastling(WHITE, KSIDE) || !GetCastling(WHITE, QSIDE) in IsStdStart() 1092 || !GetCastling(BLACK, KSIDE) || !GetCastling(BLACK, QSIDE)) in IsStdStart() 1882 if(!GetCastling(ToMove, KSIDE)) in MatchKingMove() 1907 if(!GetCastling(ToMove, QSIDE)) in MatchKingMove()
|
H A D | guess_guessengine.cpp | 755 if(Pos.GetCastling(WHITE, KSIDE)) in Score() 759 if(Pos.GetCastling(WHITE, QSIDE)) in Score() 766 if(Pos.GetCastling(BLACK, KSIDE)) in Score() 770 if(Pos.GetCastling(BLACK, QSIDE)) in Score()
|
/dports/games/chessx/chessx-1.5.6/dep/scid/code/src/ |
H A D | position.cpp | 337 if (GetCastling(ToMove, KSIDE) && validCastling(true, true)) in GenCastling() 340 if (GetCastling(ToMove, QSIDE) && validCastling(false, true)) in GenCastling() 664 || !GetCastling(WHITE,KSIDE) || !GetCastling(WHITE,QSIDE) in IsStdStart() 665 || !GetCastling(BLACK,KSIDE) || !GetCastling(BLACK,QSIDE)) { in IsStdStart() 2313 return GetCastling(ToMove, KSIDE) ? OK : ERROR_CastlingAvailability; in ReadMoveCastle() 2321 return GetCastling(ToMove, QSIDE) ? OK : ERROR_CastlingAvailability; in ReadMoveCastle() 2783 if (GetCastling (WHITE, KSIDE)) { *str++ = 'K'; } in PrintFEN() 2784 if (GetCastling (WHITE, QSIDE)) { *str++ = 'Q'; } in PrintFEN() 2785 if (GetCastling (BLACK, KSIDE)) { *str++ = 'k'; } in PrintFEN() 2786 if (GetCastling (BLACK, QSIDE)) { *str++ = 'q'; } in PrintFEN()
|
H A D | position.h | 218 bool GetCastling(colorT c, castleDirT dir) const { in GetCastling() function
|
/dports/games/scid/scid/src/ |
H A D | position.cpp | 303 if (GetCastling (ToMove, KSIDE)) { in GenCastling() 319 if (GetCastling (ToMove, QSIDE)) { in GenCastling() 656 || !GetCastling(WHITE,KSIDE) || !GetCastling(WHITE,QSIDE) in IsStdStart() 657 || !GetCastling(BLACK,KSIDE) || !GetCastling(BLACK,QSIDE)) { in IsStdStart() 2350 return GetCastling(ToMove, KSIDE) ? OK : ERROR_CastlingAvailability; in ReadMoveCastle() 2368 return GetCastling(ToMove, QSIDE) ? OK : ERROR_CastlingAvailability; in ReadMoveCastle() 2833 if (GetCastling (WHITE, KSIDE)) { *str++ = 'K'; } in PrintFEN() 2834 if (GetCastling (WHITE, QSIDE)) { *str++ = 'Q'; } in PrintFEN() 2835 if (GetCastling (BLACK, KSIDE)) { *str++ = 'k'; } in PrintFEN() 2836 if (GetCastling (BLACK, QSIDE)) { *str++ = 'q'; } in PrintFEN()
|
H A D | position.h | 214 bool GetCastling(colorT c, castleDirT dir) const { in GetCastling() function
|
H A D | engine.cpp | 606 if (Pos.GetCastling(WHITE,KSIDE)) { midscore[WHITE] += CanCastle; } in Score() 607 if (Pos.GetCastling(WHITE,QSIDE)) { midscore[WHITE] += CanCastle; } in Score() 610 if (Pos.GetCastling(BLACK,KSIDE)) { midscore[BLACK] += CanCastle; } in Score() 611 if (Pos.GetCastling(BLACK,QSIDE)) { midscore[BLACK] += CanCastle; } in Score()
|