Silliness! Here's a somewhat hacky patch which builds an additional
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Mar 2007 18:57:36 +0000 (18:57 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Mar 2007 18:57:36 +0000 (18:57 +0000)
commit9dce977f1715615afd2e28b67df78eb39ad9a175
tree0454a5658113111cce6883e5d4a36e546a085e6f
parentcec8bfaf34514f908371cba3f73f60e7c9b209d9
Silliness! Here's a somewhat hacky patch which builds an additional
binary from the Galaxies source file. The function of the new
`galaxiespicture' is to take a .xbm bitmap on standard input and
convert it into a Galaxies game ID using both black and white dots,
such that when solved the puzzle displays the input bitmap.

In the process of this I've implemented a post-processing pass after
the main game generation, to prevent clusters of adjacent
singletons. James H already solved that problem for unconstrained
game generation, but for some reason it came back when I did this.
However, the post-processing pass is still turned off for normal
usage, on the basis that (a) if it ain't broke don't fix it, and (b)
it's rather slow and best avoided if not necessary.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7354 cda61777-01e9-0310-a592-d414129be87e
galaxies.R
galaxies.c