diff options
author | Franklin Wei <git@fwei.tk> | 2017-06-03 13:45:07 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-06-03 13:45:07 -0400 |
commit | 552a271c6fea8d36390858ca6d12c4c98f663002 (patch) | |
tree | 046ea6cdc0cbadae014715c02af6ada4e966a92c /apps/plugins/puzzles/help/untangle.c | |
parent | cefbde0bbb5f90523233a56ca6c0b0699b4b359e (diff) | |
download | rockbox-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/untangle.c')
-rw-r--r-- | apps/plugins/puzzles/help/untangle.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/untangle.c b/apps/plugins/puzzles/help/untangle.c new file mode 100644 index 0000000000..e0f2f4447e --- /dev/null +++ b/apps/plugins/puzzles/help/untangle.c | |||
@@ -0,0 +1,33 @@ | |||
1 | /* auto-generated by genhelp.sh */ | ||
2 | /* DO NOT EDIT! */ | ||
3 | const char help_text[] = | ||
4 | "#Chapter 18: Untangle " | ||
5 | "\n" | ||
6 | "You are given a number of points, some of which have lines drawn " | ||
7 | "between them. You can move the points about arbitrarily; your aim is " | ||
8 | "to position the points so that no line crosses another. " | ||
9 | "\n" | ||
10 | "I originally saw this in the form of a Flash game called Planarity " | ||
11 | "[7], written by John Tantalo. " | ||
12 | "\n" | ||
13 | "[7] http://planarity.net " | ||
14 | "\n" | ||
15 | "\n#18.1 Untangle controls " | ||
16 | "\n" | ||
17 | "To move a point, click on it with the left mouse button and drag it " | ||
18 | "into a new position. " | ||
19 | "\n" | ||
20 | "(All the actions described in section 2.1 are also available.) " | ||
21 | "\n" | ||
22 | "\n#18.2 Untangle parameters " | ||
23 | "\n" | ||
24 | "There is only one parameter available from the `Custom...' option on " | ||
25 | "the `Type' menu: " | ||
26 | "\n" | ||
27 | "_Number of points_ " | ||
28 | "\n" | ||
29 | "Controls the size of the puzzle, by specifying the number of " | ||
30 | "points in the generated graph. " | ||
31 | "\n" | ||
32 | ; | ||
33 | const char quick_help_text[] = "Reposition the points so that the lines do not cross."; | ||