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/signpost.c | 80 ++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 apps/plugins/puzzles/help/signpost.c (limited to 'apps/plugins/puzzles/help/signpost.c') diff --git a/apps/plugins/puzzles/help/signpost.c b/apps/plugins/puzzles/help/signpost.c new file mode 100644 index 0000000000..30885cf188 --- /dev/null +++ b/apps/plugins/puzzles/help/signpost.c @@ -0,0 +1,80 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 34: Signpost " +"\n" +"You have a grid of squares; each square (except the last one) " +"contains an arrow, and some squares also contain numbers. Your job " +"is to connect the squares to form a continuous list of numbers " +"starting at 1 and linked in the direction of the arrows - so the " +"arrow inside the square with the number 1 will point to the square " +"containing the number 2, which will point to the square containing " +"the number 3, etc. Each square can be any distance away from the " +"previous one, as long as it is somewhere in the direction of the " +"arrow. " +"\n" +"By convention the first and last numbers are shown; one or more " +"interim numbers may also appear at the beginning. " +"\n" +"Credit for this puzzle goes to Janko [17], who call it `Pfeilpfad' " +"(`arrow path'). " +"\n" +"Signpost was contributed to this collection by James Harvey. " +"\n" +"[17] http://janko.at/Raetsel/Pfeilpfad/index.htm " +"\n" +"\n#34.1 Signpost controls " +"\n" +"To play Signpost, you connect squares together by dragging from " +"one square to another, indicating that they are adjacent in the " +"sequence. Drag with the left button from a square to its successor, " +"or with the right button from a square to its predecessor. " +"\n" +"If you connect together two squares in this way and one of them has " +"a number in it, the appropriate number will appear in the other " +"square. If you connect two non-numbered squares, they will be " +"assigned temporary algebraic labels: on the first occasion, they " +"will be labelled `a' and `a+1', and then `b' and `b+1', and so on. " +"Connecting more squares on to the ends of such a chain will cause " +"them all to be labelled with the same letter. " +"\n" +"When you left-click or right-click in a square, the legal squares to " +"connect it to will be shown. " +"\n" +"The arrow in each square starts off black, and goes grey once you " +"connect the square to its successor. Also, each square which needs " +"a predecessor has a small dot in the bottom left corner, which " +"vanishes once you link a square to it. So your aim is always to " +"connect a square with a black arrow to a square with a dot. " +"\n" +"To remove any links for a particular square (both incoming and " +"outgoing), left-drag it off the grid. To remove a whole chain, " +"right-drag any square in the chain off the grid. " +"\n" +"You can also use the cursor keys to move around the grid squares " +"and lines. Pressing the return key when over a square starts a link " +"operation, and pressing the return key again over a square will " +"finish the link, if allowable. Pressing the space bar over a square " +"will show the other squares pointing to it, and allow you to form a " +"backward link, and pressing the space bar again cancels this. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#34.2 Signpost parameters " +"\n" +"These parameters are available from the `Custom...' option on the " +"`Type' menu. " +"\n" +"_Width_, _Height_ " +"\n" +"Size of grid in squares. " +"\n" +"_Force start/end to corners_ " +"\n" +"If true, the start and end squares are always placed in opposite " +"corners (the start at the top left, and the end at the bottom " +"right). If false the start and end squares are placed randomly " +"(although always both shown). " +"\n" +; +const char quick_help_text[] = "Connect the squares into a path following the arrows."; -- cgit v1.2.3