shithub: puzzles

Download patch

ref: 9a59d8a45a3d46af8d1eddb4a2c8b5c03d49119b
parent: c5001ca751641b341b90913ba67c9138923ab759
author: Simon Tatham <anakin@pobox.com>
date: Sun Feb 19 07:42:46 EST 2006

Patch from Phil Bordelon to improve Bridges' appearance by adjusting
the font size.

[originally from svn r6573]

--- a/bridges.c
+++ b/bridges.c
@@ -2401,9 +2401,9 @@
     draw_update(dr, ox, oy, TILE_SIZE, TILE_SIZE);
 }
 
-#define ISLAND_RADIUS ((TILE_SIZE*13)/20)
+#define ISLAND_RADIUS ((TILE_SIZE*12)/20)
 #define ISLAND_NUMSIZE(is) \
-    (((is)->count < 10) ? TILE_SIZE : (TILE_SIZE*8)/10)
+    (((is)->count < 10) ? (TILE_SIZE*7)/10 : (TILE_SIZE*5)/10)
 
 static void island_redraw(drawing *dr,
                           game_state *state, game_drawstate *ds,