summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/samegame.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/samegame.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/samegame.c')
-rw-r--r--apps/plugins/puzzles/help/samegame.c76
1 files changed, 76 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/samegame.c b/apps/plugins/puzzles/help/samegame.c
new file mode 100644
index 0000000000..288493f7fd
--- /dev/null
+++ b/apps/plugins/puzzles/help/samegame.c
@@ -0,0 +1,76 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 13: Same Game "
5"\n"
6"You have a grid of coloured squares, which you have to clear by "
7"highlighting contiguous regions of more than one coloured square; "
8"the larger the region you highlight, the more points you get (and "
9"the faster you clear the arena). "
10"\n"
11"If you clear the grid you win. If you end up with nothing but single "
12"squares (i.e., there are no more clickable regions left) you lose. "
13"\n"
14"Removing a region causes the rest of the grid to shuffle up: blocks "
15"that are suspended will fall down (first), and then empty columns "
16"are filled from the right. "
17"\n"
18"Same Game was contributed to this collection by James Harvey. "
19"\n"
20"\n#13.1 Same Game controls "
21"\n"
22"This game can be played with either the keyboard or the mouse. "
23"\n"
24"If you left-click an unselected region, it becomes selected "
25"(possibly clearing the current selection). "
26"\n"
27"If you left-click the selected region, it will be removed (and the "
28"rest of the grid shuffled immediately). "
29"\n"
30"If you right-click the selected region, it will be unselected. "
31"\n"
32"The cursor keys move a cursor around the grid. Pressing the Space or "
33"Enter keys while the cursor is in an unselected region selects it; "
34"pressing Space or Enter again removes it as above. "
35"\n"
36"(All the actions described in section 2.1 are also available.) "
37"\n"
38"\n#13.2 Same Game parameters "
39"\n"
40"These parameters are available from the `Custom...' option on the "
41"`Type' menu. "
42"\n"
43"_Width_, _Height_ "
44"\n"
45"Size of grid in squares. "
46"\n"
47"_No. of colours_ "
48"\n"
49"Number of different colours used to fill the grid; the more "
50"colours, the fewer large regions of colour and thus the more "
51"difficult it is to successfully clear the grid. "
52"\n"
53"_Scoring system_ "
54"\n"
55"Controls the precise mechanism used for scoring. With the "
56"default system, `(n-2)^2', only regions of three squares or more "
57"will score any points at all. With the alternative `(n-1)^2' "
58"system, regions of two squares score a point each, and larger "
59"regions score relatively more points. "
60"\n"
61"_Ensure solubility_ "
62"\n"
63"If this option is ticked (the default state), generated grids "
64"will be guaranteed to have at least one solution. "
65"\n"
66"If you turn it off, the game generator will not try to guarantee "
67"soluble grids; it will, however, still ensure that there are at "
68"least 2 squares of each colour on the grid at the start (since a "
69"grid with exactly one square of a given colour is _definitely_ "
70"insoluble). Grids generated with this option disabled may "
71"contain more large areas of contiguous colour, leading to "
72"opportunities for higher scores; they can also take less time to "
73"generate. "
74"\n"
75;
76const char quick_help_text[] = "Clear the grid by removing touching groups of the same colour squares.";