From: Ian Jackson Date: Thu, 28 Sep 2017 23:21:22 +0000 (+0100) Subject: tracks: Roughly double the thickness of the "no track" crosses X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=fdd2f8b4cb2692186ad9829af59aae7e63e32cc1;p=sgt-puzzles.git tracks: Roughly double the thickness of the "no track" crosses The default of 1/30 is rather thin, and probably wasn't chosen deliberately (since it was just inherited from the default 1-pixel line width, and the preferred tile size). Thicker crosses stand out more and make play easier. Use 1/16 since it's a rounder number than 1/15 :-). Signed-off-by: Ian Jackson --- diff --git a/tracks.c b/tracks.c index 1e46236..4d5e7ca 100644 --- a/tracks.c +++ b/tracks.c @@ -1719,7 +1719,7 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate, #define BORDER (TILE_SIZE/8) #define BORDER_WIDTH (max(TILE_SIZE / 32, 1)) -#define LINE_THICK (TILE_SIZE/30) +#define LINE_THICK (TILE_SIZE/16) #define COORD(x) ( (x+1) * TILE_SIZE + BORDER ) #define CENTERED_COORD(x) ( COORD(x) + TILE_SIZE/2 )