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]
This commit is contained in:
Simon Tatham
2010-01-05 18:26:44 +00:00
parent c3c186d687
commit 81c65eeac1

7
keen.c
View File

@ -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