Stop the analysis pass in Loopy's redraw routine from being
[sgt/puzzles] / CHECKLST.txt
CommitLineData
1b470bcf 1Useful checklists
2=================
3
4Things to remember when adding a new puzzle
5-------------------------------------------
6
7Write the source file for the new puzzle (duhh).
8
3f98cd5a 9Create a .R file for it which:
21bd0b9b 10 - defines a <puzzle>_EXTRA symbol for it if it requires auxiliary
11 object files (make sure that symbol doesn't contain the icon)
3f98cd5a 12 - adds it to the `ALL' definition, to ensure it is compiled into
13 the OS X binary
6d21655a 14 - adds it as a GTK build target, with the optional GTK icon
15 - adds it as a Windows build target, with the optional resource
16 file
3f98cd5a 17 - adds auxiliary solver binaries if any
18 - adds it to $(GAMES) in the GTK makefile, for `make install'
2f30b9e0 19 - adds it to list.c for the OS X binary
ec654298 20 - adds it to wingames.lst along with a textual name, for the build
21 system and Windows installer.
1b470bcf 22
6193da8d 23If the puzzle is by a new author, modify the copyright notice in
24LICENCE and in puzzles.but. (Also in index.html, but that's listed
25below under website changes.)
26
3f98cd5a 27Double-check that the game structure name in the source file has
28been renamed from `nullgame', so that it'll work on OS X. Actually
29compiling it on OS X would be a good way to check this, if
30convenient.
1b470bcf 31
32Add a documentation section in puzzles.but.
33
34Make sure there's a Windows help topic name defined in puzzles.but,
35and that it's referenced by the help topic field in the game
36structure in the source file.
37
21bd0b9b 38Check that REQUIRE_RBUTTON and/or REQUIRE_NUMPAD are set as
39appropriate.
c50ba76e 40
ec654298 41Add the new Unix binary name, and the names of any auxiliary solver
42binaries, to the svn:ignore property.
1b470bcf 43
afc306fc 44Make a screenshot:
45 - create an appropriate save file in `icons'
46 - add the puzzle name to icons/Makefile
21bd0b9b 47 - set up a REDO property in icons/Makefile if the screenshot wants
48 to display a move halfway through an animation
49 - set up a CROP property in icons/Makefile if the icon wants to be
50 a sub-rectangle of the whole screenshot
afc306fc 51
52Don't forget to `svn add' the new source file, the new .R file and
2f30b9e0 53the save file in `icons', and any other new files that might have
54been involved.
55
56Check in!
1b470bcf 57
58Put the puzzle on the web:
fac5dd27 59 - run puzzlesnap first
2f30b9e0 60 - make sure the screenshot and Windows binary have arrived in the
d4eef073 61 www directory, and the .jar file in the java subdirectory
1b470bcf 62 - add an entry in the puzzles list in index.html
21bd0b9b 63 - add the Windows executable name to the list further down
64 index.html
d4eef073 65 - add a web page in the java subdirectory
6193da8d 66 - adjust the copyright in index.html if the puzzle is by a new
67 author
1b470bcf 68 - test that the binary link and the docs link work
d4eef073 69 - test that the Java version works
1b470bcf 70 - run webupdate
71 - test again
d4eef073 72 - `svn add' the new Java applet web page
73 - check in the change to index.html and the new web page