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