summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/filling.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/filling.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/filling.c')
-rw-r--r--apps/plugins/puzzles/help/filling.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/filling.c b/apps/plugins/puzzles/help/filling.c
new file mode 100644
index 0000000000..16dfbbd6fc
--- /dev/null
+++ b/apps/plugins/puzzles/help/filling.c
@@ -0,0 +1,50 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 29: Filling "
5"\n"
6"You have a grid of squares, some of which contain digits, and the "
7"rest of which are empty. Your job is to fill in digits in the empty "
8"squares, in such a way that each connected region of squares all "
9"containing the same digit has an area equal to that digit. "
10"\n"
11"(`Connected region', for the purposes of this game, does not count "
12"diagonally separated squares as adjacent.) "
13"\n"
14"For example, it follows that no square can contain a zero, and that "
15"two adjacent squares can not both contain a one. No region has an "
16"area greater than 9 (because then its area would not be a single "
17"digit). "
18"\n"
19"Credit for this puzzle goes to Nikoli [14]. "
20"\n"
21"Filling was contributed to this collection by Jonas Koelker. "
22"\n"
23"[14] http://www.nikoli.co.jp/en/puzzles/fillomino.html "
24"\n"
25"\n#29.1 Filling controls "
26"\n"
27"To play Filling, simply click the mouse in any empty square and "
28"then type a digit on the keyboard to fill that square. By dragging "
29"the mouse, you can select multiple squares to fill with a single "
30"keypress. If you make a mistake, click the mouse in the incorrect "
31"square and press 0, Space, Backspace or Enter to clear it again (or "
32"use the Undo feature). "
33"\n"
34"You can also move around the grid with the cursor keys; typing a "
35"digit will fill the square containing the cursor with that number; "
36"typing 0 will clear it. You can also select multiple squares for "
37"numbering or clearing with the return and arrow keys, before typing "
38"a digit to fill or clear the highlighted squares (as above). The "
39"space bar adds and removes single squares to and from the selection. "
40"Backspace and escape remove all squares from the selection. "
41"\n"
42"(All the actions described in section 2.1 are also available.) "
43"\n"
44"\n#29.2 Filling parameters "
45"\n"
46"Filling allows you to configure the number of rows and columns of "
47"the grid, through the `Type' menu. "
48"\n"
49;
50const char quick_help_text[] = "Mark every square with the area of its containing region.";