aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Phil Bordelon points out that when I renamed `Recursive' I missed aSimon Tatham2007-02-22
| | | | | | bit. [originally from svn r7314]
* Remove spurious semicolons from macros; their upset compilers that don't likeJacob Nevins2007-02-22
| | | | | | | mixing declarations and code (I accidentally tried to compile it with one such). [originally from svn r7313]
* And fix the error _I_ made in r7311. I should stop coding now,Simon Tatham2007-02-22
| | | | | | | because I'm clearly too sleepy to get it right. [originally from svn r7312] [r7311 == 8c0890a331d93c9d12ef782601b9953463872fc6]
* Part of r7310 completely changed the careful semantics of mySimon Tatham2007-02-22
| | | | | | | | coordinate-rounding, causing picking up arrows from a dot anywhere other than at the centre of a square to break. [originally from svn r7311] [r7310 == a428c5899de86897fe4e92fa6585b3c3908ce2ad]
* Patch from James H to make the Palm compiler stop objecting to mySimon Tatham2007-02-22
| | | | | | | (as far as I could tell) perfectly legal use of floats, and also remove some VC warnings. [originally from svn r7310]
* We may reluctantly permit the returning of a too-easy puzzle if anSimon Tatham2007-02-22
| | | | | | | | | | | | | | | adequately hard one couldn't be found, but we must never return a puzzle harder than the user asked for, and we _certainly_ mustn't return one that we aren't even sure has a unique solution. However, when I attempted to implement this rule, it turned out that an attempt to generate a 15x15 Easy puzzle didn't terminate before I got bored and killed it. I'm therefore retiring the Easy difficulty level on the grounds that it's not a wide enough band to be useful. I've renamed Hard to Normal, and (while I was there) renamed Recursive to Unreasonable in line with my normal practice. [originally from svn r7309]
* James H forgot to credit himself for Galaxies!Simon Tatham2007-02-22
| | | | [originally from svn r7308]
* Update the new-puzzle checklist for the post-bob world.Simon Tatham2007-02-22
| | | | [originally from svn r7307]
* Missing uses of \q{}.Simon Tatham2007-02-22
| | | | [originally from svn r7305]
* Add James Harvey's excellent new puzzle, `Galaxies'.Simon Tatham2007-02-22
| | | | [originally from svn r7304]
* Forgot to shuffle the num[] array! That was probably introducingSimon Tatham2007-02-19
| | | | | | some really subtle probabilistic bias in the generated latin squares. [originally from svn r7302]
* Replicate r7285 from PuTTY: make keyboard input work in HTML Help.Jacob Nevins2007-02-13
| | | | | [originally from svn r7286] [r7285 == 3d78bf9b261b4bfd30ae00d5ba43744c4144c934 in putty repository]
* Now we have the new `module' command, use it.Simon Tatham2007-02-05
| | | | [originally from svn r7224]
* Reinstate the icons in the Windows binaries.Simon Tatham2007-02-04
| | | | [originally from svn r7217]
* Forgot to tag the Mac and Windows binaries with the revision number.Simon Tatham2007-02-04
| | | | [originally from svn r7215]
* Looking for puzzles*.tar.gz in the right directory is liable to makeSimon Tatham2007-02-04
| | | | | | the .htaccess build work better :-) [originally from svn r7214]
* Build script for Puzzles using bob. I've also added a piece of extraSimon Tatham2007-02-04
| | | | | | | | | infrastructure to the mkfiles.pl framework for the convenience of the build script: it generates `wingames.lst', a list of the Windows binaries which are ship-worthy games as opposed to nullgame or command-line auxiliary programs. [originally from svn r7206]
* Misdirected cross-reference spotted by Jonas Koelker.Simon Tatham2007-01-27
| | | | [originally from svn r7172]
* Marcin Wojdyr points out that the use of `>&' to redirect bothSimon Tatham2007-01-16
| | | | | | | stdout and stderr is non-standard. Switch to a POSIX-blessed alternative. [originally from svn r7116]
* Phil Bordelon points out an off-by-one error: since Solo doesn't useSimon Tatham2007-01-15
| | | | | | | | zero as a valid puzzle symbol, it can support at most 35 symbols, not 36. (This is largely academic since IME anything above about 25 is impractical to generate, but there we go.) [originally from svn r7115]
* Patch from James H which shouldn't change the functionality ofSimon Tatham2007-01-15
| | | | | | Loopy, but makes it build more sensibly on the Palm. [originally from svn r7114]
* Patch from James H to fix the occasional generation of puzzlesSimon Tatham2007-01-15
| | | | | | harder than requested. [originally from svn r7113]
* Phil Bordelon points out that the Unequal difficulty settingsSimon Tatham2007-01-15
| | | | | | | documentation is a bit odd, and also offers a signedness fix in latin.c. [originally from svn r7112]
* Give all the intermediate files distinct file names, so that aSimon Tatham2007-01-14
| | | | | | | multi-CPU machine can speed up the icon build using `make -j' and not have it break. [originally from svn r7106]
* Formatting tweaks / index terms in Unequal docs.Jacob Nevins2007-01-13
| | | | [originally from svn r7105]
* First time I've added a new puzzle since the icons-and-screenshotsSimon Tatham2007-01-13
| | | | | | upheaval. Modify the checklist accordingly. [originally from svn r7103]
* Icon for Unequal.Simon Tatham2007-01-13
| | | | [originally from svn r7101]
* Add James H's new puzzle, `Unequal' (otherwise known as theSimon Tatham2007-01-13
| | | | | | Guardian's `Futoshiki'). [originally from svn r7100]
* Remove a couple of rogue make targets for `osx.icns.o' andSimon Tatham2007-01-13
| | | | | | `osx-info.plist.o' which had crept into most of the Makefiles. [originally from svn r7099]
* Rather to my surprise given the amount of testing this code has had,Simon Tatham2007-01-11
| | | | | | | | | Kevin Lyles spotted a tree234 bug! copytree234() segfaulted when asked to copy a tree containing no elements, due to failing to allow for the case that t->root might be NULL. Fixed, and added a regression test. [originally from svn r7092]
* In Windows/Gtk front-ends, consistently use the ellipsis convention for namingJacob Nevins2007-01-04
| | | | | | menu items which bring up dialogs. [originally from svn r7058]
* Phil Bordelon's patch yesterday should have initialised the GErrorSimon Tatham2007-01-03
| | | | | | to NULL. [originally from svn r7052]
* Phil Bordelon points out that my invocation of gdk_pixbuf_save()Simon Tatham2007-01-02
| | | | | | isn't quite right. [originally from svn r7050]
* It's a new year.Jacob Nevins2007-01-01
| | | | | [originally from svn r7048] [this svn revision also touched putty,putty-website]
* Document the new --game and --load options on Unix.Jacob Nevins2006-12-30
| | | | [originally from svn r7040]
* Make errors in option parsing actually _do_ something in interactive mode.Jacob Nevins2006-12-30
| | | | [originally from svn r7039]
* Bring .R files for nullgame and unfinished puzzles up to date with the rest ofJacob Nevins2006-12-29
| | | | | | the world (by adding icon support). [originally from svn r7038]
* Update manual copyright to 2006.Jacob Nevins2006-12-29
| | | | [originally from svn r7036]
* Add NO_HTMLHELP and turn it on by default in Makefile.cyg.Jacob Nevins2006-12-28
| | | | [originally from svn r7033]
* Enhance icon.pl to be a fully general Windows icon builder: it nowSimon Tatham2006-12-28
| | | | | | | | | | | | | | supports monochrome icons, can deal with any size of image you're mad enough to put in there, and will construct icons with whatever combination of sizes and resolutions you feel like specifying. This has involved a change in the command-line syntax, hence the adjustment to Makefile. (I don't imagine that the changes described here will be critical to Puzzles any time soon, but I might reuse this script elsewhere and then I won't want it to have arbitrary limitations.) [originally from svn r7031]
* `make all' targets are usually useful.Simon Tatham2006-12-27
| | | | [originally from svn r7026]
* Er, further makedist fixes. Helps if you test _before_ checkin.Simon Tatham2006-12-27
| | | | [originally from svn r7025]
* And update makedist.sh to put all the new stuff into the sourceSimon Tatham2006-12-27
| | | | | | tarball. [originally from svn r7024]
* Fix the Cygwin RCFLAGS in the light of recent changes.Simon Tatham2006-12-27
| | | | [originally from svn r7023]
* Aha, this seems to be a more sensible way of getting screenshots:Simon Tatham2006-12-27
| | | | | | | | | instead of having the puzzle binary export its window ID to a script which then runs xwd, we can use the gdk-pixbuf library to have the puzzle binary _itself_ read its own internal pixmap and save it straight to a PNG. How handy. And faster, and less timing-sensitive. [originally from svn r7022]
* Support for run-time icons in the GTK puzzles. This involved anotherSimon Tatham2006-12-27
| | | | | | | | | | mkfiles.pl change (I don't seem to be planning ahead very well this week), this time to provide a list of fallback options for an object file. That way, I have a no-icon.c which quietly replaces icons/foo-icon.c if the latter doesn't exist, and so again people checking straight out from Subversion shouldn't have trouble. [originally from svn r7021]
* Actually introduce the ability to build the Windows icons into theSimon Tatham2006-12-27
| | | | | | | | | | | | | | | | | | | Windows puzzle binaries. This checkin involves several distinct changes: - mkfiles.pl now has an extra feature: if an object file is listed in Recipe with a trailing question mark, it will be considered optional, and silently dropped from the makefile if its primary source file isn't present at the time mkfiles.pl runs. This means people who check out the puzzles from Subversion and just run mkfiles.pl shouldn't get build failures; they just won't get the icons. - all the .R files now use this feature to include an optional Windows resource file. - the .rc resource source files are built by icons/Makefile. - windows.c finds the icon if present and uses it in place of the standard Windows application icon. [originally from svn r7020]
* Improve the icon images by cropping selected pieces out of most ofSimon Tatham2006-12-27
| | | | | | | | | | the main screenshots. (A few, like Map, were perfect already.) In the process I've vertically reflected the puzzle shown in the Pattern save file, to bring a more interesting piece of it into the top left corner :-) [originally from svn r7019]
* Code to construct Windows icon files for the puzzles, by munging theSimon Tatham2006-12-26
| | | | | | | | | | | | | | screenshots into appropriate sizes and colour depths. This is all done with a nasty Perl script, because ImageMagick does not output correct .ICO format. Not sure why; it isn't _that_ hard. I intend at some point to link the resulting icons into the actual Windows puzzle binaries, but before then I have to make them prettier: most of them would benefit from being derived from a smaller crop of the puzzle screenshot instead of trying to fit the whole thing in. [originally from svn r7017]
* New mechanism for automatic generation of the puzzle screenshots onSimon Tatham2006-12-26
| | | | | | | | | | | | | | | | | | | the web, which I hope will also end up being extended to generate both Windows and X icons for each individual puzzle. The mechanism is: for each puzzle there's a save file in the `icons' subdirectory showing a game state which I think is a decent illustration of the puzzle, and then there's a nasty set of scripts which runs each puzzle binary, loads that save file, grabs a screenshot using xwd, and munges it into shape. In order to support this I've added two new options (--redo and --windowid) to all the GTK puzzles, which I don't expect ever to be used outside the icons makefile. I've also added two more options (--load and --id) which force a GTK puzzle to treat its command-line option as a save file or as a game ID respectively (the previous behaviour was always to guess, and sometimes it guessed wrong). [originally from svn r7014]