Home
last modified time | relevance | path

Searched refs:WHITE_PAWN (Results 1 – 17 of 17) sorted by relevance

/dports/games/jin/jin-2.14.1/src/free/chess/
H A DChessPiece.java89 public static final ChessPiece WHITE_PAWN = new ChessPiece(WHITE,PAWN); field in ChessPiece
135 case 'P': return ChessPiece.WHITE_PAWN; in fromShortString()
184 return (this==WHITE_PAWN)||(this==BLACK_PAWN); in isPawn()
H A DChesslikeGenericVariant.java331 return (movingPiece.isWhite() ? ChessPiece.BLACK_PAWN : ChessPiece.WHITE_PAWN); in getCapturedPiece()
345 if (((piece == ChessPiece.WHITE_PAWN) && in getDoublePawnPushFile()
432 if ((endingSquare.getRank()==7)&&(movingPiece==ChessPiece.WHITE_PAWN)) in getChessPromotionTargets()
H A DImagePiecePainter.java236 ChessPiece.WHITE_PAWN, ChessPiece.BLACK_PAWN}; in load()
/dports/games/jin/jin-2.14.1/src/free/chess/variants/suicide/
H A DSuicide.java44 …ITE_ROOK, ChessPiece.WHITE_BISHOP, ChessPiece.WHITE_KNIGHT, ChessPiece.WHITE_PAWN, ChessPiece.WHIT…
101 if ((endingSquare.getRank() == 7) && (movingPiece == ChessPiece.WHITE_PAWN)) in getPromotionTargets()
/dports/net-im/psi/psi-1.5/src/plugins/deprecated/chess/
H A Dgameboard.cpp883 map[48] = WHITE_PAWN; in initMap()
884 map[49] = WHITE_PAWN; in initMap()
885 map[50] = WHITE_PAWN; in initMap()
886 map[51] = WHITE_PAWN; in initMap()
887 map[52] = WHITE_PAWN; in initMap()
888 map[53] = WHITE_PAWN; in initMap()
889 map[54] = WHITE_PAWN; in initMap()
890 map[55] = WHITE_PAWN; in initMap()
908 map[8] = WHITE_PAWN; in initMap()
909 map[9] = WHITE_PAWN; in initMap()
[all …]
H A Dgameboard.h57 WHITE_PAWN = 0x01, enumerator
/dports/games/dreamchess/dreamchess-0.3.0/dreamer/src/
H A Deval.c156 if (board->bitboard[WHITE_PAWN] & square_bit[SQUARE_D2]) in eval_development()
158 if (board->bitboard[WHITE_PAWN] & square_bit[SQUARE_E2]) in eval_development()
342 if (board->bitboard[WHITE_PAWN] & square_bit[square]) { in analyze_pawn_structure()
398 if (board->bitboard[WHITE_PAWN] & square_bit[square - 8]) in analyze_pawn_structure()
400 } else if (board->bitboard[WHITE_PAWN] & square_bit[square]) { in analyze_pawn_structure()
H A Dboard.c95 add_piece(board, i, WHITE_PAWN); in setup_board()
303 if (board->bitboard[WHITE_PAWN] & mask) in find_white_piece()
304 return WHITE_PAWN; in find_white_piece()
468 …if ((MOVE_GET(move, PIECE) == WHITE_PAWN) && (MOVE_GET(move, DEST) - MOVE_GET(move, SOURCE) == 16)… in execute_move()
H A Dboard.h26 #define WHITE_PAWN 0 macro
/dports/games/jin/jin-2.14.1/src/free/chess/variants/giveaway/
H A DGiveaway.java107 if ((endingSquare.getRank()==7)&&(movingPiece==ChessPiece.WHITE_PAWN)) in getPromotionTargets()
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/
H A Dboard.h27 #define WHITE_PAWN 0 macro
H A Dboard.c56 board->square[i] = WHITE_PAWN; in board_setup()
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVisualBoard.java205 … if ((virtualBoard.field[move.fromField()] == VirtualBoard.WHITE_PAWN && move.toRank() == 7)
481 loadIcon(VirtualBoard.WHITE_PAWN, "WP.gif");
573 …figure = new VisualPoolFigure(VirtualBoard.WHITE_PAWN, 8 * FIELDSIZE + 2 * rankLabelWidth, FIELDSI…
H A DVirtualBoard.java47 static final int WHITE_PAWN = 6; field in VirtualBoard
1161 …if (capturing && (field[move.fromField()] == WHITE_PAWN || field[move.fromField()] == BLACK_PAWN))… in algebraicDraft()
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/gui/
H A Dingame_ui.c66 health = 36 - ((get_board()->captured[WHITE_PAWN]) + (get_board()->captured[WHITE_ROOK] * 5) + in draw_health_bar()
H A Dui_sdlgl.c712 if ((needprom == 0) && (((board.square[source] == WHITE_PAWN) && (dest >= 56)) || in poll_move()
/dports/games/crafty/crafty-25.2_1/
H A Dtbprobe.c39 #define WHITE_PAWN TB_WPAWN macro
555 pcs[WHITE_PAWN ^ mirror] * PRIME_WHITE_PAWN + in calc_key_from_pcs()
575 case WHITE_PAWN: in get_pieces()