aboutsummaryrefslogtreecommitdiff
path: root/galaxies.R
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-03-01 18:57:36 +0000
committerSimon Tatham <anakin@pobox.com>2007-03-01 18:57:36 +0000
commit3584fc5a1bd8d613e32362ec3a89dd28f4d5c267 (patch)
tree0454a5658113111cce6883e5d4a36e546a085e6f /galaxies.R
parent2fc204c1e2f5f93dbdd505253289e87e8d3a7621 (diff)
downloadpuzzles-3584fc5a1bd8d613e32362ec3a89dd28f4d5c267.zip
puzzles-3584fc5a1bd8d613e32362ec3a89dd28f4d5c267.tar.gz
puzzles-3584fc5a1bd8d613e32362ec3a89dd28f4d5c267.tar.bz2
puzzles-3584fc5a1bd8d613e32362ec3a89dd28f4d5c267.tar.xz
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. [originally from svn r7354]
Diffstat (limited to 'galaxies.R')
-rw-r--r--galaxies.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/galaxies.R b/galaxies.R
index 2babf89..20985f4 100644
--- a/galaxies.R
+++ b/galaxies.R
@@ -9,6 +9,10 @@ galaxies : [G] WINDOWS COMMON GALAXIES galaxies.res|noicon.res
galaxiessolver : [U] galaxies[STANDALONE_SOLVER] dsf STANDALONE m.lib
galaxiessolver : [C] galaxies[STANDALONE_SOLVER] dsf STANDALONE
+galaxiespicture : [U] galaxies[STANDALONE_PICTURE_GENERATOR] dsf STANDALONE
+ + m.lib
+galaxiespicture : [C] galaxies[STANDALONE_PICTURE_GENERATOR] dsf STANDALONE
+
ALL += galaxies
!begin gtk