chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c186d
)
Missing piece of code I should have cribbed from Solo: we have to
author
Simon Tatham
<anakin@pobox.com>
Tue, 5 Jan 2010 18:26:44 +0000
(18:26 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Tue, 5 Jan 2010 18:26:44 +0000
(18:26 +0000)
lay out large numbers of pencil marks differently in a square
containing a clue.
[originally from svn r8807]
keen.c
patch
|
blob
|
history
diff --git
a/keen.c
b/keen.c
index 1c96a5dc715d8703e0af6bd534f9c0d911f2a734..5ec78982aa9166654008d464c478f61fd12c7a7c 100644
(file)
--- 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