chiark / gitweb /
tracks: Roughly double the thickness of the "no track" crosses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 Sep 2017 13:29:58 +0000 (14:29 +0100)
committerSimon Tatham <anakin@pobox.com>
Fri, 29 Sep 2017 16:01:41 +0000 (17:01 +0100)
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>
tracks.c

index 1e46236bdc8bbd9e965359fcdd7ce1f56d661e46..4d5e7caa53daada2dfcafb9907a4d1666b7f1731 100644 (file)
--- 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 )