aboutsummaryrefslogtreecommitdiff
path: root/keen.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2010-01-05 18:26:44 +0000
committerSimon Tatham <anakin@pobox.com>2010-01-05 18:26:44 +0000
commit81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2 (patch)
tree2827183f8c5ef1fda08549b242696ee41381dced /keen.c
parentc3c186d687b5e48e058cb5b2e832e48530caf8e5 (diff)
downloadpuzzles-81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2.zip
puzzles-81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2.tar.gz
puzzles-81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2.tar.bz2
puzzles-81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2.tar.xz
Missing piece of code I should have cribbed from Solo: we have to
lay out large numbers of pencil marks differently in a square containing a clue. [originally from svn r8807]
Diffstat (limited to 'keen.c')
-rw-r--r--keen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keen.c b/keen.c
index 1c96a5d..5ec7898 100644
--- a/keen.c
+++ b/keen.c
@@ -1859,6 +1859,13 @@ static void draw_tile(drawing *dr, game_drawstate *ds, struct clues *clues,
pr = pl + TILESIZE - GRIDEXTRA;
pt = ty + GRIDEXTRA;
pb = pt + TILESIZE - GRIDEXTRA;
+ if (dsf_canonify(clues->dsf, y*w+x) == y*w+x) {
+ /*
+ * Make space for the clue text.
+ */
+ pt += TILESIZE/4;
+ /* minph--; */
+ }
/*
* We arrange our pencil marks in a grid layout, with