summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/palisade.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/palisade.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/palisade.c')
-rw-r--r--apps/plugins/puzzles/help/palisade.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/palisade.c b/apps/plugins/puzzles/help/palisade.c
new file mode 100644
index 0000000000..824eb21799
--- /dev/null
+++ b/apps/plugins/puzzles/help/palisade.c
@@ -0,0 +1,43 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 41: Palisade "
5"\n"
6"You're given a grid of squares, some of which contain numbers. Your "
7"goal is to subdivide the grid into contiguous regions, all of the "
8"same (given) size, such that each square containing a number is "
9"adjacent to exactly that many edges (including those between the "
10"inside and the outside of the grid). "
11"\n"
12"Credit for this puzzle goes to Nikoli, who call it `Five Cells'. "
13"[22]. "
14"\n"
15"Palisade was contributed to this collection by Jonas Koelker. "
16"\n"
17"[22] http://nikoli.co.jp/en/puzzles/five_cells.html "
18"\n"
19"\n#41.1 Palisade controls "
20"\n"
21"Left-click to place an edge. Right-click to indicate `no edge'. "
22"Alternatively, the arrow keys will move a keyboard cursor. Holding "
23"Control while pressing an arrow key will place an edge. Press Shift-\n"
24"arrowkey to switch off an edge. Repeat an action to perform its "
25"inverse. "
26"\n"
27"(All the actions described in section 2.1 are also available.) "
28"\n"
29"\n#41.2 Palisade parameters "
30"\n"
31"These parameters are available from the `Custom...' option on the "
32"`Type' menu. "
33"\n"
34"_Width_, _Height_ "
35"\n"
36"Size of grid in squares. "
37"\n"
38"_Region size_ "
39"\n"
40"The size of the regions into which the grid must be subdivided. "
41"\n"
42;
43const char quick_help_text[] = "Divide the grid into equal-sized areas in accordance with the clues.";