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/untangle.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 apps/plugins/puzzles/help/untangle.c (limited to 'apps/plugins/puzzles/help/untangle.c') diff --git a/apps/plugins/puzzles/help/untangle.c b/apps/plugins/puzzles/help/untangle.c new file mode 100644 index 0000000000..e0f2f4447e --- /dev/null +++ b/apps/plugins/puzzles/help/untangle.c @@ -0,0 +1,33 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 18: Untangle " +"\n" +"You are given a number of points, some of which have lines drawn " +"between them. You can move the points about arbitrarily; your aim is " +"to position the points so that no line crosses another. " +"\n" +"I originally saw this in the form of a Flash game called Planarity " +"[7], written by John Tantalo. " +"\n" +"[7] http://planarity.net " +"\n" +"\n#18.1 Untangle controls " +"\n" +"To move a point, click on it with the left mouse button and drag it " +"into a new position. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#18.2 Untangle parameters " +"\n" +"There is only one parameter available from the `Custom...' option on " +"the `Type' menu: " +"\n" +"_Number of points_ " +"\n" +"Controls the size of the puzzle, by specifying the number of " +"points in the generated graph. " +"\n" +; +const char quick_help_text[] = "Reposition the points so that the lines do not cross."; -- cgit v1.2.3