summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/fifteen.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/fifteen.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/fifteen.c')
-rw-r--r--apps/plugins/puzzles/help/fifteen.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/fifteen.c b/apps/plugins/puzzles/help/fifteen.c
new file mode 100644
index 0000000000..dfe7ed11da
--- /dev/null
+++ b/apps/plugins/puzzles/help/fifteen.c
@@ -0,0 +1,38 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 5: Fifteen "
5"\n"
6"The old ones are the best: this is the good old `15-puzzle' with "
7"sliding tiles. You have a 4x4 square grid; 15 squares contain "
8"numbered tiles, and the sixteenth is empty. Your move is to choose a "
9"tile next to the empty space, and slide it into the space. The aim "
10"is to end up with the tiles in numerical order, with the space in "
11"the bottom right (so that the top row reads 1,2,3,4 and the bottom "
12"row reads 13,14,15,_space_). "
13"\n"
14"\n#5.1 Fifteen controls "
15"\n"
16"This game can be controlled with the mouse or the keyboard. "
17"\n"
18"A left-click with the mouse in the row or column containing the "
19"empty space will move as many tiles as necessary to move the space "
20"to the mouse pointer. "
21"\n"
22"The arrow keys will move a tile adjacent to the space in the "
23"direction indicated (moving the space in the _opposite_ direction). "
24"\n"
25"Pressing `h' will make a suggested move. Pressing `h' enough times "
26"will solve the game, but it may scramble your progress while doing "
27"so. "
28"\n"
29"(All the actions described in section 2.1 are also available.) "
30"\n"
31"\n#5.2 Fifteen parameters "
32"\n"
33"The only options available from the `Custom...' option on the `Type' "
34"menu are _Width_ and _Height_, which are self-explanatory. (Once "
35"you've changed these, it's not a `15-puzzle' any more, of course!) "
36"\n"
37;
38const char quick_help_text[] = "Slide the tiles around to arrange them into order.";