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/singles.c | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 apps/plugins/puzzles/help/singles.c (limited to 'apps/plugins/puzzles/help/singles.c') diff --git a/apps/plugins/puzzles/help/singles.c b/apps/plugins/puzzles/help/singles.c new file mode 100644 index 0000000000..2277071cb9 --- /dev/null +++ b/apps/plugins/puzzles/help/singles.c @@ -0,0 +1,51 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 32: Singles " +"\n" +"You have a grid of white squares, all of which contain numbers. Your " +"task is to colour some of the squares black (removing the number) so " +"as to satisfy all of the following conditions: " +"\n" +"- No number occurs more than once in any row or column. " +"\n" +"- No black square is horizontally or vertically adjacent to any " +"other black square. " +"\n" +"- The remaining white squares must all form one contiguous region " +"(connected by edges, not just touching at corners). " +"\n" +"Credit for this puzzle goes to Nikoli [15] who call it Hitori. " +"\n" +"Singles was contributed to this collection by James Harvey. " +"\n" +"[15] http://www.nikoli.com/en/puzzles/hitori.html (beware of Flash) " +"\n" +"\n#32.1 Singles controls " +"\n" +"Left-clicking on an empty square will colour it black; left-clicking " +"again will restore the number. Right-clicking will add a circle " +"(useful for indicating that a cell is definitely not black). " +"\n" +"You can also use the cursor keys to move around the grid. Pressing " +"the return or space keys will turn a square black or add a circle " +"respectively, and pressing the key again will restore the number or " +"remove the circle. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#32.2 Singles parameters " +"\n" +"These parameters are available from the `Custom...' option on the " +"`Type' menu. " +"\n" +"_Width_, _Height_ " +"\n" +"Size of grid in squares. " +"\n" +"_Difficulty_ " +"\n" +"Controls the difficulty of the generated puzzle. " +"\n" +; +const char quick_help_text[] = "Black out the right set of duplicate numbers."; -- cgit v1.2.3