/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/ |
H A D | pegs.c | 810 #define FROMCOORD(x) ( ((x) + TILESIZE - BORDER) / TILESIZE - 1 ) macro 846 tx = FROMCOORD(x); in interpret_move() 847 ty = FROMCOORD(y); in interpret_move() 874 tx = FROMCOORD(x); in interpret_move() 875 ty = FROMCOORD(y); in interpret_move()
|
H A D | galaxies.c | 2420 #define FROMCOORD(x) ( ((x) - BORDER) / TILE_SIZE ) macro 2499 px = 2*FROMCOORD((float)x) + 0.5; in interpret_move() 2500 py = 2*FROMCOORD((float)y) + 0.5; in interpret_move() 2573 coord_round_to_edge(FROMCOORD((float)x), FROMCOORD((float)y), in interpret_move() 2587 px = (int)(2*FROMCOORD((float)x) + 0.5); in interpret_move() 2588 py = (int)(2*FROMCOORD((float)y) + 0.5); in interpret_move() 2618 px = 2*FROMCOORD(x+TILE_SIZE) - 1; in interpret_move() 2619 py = 2*FROMCOORD(y+TILE_SIZE) - 1; in interpret_move() 2653 px = 2*FROMCOORD(x+TILE_SIZE) - 1; in interpret_move() 2654 py = 2*FROMCOORD(y+TILE_SIZE) - 1; in interpret_move()
|
H A D | sixteen.c | 21 #define FROMCOORD(x) ( ((x) - BORDER + 2*TILE_SIZE) / TILE_SIZE - 2 ) macro 676 cx = FROMCOORD(x); in interpret_move() 677 cy = FROMCOORD(y); in interpret_move()
|
H A D | fifteen.c | 19 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 698 nx = FROMCOORD(x); in interpret_move() 699 ny = FROMCOORD(y); in interpret_move()
|
H A D | inertia.c | 1567 #define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 ) macro 1586 if (FROMCOORD(x) != state->px || FROMCOORD(y) != state->py) { in interpret_move() 1590 dx = FROMCOORD(x) - state->px; in interpret_move() 1591 dy = FROMCOORD(y) - state->py; in interpret_move()
|
H A D | flood.c | 809 #define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 ) macro 821 tx = FROMCOORD(x); in interpret_move() 822 ty = FROMCOORD(y); in interpret_move()
|
H A D | flip.c | 31 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 948 tx = FROMCOORD(x), ty = FROMCOORD(y); in interpret_move()
|
H A D | twiddle.c | 22 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 679 x = FROMCOORD(x); in interpret_move() 680 y = FROMCOORD(y); in interpret_move()
|
H A D | tents.c | 1475 #define FROMCOORD(x) ( ((x) - TLBORDER + TILESIZE) / TILESIZE - 1 ) macro 1552 x = FROMCOORD(x); in interpret_move() 1553 y = FROMCOORD(y); in interpret_move() 1572 x = FROMCOORD(x); in interpret_move() 1573 y = FROMCOORD(y); in interpret_move()
|
H A D | samegame.c | 84 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 1282 tx = FROMCOORD(x); ty= FROMCOORD(y); in interpret_move()
|
H A D | signpost.c | 20 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 1441 int x = FROMCOORD(mx), y = FROMCOORD(my), w = state->w; in interpret_move() 1999 int fx = FROMCOORD(ui->dx), fy = FROMCOORD(ui->dy); in draw_drag_indicator()
|
H A D | pearl.c | 1858 #define FROMCOORD(x) ( ((x) < BORDER) ? -1 : ( ((x) - BORDER) / TILE_SIZE) ) macro 2069 int gx = FROMCOORD(x), gy = FROMCOORD(y), i; in interpret_move() 2186 gx = FROMCOORD(x); in interpret_move() 2187 gy = FROMCOORD(y); in interpret_move()
|
H A D | palisade.c | 914 #define FROMCOORD(x) (((x) - MARGIN) / TILESIZE) macro 927 int gx = FROMCOORD(x), gy = FROMCOORD(y), possible = BORDER_MASK; in interpret_move()
|
H A D | range.c | 1261 #define FROMCOORD(x) (((x) - BORDER) / TILESIZE) macro 1276 r = FROMCOORD(y + TILESIZE) - 1; /* or (x, y) < TILESIZE) */ in interpret_move() 1277 c = FROMCOORD(x + TILESIZE) - 1; /* are considered inside */ in interpret_move()
|
H A D | towers.c | 1205 #define FROMCOORD(x) (((x)+(TILESIZE-BORDER)) / TILESIZE - 1) macro 1353 tx = FROMCOORD(x); in interpret_move() 1354 ty = FROMCOORD(y); in interpret_move()
|
H A D | unruly.c | 1579 #define FROMCOORD(x) ( ((x)-(ds->tilesize/2)) / ds->tilesize ) macro 1588 int gx = FROMCOORD(ox); in interpret_move() 1589 int gy = FROMCOORD(oy); in interpret_move()
|
H A D | singles.c | 78 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 1497 int i, x = FROMCOORD(mx), y = FROMCOORD(my); in interpret_move()
|
H A D | slant.c | 1612 #define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 ) macro 1679 x = FROMCOORD(x); in interpret_move() 1680 y = FROMCOORD(y); in interpret_move()
|
H A D | tracks.c | 2015 #define FROMCOORD(x) ( ((x) < BORDER) ? -1 : ( ((x) - BORDER) / TILE_SIZE) - 1 ) macro 2185 int gx = FROMCOORD(x), gy = FROMCOORD(y); in interpret_move() 2254 if (!INGRID(state, gx, gy) || FROMCOORD(x) != gx || FROMCOORD(y) != gy) in interpret_move()
|
H A D | pattern.c | 33 #define FROMCOORD(d, x) \ macro 1259 x = FROMCOORD(state->common->w, x); in interpret_move() 1260 y = FROMCOORD(state->common->h, y); in interpret_move()
|
H A D | keen.c | 1577 #define FROMCOORD(x) (((x)+(TILESIZE-BORDER)) / TILESIZE - 1) macro 1714 tx = FROMCOORD(x); in interpret_move() 1715 ty = FROMCOORD(y); in interpret_move()
|
H A D | lightup.c | 76 #define FROMCOORD(x) ( ((x) - BORDER + TILE_SIZE) / TILE_SIZE - 1 ) macro 1897 cx = FROMCOORD(x); in interpret_move() 1898 cy = FROMCOORD(y); in interpret_move()
|
H A D | unequal.c | 44 #define FROMCOORD(x) ( ((x) - BORDER + SQUARE_SIZE) / SQUARE_SIZE - 1 ) macro 1490 int x = FROMCOORD(ox), y = FROMCOORD(oy), n; in interpret_move()
|
/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/unfinished/ |
H A D | group.c | 1335 #define FROMCOORD(x) (((x)+(TILESIZE-BORDER-LEGEND)) / TILESIZE - 1) macro 1497 tx = FROMCOORD(x); in interpret_move() 1498 ty = FROMCOORD(y); in interpret_move() 1576 ui->edgepos = FROMCOORD(x + TILESIZE/2); in interpret_move() 1582 ui->edgepos = FROMCOORD(y + TILESIZE/2); in interpret_move()
|
H A D | slide.c | 1234 #define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 ) macro 1256 tx = FROMCOORD(x); in interpret_move() 1257 ty = FROMCOORD(y); in interpret_move() 1357 tx = FROMCOORD(x); in interpret_move() 1358 ty = FROMCOORD(y); in interpret_move()
|