summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/unruly.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/unruly.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/unruly.c')
-rw-r--r--apps/plugins/puzzles/help/unruly.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/unruly.c b/apps/plugins/puzzles/help/unruly.c
new file mode 100644
index 0000000000..78239d1b25
--- /dev/null
+++ b/apps/plugins/puzzles/help/unruly.c
@@ -0,0 +1,55 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 38: Unruly "
5"\n"
6"You are given a grid of squares, which you must colour either black "
7"or white. Some squares are provided as clues; the rest are left for "
8"you to fill in. Each row and column must contain the same number "
9"of black and white squares, and no row or column may contain three "
10"consecutive squares of the same colour. "
11"\n"
12"This puzzle type was invented by Adolfo Zanellati, under the name "
13"`Tohu wa Vohu'. See [21] for more details. "
14"\n"
15"Unruly was contributed to this collection by Lennard Sprong. "
16"\n"
17"[21] http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm "
18"\n"
19"\n#38.1 Unruly controls "
20"\n"
21"To play Unruly, click the mouse in a square to change its colour. "
22"Left-clicking an empty square will turn it black, and right-clicking "
23"will turn it white. Keep clicking the same button to cycle through "
24"the three possible states for the square. If you middle-click in a "
25"square it will be reset to empty. "
26"\n"
27"You can also use the cursor keys to move around the grid. Pressing "
28"the return or space keys will turn an empty square black or white "
29"respectively (and then cycle the colours in the same way as the "
30"mouse buttons), and pressing Backspace will reset a square to empty. "
31"\n"
32"(All the actions described in section 2.1 are also available.) "
33"\n"
34"\n#38.2 Unruly parameters "
35"\n"
36"These parameters are available from the `Custom...' option on the "
37"`Type' menu. "
38"\n"
39"_Width_, _Height_ "
40"\n"
41"Size of grid in squares. (Note that the rules of the game "
42"require both the width and height to be even numbers.) "
43"\n"
44"_Difficulty_ "
45"\n"
46"Controls the difficulty of the generated puzzle. "
47"\n"
48"_Unique rows and columns_ "
49"\n"
50"If enabled, no two rows are permitted to have exactly the same "
51"pattern, and likewise columns. (A row and a column can match, "
52"though.) "
53"\n"
54;
55const char quick_help_text[] = "Fill in the black and white grid to avoid runs of three.";