| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
thanks to Gareth.
[originally from svn r6248]
|
| |
|
|
|
|
| |
working as well.
[originally from svn r6245]
|
| |
|
|
|
|
|
|
|
|
|
|
| |
it had a command-line solver. In order to do this, I've had to
expose the internal region numbering because the solver has to have
some way to state which region it means; and in any case it's also
useful to have human-visible region numbering so that two people can
discuss a puzzle they're solving together. So pressing L during play
now toggles the display of region numbers; and `mapsolver' uses
those same numbers when showing its working and its solutions.
[originally from svn r6244]
|
| |
|
|
|
|
|
| |
Also implemented the Map analogue of Solo's pencil marks, to make
this mode more playable.
[originally from svn r6240]
|
| |
|
|
| |
[originally from svn r6236]
|
| |
|
|
|
|
| |
of the grid area, not 3/2!
[originally from svn r6235]
|
| |
|
|
|
|
|
|
|
| |
- the exclamation mark was a bit dot-heavy
- allowing the indicator to be placed at a grid point as well as
half way between two grid points allows some much more natural
positioning.
[originally from svn r6234]
|
| |
|
|
| |
[originally from svn r6229]
|
| |
|
|
| |
[originally from svn r6228]
|
| |
|
|
|
|
|
| |
returning NULL due to no moves being required, leading to a strange
error message. Trivial fix.
[originally from svn r6198]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as seen by the back ends from the one implemented by the front end,
and shoved a piece of middleware (drawing.c) in between to permit
interchange of multiple kinds of the latter. I've also added a
number of functions to the drawing API to permit printing as well as
on-screen drawing, and retired print.py in favour of integrated
printing done by means of that API.
The immediate visible change is that print.py is dead, and each
puzzle now does its own printing: where you would previously have
typed `print.py solo 2x3', you now type `solo --print 2x3' and it
should work in much the same way.
Advantages of the new mechanism available right now:
- Map is now printable, because the new print function can make use
of the output from the existing game ID decoder rather than me
having to replicate all those fiddly algorithms in Python.
- the new print functions can cope with non-initial game states,
which means each puzzle supporting --print also supports
--with-solutions.
- there's also a --scale option permitting users to adjust the size
of the printed puzzles.
Advantages which will be available at some point:
- the new API should permit me to implement native printing
mechanisms on Windows and OS X.
[originally from svn r6190]
|
| |
|
|
| |
[originally from svn r6188]
|
|
|
(This puzzle is theoretically printable, but I haven't added it in
print.py since there's rather a lot of painful processing required
to get from the game ID to the puzzle's visual appearance. It
probably won't become printable unless I get round to implementing a
more integrated printing architecture.)
[originally from svn r6186]
|