New utility 'patternpicture', to build a Pattern from an xbm.

This utility works basically the same as galaxiespicture: you feed it
a .xbm bitmap on standard input, and it constructs a game ID which
solves to exactly that image. It will pre-fill some squares if that's
necessary to resolve ambiguity, or leave the grid completely blank if
it can.
This commit is contained in:
Simon Tatham
2015-12-11 19:53:58 +00:00
parent f061101210
commit 786f5b18e4
2 changed files with 252 additions and 7 deletions

View File

@ -7,6 +7,9 @@ pattern : [G] WINDOWS COMMON pattern pattern.res|noicon.res
patternsolver : [U] pattern[STANDALONE_SOLVER] STANDALONE
patternsolver : [C] pattern[STANDALONE_SOLVER] STANDALONE
patternpicture : [U] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE
patternpicture : [C] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE
ALL += pattern[COMBINED]
!begin am gtk