mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Loopy: slightly increase the size of dots.
In the Hats tiling, each tile has two consecutive edges collinear. When both edges are turned on, i.e. drawn in black just like the dot, it becomes _just slightly_ tricky to spot the dot in the middle of that straight line, which is important if you're counting edges around the face to check a clue. Increasing the radius from 2/32 to 3/32 of tile size is far too big. 2.5/32 seems reasonable, though.
This commit is contained in:
2
loopy.c
2
loopy.c
@ -3378,7 +3378,7 @@ static void game_redraw_dot(drawing *dr, game_drawstate *ds,
|
||||
int x, y;
|
||||
|
||||
grid_to_screen(ds, g, d->x, d->y, &x, &y);
|
||||
draw_circle(dr, x, y, ds->tilesize*2/32.0, COL_FOREGROUND, COL_FOREGROUND);
|
||||
draw_circle(dr, x, y, ds->tilesize*2.5/32.0, COL_FOREGROUND, COL_FOREGROUND);
|
||||
}
|
||||
|
||||
static bool boxes_intersect(int x0, int y0, int w0, int h0,
|
||||
|
Reference in New Issue
Block a user