From 552a271c6fea8d36390858ca6d12c4c98f663002 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 3 Jun 2017 13:45:07 -0400 Subject: 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 --- apps/plugins/puzzles/help/flip.c | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 apps/plugins/puzzles/help/flip.c (limited to 'apps/plugins/puzzles/help/flip.c') diff --git a/apps/plugins/puzzles/help/flip.c b/apps/plugins/puzzles/help/flip.c new file mode 100644 index 0000000000..5a207b612b --- /dev/null +++ b/apps/plugins/puzzles/help/flip.c @@ -0,0 +1,49 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 14: Flip " +"\n" +"You have a grid of squares, some light and some dark. Your aim is to " +"light all the squares up at the same time. You can choose any square " +"and flip its state from light to dark or dark to light, but when you " +"do so, other squares around it change state as well. " +"\n" +"Each square contains a small diagram showing which other squares " +"change when you flip it. " +"\n" +"\n#14.1 Flip controls " +"\n" +"This game can be played with either the keyboard or the mouse. " +"\n" +"Left-click in a square to flip it and its associated squares, or use " +"the cursor keys to choose a square and the space bar or Enter key to " +"flip. " +"\n" +"If you use the `Solve' function on this game, it will mark some of " +"the squares in red. If you click once in every square with a red " +"mark, the game should be solved. (If you click in a square _without_ " +"a red mark, a red mark will appear in it to indicate that you will " +"need to reverse that operation to reach the solution.) " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#14.2 Flip parameters " +"\n" +"These parameters are available from the `Custom...' option on the " +"`Type' menu. " +"\n" +"_Width_, _Height_ " +"\n" +"Size of grid in squares. " +"\n" +"_Shape type_ " +"\n" +"This control determines the shape of the region which is flipped " +"by clicking in any given square. The default setting, `Crosses', " +"causes every square to flip itself and its four immediate " +"neighbours (or three or two if it's at an edge or corner). The " +"other setting, `Random', causes a random shape to be chosen for " +"every square, so the game is different every time. " +"\n" +; +const char quick_help_text[] = "Flip groups of squares to light them all up at once."; -- cgit v1.2.3