mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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:
7
keen.c
7
keen.c
@ -1859,6 +1859,13 @@ static void draw_tile(drawing *dr, game_drawstate *ds, struct clues *clues,
|
|||||||
pr = pl + TILESIZE - GRIDEXTRA;
|
pr = pl + TILESIZE - GRIDEXTRA;
|
||||||
pt = ty + GRIDEXTRA;
|
pt = ty + GRIDEXTRA;
|
||||||
pb = pt + TILESIZE - 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
|
* We arrange our pencil marks in a grid layout, with
|
||||||
|
Reference in New Issue
Block a user