Implement error checking in Slant. Clue points are now highlighted
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Aug 2005 17:14:25 +0000 (17:14 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Aug 2005 17:14:25 +0000 (17:14 +0000)
commit9dc3c55b68c3e3e373336657f2036dc673e90c13
treec93a1435b05f395b179eae5fed9d697caa64cc9f
parent14bc36eeee7b1f940c2349245db8f1ce07cc339f
Implement error checking in Slant. Clue points are now highlighted
in red if it's impossible to fulfill them (either through too many
neighbours connecting to them, or too many not connecting to them),
and edges are highlighted in red if they form part of a loop.

In order to do this I've had to revamp the redraw function
considerably. Each square is now drawn including its top and left
grid edges, but _not_ its bottom or right ones - which means that I
need to draw an extra strip of empty squares outside the actual grid
in order to draw the few pixels which appear on the grid bottom and
right borders and also to red-highlight border clues.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6174 cda61777-01e9-0310-a592-d414129be87e
slant.c