mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-23 08:52:14 -07:00
New mechanism for automatic generation of the puzzle screenshots on
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]
This commit is contained in:
35
icons/twiddle.sav
Normal file
35
icons/twiddle.sav
Normal file
@ -0,0 +1,35 @@
|
||||
SAVEFILE:41:Simon Tatham's Portable Puzzle Collection
|
||||
VERSION :1:1
|
||||
GAME :7:Twiddle
|
||||
PARAMS :5:3x3n2
|
||||
CPARAMS :5:3x3n2
|
||||
SEED :15:635499951462226
|
||||
DESC :17:3,7,2,6,5,1,8,4,9
|
||||
NSTATES :2:27
|
||||
STATEPOS:2:22
|
||||
MOVE :7:M0,0,-1
|
||||
MOVE :7:M1,0,-1
|
||||
MOVE :6:M1,1,1
|
||||
MOVE :6:M0,1,1
|
||||
MOVE :6:M0,0,1
|
||||
MOVE :6:M0,0,1
|
||||
MOVE :7:M1,1,-1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :7:M1,1,-1
|
||||
MOVE :6:M0,1,1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :6:M1,1,1
|
||||
MOVE :6:M1,1,1
|
||||
MOVE :6:M0,1,1
|
||||
MOVE :6:M0,1,1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :7:M1,1,-1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :7:M1,1,-1
|
||||
MOVE :6:M0,1,1
|
||||
MOVE :7:M1,0,-1
|
||||
MOVE :7:M0,1,-1
|
||||
MOVE :6:M1,0,1
|
||||
MOVE :6:M1,1,1
|
||||
MOVE :6:M1,1,1
|
Reference in New Issue
Block a user