aboutsummaryrefslogtreecommitdiff
path: root/loopy.R
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2011-04-24 09:10:52 +0000
committerSimon Tatham <anakin@pobox.com>2011-04-24 09:10:52 +0000
commit62c20496bf106b1034f4be95bdb7723c3ec78d00 (patch)
tree28ab54312b25f9ccf288c553a74db0fea5646ba0 /loopy.R
parentf390d0d7ff4972e4cb8aa778c2eb44452067d6d0 (diff)
downloadpuzzles-62c20496bf106b1034f4be95bdb7723c3ec78d00.zip
puzzles-62c20496bf106b1034f4be95bdb7723c3ec78d00.tar.gz
puzzles-62c20496bf106b1034f4be95bdb7723c3ec78d00.tar.bz2
puzzles-62c20496bf106b1034f4be95bdb7723c3ec78d00.tar.xz
From James Harvey (via a period of collaborative polishing), a patch
to add two kinds of Penrose tiling to the grid types supported by Loopy. This has involved a certain amount of infrastructure work, because of course the whole point of Penrose tilings is that they don't have to be the same every time: so now grid.c has grown the capacity to describe its grids as strings, and reconstitute them from those string descriptions. Hence a Penrose Loopy game description consists of a string identifying a particular piece of Penrose tiling, followed by the normal Loopy clue encoding. All the existing grid types decline to provide a grid description string, so their Loopy game descriptions have not changed encoding. [originally from svn r9159]
Diffstat (limited to 'loopy.R')
-rw-r--r--loopy.R9
1 files changed, 8 insertions, 1 deletions
diff --git a/loopy.R b/loopy.R
index e77f9c7..c15e39c 100644
--- a/loopy.R
+++ b/loopy.R
@@ -1,6 +1,6 @@
# -*- makefile -*-
-LOOPY_EXTRA = tree234 dsf grid
+LOOPY_EXTRA = tree234 dsf grid penrose
loopy : [X] GTK COMMON loopy LOOPY_EXTRA loopy-icon|no-icon
@@ -9,6 +9,13 @@ loopy : [G] WINDOWS COMMON loopy LOOPY_EXTRA loopy.res|noicon.res
loopysolver : [U] loopy[STANDALONE_SOLVER] LOOPY_EXTRA STANDALONE m.lib
loopysolver : [C] loopy[STANDALONE_SOLVER] LOOPY_EXTRA STANDALONE
+#penrose : [U] penrose[TEST_PENROSE] STANDALONE m.lib
+#penrose : [C] penrose[TEST_PENROSE] STANDALONE
+
+#test-basis : [U] penrose[TEST_VECTORS] tree234 STANDALONE m.lib
+#test-basis : [C] penrose[TEST_VECTORS] tree234 STANDALONE
+
+
ALL += loopy[COMBINED] LOOPY_EXTRA
!begin gtk