diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-01-05 18:26:44 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-01-05 18:26:44 +0000 |
| commit | 81c65eeac18b3c5f2c869678b3fe03e2bd46ddc2 (patch) | |
| tree | 2827183f8c5ef1fda08549b242696ee41381dced /keen.c | |
| parent | c3c186d687b5e48e058cb5b2e832e48530caf8e5 (diff) | |
| download | puzzles-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.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |