summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/dominosa.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/dominosa.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/dominosa.c')
-rw-r--r--apps/plugins/puzzles/help/dominosa.c62
1 files changed, 62 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/dominosa.c b/apps/plugins/puzzles/help/dominosa.c
new file mode 100644
index 0000000000..e9387250ba
--- /dev/null
+++ b/apps/plugins/puzzles/help/dominosa.c
@@ -0,0 +1,62 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 17: Dominosa "
5"\n"
6"A normal set of dominoes - that is, one instance of every "
7"(unordered) pair of numbers from 0 to 6 - has been arranged "
8"irregularly into a rectangle; then the number in each square has "
9"been written down and the dominoes themselves removed. Your task is "
10"to reconstruct the pattern by arranging the set of dominoes to match "
11"the provided array of numbers. "
12"\n"
13"This puzzle is widely credited to O. S. Adler, and takes part of its "
14"name from those initials. "
15"\n"
16"\n#17.1 Dominosa controls "
17"\n"
18"Left-clicking between any two adjacent numbers places a domino "
19"covering them, or removes one if it is already present. Trying to "
20"place a domino which overlaps existing dominoes will remove the ones "
21"it overlaps. "
22"\n"
23"Right-clicking between two adjacent numbers draws a line between "
24"them, which you can use to remind yourself that you know those two "
25"numbers are _not_ covered by a single domino. Right-clicking again "
26"removes the line. "
27"\n"
28"You can also use the cursor keys to move a cursor around the grid. "
29"When the cursor is half way between two adjacent numbers, pressing "
30"the return key will place a domino covering those numbers, or "
31"pressing the space bar will lay a line between the two squares. "
32"Repeating either action removes the domino or line. "
33"\n"
34"Pressing a number key will highlight all occurrences of that number. "
35"Pressing that number again will clear the highlighting. Up to two "
36"different numbers can be highlighted at any given time. "
37"\n"
38"(All the actions described in section 2.1 are also available.) "
39"\n"
40"\n#17.2 Dominosa parameters "
41"\n"
42"These parameters are available from the `Custom...' option on the "
43"`Type' menu. "
44"\n"
45"_Maximum number on dominoes_ "
46"\n"
47"Controls the size of the puzzle, by controlling the size of the "
48"set of dominoes used to make it. Dominoes with numbers going "
49"up to N will give rise to an (N+2) x (N+1) rectangle; so, in "
50"particular, the default value of 6 gives an 8x7 grid. "
51"\n"
52"_Ensure unique solution_ "
53"\n"
54"Normally, Dominosa will make sure that the puzzles it presents "
55"have only one solution. Puzzles with ambiguous sections can be "
56"more difficult and sometimes more subtle, so if you like you "
57"can turn off this feature. Also, finding _all_ the possible "
58"solutions can be an additional challenge for an advanced player. "
59"Turning off this option can also speed up puzzle generation. "
60"\n"
61;
62const char quick_help_text[] = "Tile the rectangle with a full set of dominoes.";