summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/tracks.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-06-03 13:45:07 -0400
committerFranklin Wei <git@fwei.tk>2017-06-03 13:45:07 -0400
commit552a271c6fea8d36390858ca6d12c4c98f663002 (patch)
tree046ea6cdc0cbadae014715c02af6ada4e966a92c /apps/plugins/puzzles/help/tracks.c
parentcefbde0bbb5f90523233a56ca6c0b0699b4b359e (diff)
downloadrockbox-552a271c6fea8d36390858ca6d12c4c98f663002.tar.gz
rockbox-552a271c6fea8d36390858ca6d12c4c98f663002.zip
puzzles: remove redundant help content
It used to be that each puzzle had a complete copy of the entire puzzles manual and the "quick help" text for every single puzzle. This was obviously a waste, so now each puzzle only has the sections of the manual that apply to it, saving about 100KB or so per puzzle. This also has the added benefit of shrinking binary size enough to allow full help support on the c200v2, which has been enabled. Change-Id: I76c799635de058e4a48e0c18b79537857af7cf85
Diffstat (limited to 'apps/plugins/puzzles/help/tracks.c')
-rw-r--r--apps/plugins/puzzles/help/tracks.c59
1 files changed, 59 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/tracks.c b/apps/plugins/puzzles/help/tracks.c
new file mode 100644
index 0000000000..e60c71afb7
--- /dev/null
+++ b/apps/plugins/puzzles/help/tracks.c
@@ -0,0 +1,59 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 40: Tracks "
5"\n"
6"You are given a grid of squares, some of which are filled with train "
7"tracks. You need to complete the track from A to B so that the "
8"rows and columns contain the same number of track segments as are "
9"indicated in the clues to the top and right of the grid. "
10"\n"
11"There are only straight and 90 degree curved rails, and the track "
12"may not cross itself. "
13"\n"
14"Tracks was contributed to this collection by James Harvey. "
15"\n"
16"\n#40.1 Tracks controls "
17"\n"
18"Left-clicking on an edge between two squares adds a track segment "
19"between the two squares. Right-clicking on an edge adds a cross on "
20"the edge, indicating no track is possible there. "
21"\n"
22"Left-clicking in a square adds a colour indicator showing that "
23"you know the square must contain a track, even if you don't know "
24"which edges it crosses yet. Right-clicking in a square adds a cross "
25"indicating it contains no track segment. "
26"\n"
27"Left- or right-dragging between squares allows you to lay a straight "
28"line of is-track or is-not-track indicators, useful for filling in "
29"rows or columns to match the clue. "
30"\n"
31"(All the actions described in section 2.1 are also available.) "
32"\n"
33"\n#40.2 Tracks parameters "
34"\n"
35"These parameters are available from the `Custom...' option on the "
36"`Type' menu. "
37"\n"
38"_Width_, _Height_ "
39"\n"
40"Size of the grid, in squares. "
41"\n"
42"_Difficulty_ "
43"\n"
44"Controls the difficulty of the generated puzzle: at Tricky "
45"level, you are required to make more deductions regarding "
46"disregarding moves that would lead to impossible crossings "
47"later. "
48"\n"
49"_Disallow consecutive 1 clues_ "
50"\n"
51"Controls whether the Tracks game generation permits two adjacent "
52"rows or columns to have a 1 clue, or permits the row or column "
53"of the track's endpoint to have a 1 clue. By default this is "
54"not permitted, to avoid long straight boring segments of track "
55"and make the games more twiddly and interesting. If you want to "
56"restore the possibility, turn this option off. "
57"\n"
58;
59const char quick_help_text[] = "Fill in the railway track according to the clues.";