shithub: puzzles

Download patch

ref: 05938e1f64bccaa7019a2aee48d82092df533362
parent: 9b0069b1379f6468a797a886a8520baf57b0fa9f
author: Ian Jackson <ijackson@chiark.greenend.org.uk>
date: Fri Sep 29 10:29:58 EDT 2017

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 <ijackson@chiark.greenend.org.uk>

--- a/tracks.c
+++ b/tracks.c
@@ -1719,7 +1719,7 @@
 
 #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 )