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/loopy.c | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 apps/plugins/puzzles/help/loopy.c (limited to 'apps/plugins/puzzles/help/loopy.c') diff --git a/apps/plugins/puzzles/help/loopy.c b/apps/plugins/puzzles/help/loopy.c new file mode 100644 index 0000000000..3933234315 --- /dev/null +++ b/apps/plugins/puzzles/help/loopy.c @@ -0,0 +1,69 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 23: Loopy " +"\n" +"You are given a grid of dots, marked with yellow lines to indicate " +"which dots you are allowed to connect directly together. Your aim is " +"to use some subset of those yellow lines to draw a single unbroken " +"loop from dot to dot within the grid. " +"\n" +"Some of the spaces between the lines contain numbers. These numbers " +"indicate how many of the lines around that space form part of the " +"loop. The loop you draw must correctly satisfy all of these clues to " +"be considered a correct solution. " +"\n" +"In the default mode, the dots are arranged in a grid of squares; " +"however, you can also play on triangular or hexagonal grids, or even " +"more exotic ones. " +"\n" +"Credit for the basic puzzle idea goes to Nikoli [10]. " +"\n" +"Loopy was originally contributed to this collection by Mike Pinna, " +"and subsequently enhanced to handle various types of non-square grid " +"by Lambros Lambrou. " +"\n" +"[10] http://www.nikoli.co.jp/en/puzzles/slitherlink.html (beware of " +"Flash) " +"\n" +"\n#23.1 Loopy controls " +"\n" +"Click the left mouse button on a yellow line to turn it black, " +"indicating that you think it is part of the loop. Click again to " +"turn the line yellow again (meaning you aren't sure yet). " +"\n" +"If you are sure that a particular line segment is _not_ part of the " +"loop, you can click the right mouse button to remove it completely. " +"Again, clicking a second time will turn the line back to yellow. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#23.2 Loopy parameters " +"\n" +"These parameters are available from the `Custom...' option on the " +"`Type' menu. " +"\n" +"_Width_, _Height_ " +"\n" +"Size of grid, measured in number of regions across and down. For " +"square grids, it's clear how this is counted; for other types of " +"grid you may have to think a bit to see how the dimensions are " +"measured. " +"\n" +"_Grid type_ " +"\n" +"Allows you to choose between a selection of types of tiling. " +"Some have all the faces the same but may have multiple different " +"types of vertex (e.g. the _Cairo_ or _Kites_ mode); others " +"have all the vertices the same but may have different types of " +"face (e.g. the _Great Hexagonal_). The square, triangular and " +"honeycomb grids are fully regular, and have all their vertices " +"_and_ faces the same; this makes them the least confusing to " +"play. " +"\n" +"_Difficulty_ " +"\n" +"Controls the difficulty of the generated puzzle. " +"\n" +; +const char quick_help_text[] = "Draw a single closed loop, given clues about number of adjacent edges."; -- cgit v1.2.3