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/palisade.c | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 apps/plugins/puzzles/help/palisade.c (limited to 'apps/plugins/puzzles/help/palisade.c') diff --git a/apps/plugins/puzzles/help/palisade.c b/apps/plugins/puzzles/help/palisade.c new file mode 100644 index 0000000000..824eb21799 --- /dev/null +++ b/apps/plugins/puzzles/help/palisade.c @@ -0,0 +1,43 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 41: Palisade " +"\n" +"You're given a grid of squares, some of which contain numbers. Your " +"goal is to subdivide the grid into contiguous regions, all of the " +"same (given) size, such that each square containing a number is " +"adjacent to exactly that many edges (including those between the " +"inside and the outside of the grid). " +"\n" +"Credit for this puzzle goes to Nikoli, who call it `Five Cells'. " +"[22]. " +"\n" +"Palisade was contributed to this collection by Jonas Koelker. " +"\n" +"[22] http://nikoli.co.jp/en/puzzles/five_cells.html " +"\n" +"\n#41.1 Palisade controls " +"\n" +"Left-click to place an edge. Right-click to indicate `no edge'. " +"Alternatively, the arrow keys will move a keyboard cursor. Holding " +"Control while pressing an arrow key will place an edge. Press Shift-\n" +"arrowkey to switch off an edge. Repeat an action to perform its " +"inverse. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#41.2 Palisade parameters " +"\n" +"These parameters are available from the `Custom...' option on the " +"`Type' menu. " +"\n" +"_Width_, _Height_ " +"\n" +"Size of grid in squares. " +"\n" +"_Region size_ " +"\n" +"The size of the regions into which the grid must be subdivided. " +"\n" +; +const char quick_help_text[] = "Divide the grid into equal-sized areas in accordance with the clues."; -- cgit v1.2.3