1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/puzzles/src
Franklin Wei 3ad9caeb2a puzzles: make Untangle's input code return UI_UPDATE instead of ""
This was changed upstream and slipped by when I was merging the
changes.

Change-Id: I3a53cd2db5a5cd2ffef52719a048b8ff4c80d1aa
2017-10-24 19:36:19 -04:00
..
html puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
icons puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
unfinished puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
aclocal.m4 puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
benchmark.pl puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
benchmark.sh puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
blackbox.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
blackbox.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
blackbox.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
bridges.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
bridges.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
bridges.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Buildscr puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
CHECKLST.txt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
chm.css puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
combi.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
common.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
compile puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
config.log puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
configure puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
configure.ac puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
cube.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
cube.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
cube.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
depcomp puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
desktop.pl puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
devel.but puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
divvy.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
docindex.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
dominosa.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
dominosa.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
dominosa.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
drawing.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
dsf.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
emcc.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
emcclib.js puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
emccpre.js puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
emccx.json puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
fifteen.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
fifteen.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
fifteen.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
filling.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
filling.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
filling.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
findloop.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
flip.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
flip.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
flip.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
flood.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
flood.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
flood.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
galaxies.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
galaxies.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
galaxies.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
gamedesc.txt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
grid.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
grid.h puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
gtk.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
guess.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
guess.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
guess.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
index.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
inertia.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
inertia.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
inertia.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
install-sh puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
intro.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
keen.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
keen.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
keen.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
latin.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
latin.h puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
laydomino.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
LICENCE puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
licence.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
lightup.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
lightup.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
lightup.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
list.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
loopgen.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
loopgen.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
loopy.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
loopy.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
loopy.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
magnets.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
magnets.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
magnets.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
makedist.sh puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
Makefile.am puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.cyg puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.doc puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
Makefile.emcc puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.gnustep puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.gtk puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.in puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
Makefile.nestedvm puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.osx puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.vc puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Makefile.wce puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
malloc.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
map.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
map.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
map.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
maxflow.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
maxflow.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
midend.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
mines.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
mines.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
mines.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
misc.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
missing puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
mkauto.sh puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
mkfiles.pl puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
nestedvm.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
net.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
net.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
net.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
netslide.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
netslide.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
netslide.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
no-icon.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
noicon.rc puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
nullfe.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
nullgame.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
nullgame.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
obfusc.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
osx-help.but puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
osx-info.plist puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
osx.icns puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
osx.m puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
padtoolbar.bmp puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
palisade.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
palisade.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
palisade.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pattern.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
pattern.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pattern.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pearl.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
pearl.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pearl.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pegs.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
pegs.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
pegs.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
penrose.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
penrose.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
printing.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
ps.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
PuzzleApplet.java puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
puzzles.but puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
puzzles.cnt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.h puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
puzzles.hlp puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.rc2 puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.txt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
random.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
range.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
range.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
range.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
README puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
Recipe puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
rect.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
rect.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
rect.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
resource.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
samegame.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
samegame.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
samegame.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
signpost.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
signpost.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
signpost.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
singles.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
singles.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
singles.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
sixteen.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
sixteen.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
sixteen.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
slant.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
slant.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
slant.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
solo.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
solo.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
solo.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tdq.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tents.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
tents.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tents.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
towers.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
towers.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
towers.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tracks.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
tracks.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tracks.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tree234.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
tree234.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
twiddle.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
twiddle.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
twiddle.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
undead.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
undead.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
undead.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
unequal.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
unequal.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
unequal.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
unruly.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
unruly.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
unruly.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
untangle.c puzzles: make Untangle's input code return UI_UPDATE instead of "" 2017-10-24 19:36:19 -04:00
untangle.html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
untangle.R puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
version.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
version.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
wceinf.pl puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
webpage.pl puzzles: resync with upstream 2017-09-30 20:06:50 -04:00
website.url puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
windows.c puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
winiss.pl puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
winwix.mc puzzles: resync with upstream 2017-09-30 20:06:50 -04:00

This is the README accompanying the source code to Simon Tatham's
puzzle collection. The collection's web site is at
<https://www.chiark.greenend.org.uk/~sgtatham/puzzles/>.

If you've obtained the source code by downloading a .tar.gz archive
from the Puzzles web site, you should find several Makefiles in the
source code. However, if you've checked the source code out from the
Puzzles git repository, you won't find the Makefiles: they're
automatically generated by `mkfiles.pl', so run that to create them.

The Makefiles include:

 - `Makefile.am', together with the static `configure.ac', is intended
   as input to automake. Run `mkauto.sh' to turn these into a
   configure script and Makefile.in, after which you can then run
   `./configure' to create an actual Unix Makefile.

 - `Makefile.vc' should work under MS Visual C++ on Windows. Run
   'nmake /f Makefile.vc' in a Visual Studio command prompt.

 - `Makefile.cyg' should work under Cygwin / MinGW. With appropriate
   tweaks and setting of TOOLPATH, it should work for both compiling
   on Windows and cross-compiling on Unix.

 - `Makefile.osx' should work under Mac OS X, provided the Xcode
   tools are installed. It builds a single monolithic OS X
   application capable of running any of the puzzles, or even more
   than one of them at a time.

 - `Makefile.wce' should work under MS eMbedded Visual C++ on
   Windows and the Pocket PC SDK; it builds Pocket PC binaries.

Many of these Makefiles build a program called `nullgame' in
addition to the actual game binaries. This program doesn't do
anything; it's just a template for people to start from when adding
a new game to the collection, and it's compiled every time to ensure
that it _does_ compile and link successfully (because otherwise it
wouldn't be much use as a template). Once it's built, you can run it
if you really want to (but it's very boring), and then you should
ignore it.

DO NOT EDIT THE MAKEFILES DIRECTLY, if you plan to send any changes
back to the maintainer. The makefiles are generated automatically by
the Perl script `mkfiles.pl' from the file `Recipe' and the various
.R files. If you need to change the makefiles as part of a patch,
you should change Recipe, *.R, and/or mkfiles.pl.

The manual is provided in Windows Help format for the Windows build;
in text format for anyone who needs it; and in HTML for the Mac OS X
application and for the web site. It is generated from a Halibut
source file (puzzles.but), which is the preferred form for
modification. To generate the manual in other formats, rebuild it,
or learn about Halibut, visit the Halibut website at
<https://www.chiark.greenend.org.uk/~sgtatham/halibut/>.