Home
last modified time | relevance | path

Searched refs:gridSegments (Results 1 – 3 of 3) sorted by relevance

/dports/games/xboard-devel/xboard-f49e7e1/
H A Ddraw.c128 } gridSegments[BOARD_RANKS + BOARD_FILES + 2]; variable
569 gridSegments[i].x1 = 0; in CreateGrid()
570 gridSegments[i].x2 = in CreateGrid()
572 gridSegments[i].y1 = gridSegments[i].y2 in CreateGrid()
577 gridSegments[j + i].y1 = 0; in CreateGrid()
578 gridSegments[j + i].y2 = in CreateGrid()
580 gridSegments[j + i].x1 = gridSegments[j + i].x2 in CreateGrid()
602 int h = (gridSegments[i].y1 == gridSegments[i].y2); // horizontal in DrawGrid()
603 cairo_move_to (cr, gridSegments[i].x1 + !h*odd, gridSegments[i].y1 + h*odd); in DrawGrid()
604 cairo_line_to (cr, gridSegments[i].x2 + !h*odd, gridSegments[i].y2 + h*odd); in DrawGrid()
/dports/games/xboard/xboard-4.9.1/
H A Ddraw.c128 } gridSegments[BOARD_RANKS + BOARD_FILES + 2]; variable
628 gridSegments[i].x1 = 0; in CreateGrid()
629 gridSegments[i].x2 = in CreateGrid()
631 gridSegments[i].y1 = gridSegments[i].y2 in CreateGrid()
636 gridSegments[j + i].y1 = 0; in CreateGrid()
637 gridSegments[j + i].y2 = in CreateGrid()
639 gridSegments[j + i].x1 = gridSegments[j + i].x2 in CreateGrid()
661 int h = (gridSegments[i].y1 == gridSegments[i].y2); // horizontal in DrawGrid()
662 cairo_move_to (cr, gridSegments[i].x1 + !h*odd, gridSegments[i].y1 + h*odd); in DrawGrid()
663 cairo_line_to (cr, gridSegments[i].x2 + !h*odd, gridSegments[i].y2 + h*odd); in DrawGrid()
/dports/games/xshogi/xshogi-1.4.2/
H A Dxshogi.c754 XSegment gridSegments[(BOARD_SIZE + 1) * 2]; member
2446 player->gridSegments[i].x1 = offset; in CreateGrid()
2447 player->gridSegments[i + BOARD_SIZE + 1].y1 = 0; in CreateGrid()
2448 player->gridSegments[i].y1 = player->gridSegments[i].y2 in CreateGrid()
2450 player->gridSegments[i].x2 = LINE_GAP + BOARD_SIZE * in CreateGrid()
2452 player->gridSegments[i + BOARD_SIZE + 1].x1 in CreateGrid()
2453 = player->gridSegments[i + BOARD_SIZE + 1].x2 = LINE_GAP / 2 in CreateGrid()
2455 player->gridSegments[i + BOARD_SIZE + 1].y2 in CreateGrid()
3085 localPlayer.gridSegments, (BOARD_SIZE + 1) * 2); in DrawPosition()
3091 remotePlayer.gridSegments, (BOARD_SIZE + 1) * 2); in DrawPosition()