1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/puzzles/src
Franklin Wei ef9c2f4457 puzzles: fix polygon drawing in Inertia
Yet another hack to accommodate our polygon algorithm...

Change-Id: Ic5d304be23d30c380b19771ab68cf01c416261b4
2017-08-16 11:40:42 -04:00
..
html puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
icons puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
unfinished puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
aclocal.m4 puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
CHECKLST.txt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
chm.but 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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
dsf.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
emcc.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
emcclib.js puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
emccpre.js puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
emccx.json puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
fifteen.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
grid.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
gtk.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
guess.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: fix polygon drawing in Inertia 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
latin.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
maxflow.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
midend.c puzzles: fix floating-point formatting 2017-08-16 11:40:42 -04:00
mines.c puzzles: add more parameter validation checks 2017-08-16 11:40:42 -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: fix building 2017-05-17 17:42:30 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
nestedvm.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
net.c puzzles: fix floating-point formatting 2017-08-16 11:40:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
nullgame.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
padtoolbar.bmp puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
palisade.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
PuzzleApplet.java puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.but puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.cnt puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
puzzles.h puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
Recipe puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
rect.c puzzles: fix floating-point formatting 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: fix star drawing in Signpost 2017-07-17 17:03:03 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: add more parameter validation checks 2017-08-16 11:40:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -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: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
website.url puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
windows.c puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
winiss.pl puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00
winwix.mc puzzles: refactor and resync with upstream 2017-04-29 18:24:42 -04:00

This is the README accompanying the source code to Simon Tatham's
puzzle collection. The collection's web site is at
<http://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
<http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.