Searched refs:ImpossibleMove (Results 1 – 14 of 14) sorted by relevance
/dports/games/xboard-devel/xboard-f49e7e1/ |
H A D | parser.c | 466 return ImpossibleMove; // for now treat as invalid in NextUnit() 492 else if(toY >= BOARD_HEIGHT || toY < 0) return ImpossibleMove; // vert off-board to-square in NextUnit() 493 if(toX < BOARD_LEFT || toX >= BOARD_RGHT) return ImpossibleMove; in NextUnit() 496 if(cl.pieceIn == EmptySquare) return ImpossibleMove; // non-existent piece in NextUnit() 531 piece && realPiece != cl.pieceIn) return ImpossibleMove; in NextUnit() 559 if(cl.kind == ImpossibleMove && !piece && type[1] == NOTHING // fxg5 type in NextUnit() 564 return ImpossibleMove; // nice try, but no cigar in NextUnit() 647 if(ff == NoRights || ft == NoRights) return ImpossibleMove; in NextUnit()
|
H A D | moves.c | 1741 if(board[rt][ft] != EmptySquare) return ImpossibleMove; // must drop to empty square in LegalDrop() 1745 return ImpossibleMove; // piece not available in LegalDrop() 1832 return CharToPiece(promoChar) == EmptySquare ? ImpossibleMove : IllegalMove; in LegalityTest() 1835 return ImpossibleMove; in LegalityTest() 1852 return CharToPiece(promoChar) == EmptySquare ? ImpossibleMove : IllegalMove; in LegalityTest() 1886 cl.kind = ImpossibleMove; // non-existing piece in LegalityTest() 1892 if(piece == BlackLance) cl.kind = ImpossibleMove; in LegalityTest() 2045 closure->kind = ImpossibleMove; in Disambiguate() 2053 closure->kind = ImpossibleMove; in Disambiguate() 2159 closure->kind = ImpossibleMove; // used on non-promotable piece in Disambiguate() [all …]
|
H A D | common.h | 346 NormalMove, AmbiguousMove, IllegalMove, ImpossibleMove, enumerator
|
H A D | backend.c | 5575 case ImpossibleMove: in ParseOneMove() 6848 if(cl.kind != ImpossibleMove) return FALSE; in OnlyMove() 7050 if (moveType == IllegalMove || moveType == ImpossibleMove) { in UserMoveEvent() 9893 case ImpossibleMove: in ParseGameHistory() 12170 case ImpossibleMove: in LoadGameOneMove() 12700 case ImpossibleMove: in GameContainsPosition()
|
H A D | NEWS | 492 * Let move parser return ImpossibleMove for off-board moves
|
H A D | SHORTLOG | 2090 Let move parser return ImpossibleMove for off-board moves
|
H A D | ChangeLog | 4378 an ImpossibleMove. Bughouse can only be played on ICS, and we might as well 7307 In stead of ImpossibleMove promotionto Pawn now merely is an 8992 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of 9002 ImpossibleMove. Not sure if the former would manifest itself in any 9281 ImpossibleMove, rather than IllegalMove, so they are also rejected with 10364 in LegalityTest() and Disambiguate(), which return ImpossibleMove when 11157 Let move parser return ImpossibleMove for off-board moves
|
/dports/games/xboard/xboard-4.9.1/ |
H A D | parser.c | 468 return ImpossibleMove; // for now treat as invalid in NextUnit() 494 else if(toY >= BOARD_HEIGHT || toY < 0) return ImpossibleMove; // vert off-board to-square in NextUnit() 495 if(toX < BOARD_LEFT || toX >= BOARD_RGHT) return ImpossibleMove; in NextUnit() 498 if(cl.pieceIn == EmptySquare) return ImpossibleMove; // non-existent piece in NextUnit() 546 piece && realPiece != cl.pieceIn) return ImpossibleMove; in NextUnit() 574 if(cl.kind == ImpossibleMove && !piece && type[1] == NOTHING // fxg5 type in NextUnit() 579 return ImpossibleMove; // nice try, but no cigar in NextUnit() 666 if(ff == NoRights || ft == NoRights) return ImpossibleMove; in NextUnit()
|
H A D | moves.c | 1825 if(board[rt][ft] != EmptySquare) return ImpossibleMove; // must drop to empty square in LegalDrop() 1829 return ImpossibleMove; // piece not available in LegalDrop() 1916 return CharToPiece(promoChar) == EmptySquare ? ImpossibleMove : IllegalMove; in LegalityTest() 1919 return ImpossibleMove; in LegalityTest() 1936 return CharToPiece(promoChar) == EmptySquare ? ImpossibleMove : IllegalMove; in LegalityTest() 1970 cl.kind = ImpossibleMove; // non-existing piece in LegalityTest() 1976 if(piece == BlackLance) cl.kind = ImpossibleMove; in LegalityTest() 2129 closure->kind = ImpossibleMove; in Disambiguate() 2137 closure->kind = ImpossibleMove; in Disambiguate() 2248 closure->kind = ImpossibleMove; // used on non-promotable piece in Disambiguate() [all …]
|
H A D | common.h | 350 NormalMove, AmbiguousMove, IllegalMove, ImpossibleMove, enumerator
|
H A D | backend.c | 5620 case ImpossibleMove: in ParseOneMove() 6963 if(cl.kind != ImpossibleMove) return FALSE; in OnlyMove() 7174 if (moveType == IllegalMove || moveType == ImpossibleMove) { in UserMoveEvent() 10119 case ImpossibleMove: in ParseGameHistory() 12431 case ImpossibleMove: in LoadGameOneMove() 12961 case ImpossibleMove: in GameContainsPosition()
|
H A D | NEWS | 536 * Let move parser return ImpossibleMove for off-board moves
|
H A D | SHORTLOG | 2600 Let move parser return ImpossibleMove for off-board moves
|
H A D | ChangeLog | 3252 as an ImpossibleMove after all. (Leading to rejection even when legality 7889 an ImpossibleMove. Bughouse can only be played on ICS, and we might as well 10818 In stead of ImpossibleMove promotionto Pawn now merely is an 12503 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of 12513 ImpossibleMove. Not sure if the former would manifest itself in any 12792 ImpossibleMove, rather than IllegalMove, so they are also rejected with 13875 in LegalityTest() and Disambiguate(), which return ImpossibleMove when 14668 Let move parser return ImpossibleMove for off-board moves
|