summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help/inertia.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/inertia.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/inertia.c')
-rw-r--r--apps/plugins/puzzles/help/inertia.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/help/inertia.c b/apps/plugins/puzzles/help/inertia.c
new file mode 100644
index 0000000000..46c4b43cba
--- /dev/null
+++ b/apps/plugins/puzzles/help/inertia.c
@@ -0,0 +1,61 @@
1/* auto-generated by genhelp.sh */
2/* DO NOT EDIT! */
3const char help_text[] =
4"#Chapter 24: Inertia "
5"\n"
6"You are a small green ball sitting in a grid full of obstacles. Your "
7"aim is to collect all the gems without running into any mines. "
8"\n"
9"You can move the ball in any orthogonal _or diagonal_ direction. "
10"Once the ball starts moving, it will continue until something stops "
11"it. A wall directly in its path will stop it (but if it is moving "
12"diagonally, it will move through a diagonal gap between two other "
13"walls without stopping). Also, some of the squares are `stops'; when "
14"the ball moves on to a stop, it will stop moving no matter what "
15"direction it was going in. Gems do _not_ stop the ball; it picks "
16"them up and keeps on going. "
17"\n"
18"Running into a mine is fatal. Even if you picked up the last gem in "
19"the same move which then hit a mine, the game will count you as dead "
20"rather than victorious. "
21"\n"
22"This game was originally implemented for Windows by Ben Olmstead "
23"[11], who was kind enough to release his source code on request so "
24"that it could be re-implemented for this collection. "
25"\n"
26"[11] http://xn13.com/ "
27"\n"
28"\n#24.1 Inertia controls "
29"\n"
30"You can move the ball in any of the eight directions using the "
31"numeric keypad. Alternatively, if you click the left mouse button "
32"on the grid, the ball will begin a move in the general direction of "
33"where you clicked. "
34"\n"
35"If you use the `Solve' function on this game, the program will "
36"compute a path through the grid which collects all the remaining "
37"gems and returns to the current position. A hint arrow will appear "
38"on the ball indicating the direction in which you should move to "
39"begin on this path. If you then move in that direction, the arrow "
40"will update to indicate the next direction on the path. You can "
41"also press Space to automatically move in the direction of the hint "
42"arrow. If you move in a different direction from the one shown "
43"by the arrow, arrows will be shown only if the puzzle is still "
44"solvable. "
45"\n"
46"All the actions described in section 2.1 are also available. In "
47"particular, if you do run into a mine and die, you can use the Undo "
48"function and resume playing from before the fatal move. The game "
49"will keep track of the number of times you have done this. "
50"\n"
51"\n#24.2 Inertia parameters "
52"\n"
53"These parameters are available from the `Custom...' option on the "
54"`Type' menu. "
55"\n"
56"_Width_, _Height_ "
57"\n"
58"Size of grid in squares. "
59"\n"
60;
61const char quick_help_text[] = "Collect all the gems without running into any of the mines.";