aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Ahem. Finishing writing the comment _before_ checkin is generally sensible.Simon Tatham2007-08-18
| | | | [originally from svn r7694]
* Allow a 1-omino to be completely destroyed and recreated in anSimon Tatham2007-08-18
| | | | | | | | | | arbitrary unclaimed square. This cures the most common cause of generation failures (covering a large area in dominoes was the most difficult case, and would fail even if the large area was 1xn!); the failure rate is now sufficiently low under all circumstances I've found that I'm willing to just loop until I get a success. [originally from svn r7693]
* Better test-mode diagnostics.Simon Tatham2007-08-18
| | | | [originally from svn r7691]
* A piece of library code which constructs a random division of aSimon Tatham2007-08-18
| | | | | | | | rectangle into equally sized ominoes. I have a couple of potential applications for this, but none I've actually implemented yet, so for the moment it's living in `unfinished'. [originally from svn r7690]
* Experimental UI tweak enabled by a hacky environment variable:Simon Tatham2007-07-31
| | | | | | | | | | | | suppress the display of `this square can't be a light' blobs in a lit square, on the grounds that we already know _lit_ squares can't be lights. This makes the solved game look cleaner (I've always thought the detritus of blobs on some but not all non-light squares looked messy), but on the other hand it's slightly jarring during play. So I'm checking it in, but as a configurable option which is off by default. [originally from svn r7656]
* A user points out that Loopy's solver relies on elements of theSimon Tatham2007-07-05
| | | | | | | | `clues' array being able to be -1, so we must explicitly declare it as `signed char' or it will break on platforms whose default char is unsigned. [originally from svn r7636]
* Optimiser placation.Simon Tatham2007-06-29
| | | | [originally from svn r7625]
* Updates and improvements from Jonas Koelker.Simon Tatham2007-05-20
| | | | [originally from svn r7601]
* Left puzzles.rc2 out of the tarball. Oops.Simon Tatham2007-05-19
| | | | [originally from svn r7600]
* More forgiving selection of dragging targets.Simon Tatham2007-05-12
| | | | [originally from svn r7574]
* Graphics tweak: make the top-right and bottom-left corners ofSimon Tatham2007-05-12
| | | | | | everything look nicer. [originally from svn r7573]
* In-game user interface to the solver.Simon Tatham2007-05-12
| | | | [originally from svn r7572]
* Fix tiny memory leak if you pressed Solve while part way through anSimon Tatham2007-05-12
| | | | | | existing solution path. [originally from svn r7571]
* Remove the check for disconnected pieces; it's over-general andSimon Tatham2007-05-12
| | | | | | triggers on a perfectly connected piece shaped like an inverted T. [originally from svn r7570]
* noicon.rc was missing from the Unix source archive, which caused aSimon Tatham2007-05-10
| | | | | | re-run of mkfiles.pl to fail. [originally from svn r7567]
* Stand-alone slidesolver.Simon Tatham2007-05-07
| | | | [originally from svn r7558]
* Add an optional move limit during game generation.Simon Tatham2007-05-07
| | | | [originally from svn r7554]
* Slight solver speedup by tracking more carefully which block mergesSimon Tatham2007-05-07
| | | | | | we've already tried, and not trying them again. [originally from svn r7553]
* Add a new misc.c function needed by Slide's colour setup.Simon Tatham2007-05-07
| | | | [originally from svn r7552]
* Close-to-finished auto-generating implementation of Klotski.Simon Tatham2007-05-07
| | | | [originally from svn r7547]
* I still haven't managed to get the WinCE port building via bob, butSimon Tatham2007-05-06
| | | | | | I should at least check in what I've got. [originally from svn r7542]
* Ensure the shuffling process never produces an already-solved grid.Simon Tatham2007-04-04
| | | | [originally from svn r7446]
* In the Windows frontend, stop tab navigation from activating buttons.Jacob Nevins2007-03-31
| | | | [originally from svn r7436]
* Er, and now do that _without_ introducing further segfaults.Simon Tatham2007-03-26
| | | | [originally from svn r7409]
* Stop failing assertions when we encounter an insoluble puzzle.Simon Tatham2007-03-26
| | | | [originally from svn r7408]
* Kyle Brazell points out that the completion checker considers aSimon Tatham2007-03-23
| | | | | | | region valid if it has _a_ dot at its centre of symmetry, even if that dot isn't actually within the region in question. [originally from svn r7407]
* Disallow clicks between squares.Jacob Nevins2007-03-16
| | | | [originally from svn r7400]
* r7364 failed to expand a malloc to match the larger data being putSimon Tatham2007-03-11
| | | | | | | in it. [originally from svn r7387] [r7364 == 39d299f579da3e91308d63acc78c68ab74666989]
* Gary Wong observes that solo's decode_params() is overenthusiasticSimon Tatham2007-03-11
| | | | | | | | | | | about eating the letter `d' (for `diagonal') when it appears in a symmtery description: it should only be used after `m', because mirror symmetry is the only type that can be diagonal. This was causing parsing of the parameter description `3x3adu' to produce the wrong answer: the d would be swallowed, then the u ignored for being incomprehensible, and you'd get default Trivial difficulty. [originally from svn r7386]
* Gary Wong points out that solosolver's verbose output isSimon Tatham2007-03-11
| | | | | | | inconsistent in whether it numbers rows and columns from zero or from one. Standardise on one. [originally from svn r7385]
* Since we've changed the semantics of the `expand' argument to midend_size(),Jacob Nevins2007-03-03
| | | | | | change the name. Also document the new semantics. [originally from svn r7369]
* Patch from Ben Hutchings to allow user-initiated tilesize changes to persistJacob Nevins2007-03-03
| | | | | | | | across changes in game parameters (e.g., changing difficulty without changing size). This also has the effect of preserving the user-selected tilesize if the grid size is changed. (From Debian bug#379452.) [originally from svn r7368]
* Ben Hutchings' patch to allow Gtk windows to be shrunk as well as grownJacob Nevins2007-03-03
| | | | | | | | (from Debian bug#379452). Tested on Gtk 2. I've been unable to find a Gtk+-1.2 installation on which Puzzles compiles, so not tested there. [originally from svn r7367]
* Refactoring patch from Ben Hutchings: move all the Gtk resize code into oneJacob Nevins2007-03-03
| | | | | | place. (From Debian bug#379452) [originally from svn r7366]
* Patch from James H to provide resizability on Windows.Simon Tatham2007-03-03
| | | | [originally from svn r7364]
* Minor cleanups (mostly \ns in diagnostic printfs) from James H.Simon Tatham2007-03-03
| | | | [originally from svn r7363]
* My favourite kind of patch, from James H: one which decreases theSimon Tatham2007-03-03
| | | | | | | | | | | | amount of code. James has ripped out the solver's version of check_complete(), in favour of using the one I wrote for the game-playing UI. My one checks connectedness, which means that the solver will now not believe non-solutions to puzzles where connectedness becomes a difficult issue. Examples of game IDs which are now solved correctly but were previously not are 5x3:ubb and 7x7:ajfzmfqgtdzgt. [originally from svn r7362]
* About time I got round to documenting the newSimon Tatham2007-03-03
| | | | | | REQUIRE_{RBUTTON,NUMPAD} flags. [originally from svn r7356]
* Fix problems with arrow UI with non-square grid.Jacob Nevins2007-03-02
| | | | [originally from svn r7355]
* Silliness! Here's a somewhat hacky patch which builds an additionalSimon Tatham2007-03-01
| | | | | | | | | | | | | | | | | 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]
* Amend README so that it makes reasonable sense no matter whetherSimon Tatham2007-03-01
| | | | | | | you've got your source code from a tarball (with makefiles) or from svn (without makefiles). While I'm here, mention Makefile.wce. [originally from svn r7352]
* Cleanup patch from James H: disable the `s' key, which was only inSimon Tatham2007-03-01
| | | | | | there by accident. [originally from svn r7351]
* Adam D. Lopresto and Phil Bordelon independently point out aSimon Tatham2007-03-01
| | | | | | signedness mismatch. [originally from svn r7350]
* Bound edge thicknesses below so that they're always thicker than theSimon Tatham2007-03-01
| | | | | | grid lines. [originally from svn r7349]
* Fix some border drawing issues.Jacob Nevins2007-02-28
| | | | [originally from svn r7347]
* MinGW windres doesn't like an empty resource file, so invent a resource toJacob Nevins2007-02-28
| | | | | | keep it happy. (Hopefully this hack will be temporary.) [originally from svn r7346]
* General cleanups patch from James H:Simon Tatham2007-02-28
| | | | | | | | | | | | - missing static in filling.c - better robustness in execute_move() in filling.c - remove side effects in assert statements - remove rogue diagnostic in galaxies.c - remove // comment in map.c - add more stylus-friendly UI to Pattern - bias Unequal towards generating inequality clues rather than numeric [originally from svn r7344]
* Gary Wong points out a couple of minor errors in the setting ofSimon Tatham2007-02-28
| | | | | | `used_solve'. [originally from svn r7343]
* Provide my old drag-based interface to Net as an ifdef-enabledSimon Tatham2007-02-27
| | | | | | | option, and turn it on by default on stylus-based platforms (i.e. currently PocketPC). [originally from svn r7341]
* Another thing to watch out for when adding new puzzles.Simon Tatham2007-02-27
| | | | [originally from svn r7340]