mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 10:32:42 -05:00
puzzles: compress extensive help text
This is only really needed to save a few bytes on the c200v2, but since it adds negligible overhead, so it's implemented for all targets. A stripped down version of the LZ4 reference implementation is found in lz4tiny.c. Change-Id: Ib914ba71c84e04da282328662c752e533912e197
This commit is contained in:
parent
5645135092
commit
bf25f3e6e7
46 changed files with 7347 additions and 2838 deletions
|
|
@ -1,33 +1,71 @@
|
|||
/* auto-generated by genhelp.sh */
|
||||
/* auto-generated on Aug 16 2017 by genhelp.sh */
|
||||
/* orig 747 comp 620 ratio 0.829987 level 4 saved 127 */
|
||||
/* 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"
|
||||
;
|
||||
|
||||
#include "help.h"
|
||||
const char help_text[] = {
|
||||
0xf0, 0x2e, 0x23, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72,
|
||||
0x20, 0x31, 0x38, 0x3a, 0x20, 0x55, 0x6e, 0x74, 0x61, 0x6e,
|
||||
0x67, 0x6c, 0x65, 0x20, 0x0a, 0x59, 0x6f, 0x75, 0x20, 0x61,
|
||||
0x72, 0x65, 0x20, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x20, 0x61,
|
||||
0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66,
|
||||
0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2c, 0x20, 0x73,
|
||||
0x6f, 0x6d, 0x65, 0x10, 0x00, 0xf0, 0x16, 0x77, 0x68, 0x69,
|
||||
0x63, 0x68, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x6c, 0x69,
|
||||
0x6e, 0x65, 0x73, 0x20, 0x64, 0x72, 0x61, 0x77, 0x6e, 0x20,
|
||||
0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x20, 0x74, 0x68,
|
||||
0x65, 0x6d, 0x2e, 0x20, 0x4f, 0x00, 0x80, 0x63, 0x61, 0x6e,
|
||||
0x20, 0x6d, 0x6f, 0x76, 0x65, 0x13, 0x00, 0x03, 0x46, 0x00,
|
||||
0xf8, 0x1c, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x61,
|
||||
0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x69, 0x6c, 0x79,
|
||||
0x3b, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, 0x61, 0x69, 0x6d,
|
||||
0x20, 0x69, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x6f, 0x73,
|
||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x36, 0x00, 0xa1, 0x73, 0x6f,
|
||||
0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6e, 0x6f, 0x73, 0x00,
|
||||
0xf2, 0x1b, 0x20, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x65, 0x73,
|
||||
0x20, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x2e, 0x20,
|
||||
0x0a, 0x49, 0x20, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
|
||||
0x6c, 0x6c, 0x79, 0x20, 0x73, 0x61, 0x77, 0x20, 0x74, 0x68,
|
||||
0x69, 0x73, 0x20, 0x69, 0x46, 0x00, 0x40, 0x66, 0x6f, 0x72,
|
||||
0x6d, 0xba, 0x00, 0xf4, 0x3a, 0x61, 0x20, 0x46, 0x6c, 0x61,
|
||||
0x73, 0x68, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x20, 0x63, 0x61,
|
||||
0x6c, 0x6c, 0x65, 0x64, 0x20, 0x50, 0x6c, 0x61, 0x6e, 0x61,
|
||||
0x72, 0x69, 0x74, 0x79, 0x20, 0x5b, 0x37, 0x5d, 0x2c, 0x20,
|
||||
0x77, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x20, 0x62, 0x79,
|
||||
0x20, 0x4a, 0x6f, 0x68, 0x6e, 0x20, 0x54, 0x61, 0x6e, 0x74,
|
||||
0x61, 0x6c, 0x6f, 0x2e, 0x20, 0x0a, 0x5b, 0x37, 0x5d, 0x20,
|
||||
0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x70, 0x34, 0x00,
|
||||
0xc6, 0x2e, 0x6e, 0x65, 0x74, 0x20, 0x0a, 0x0a, 0x23, 0x31,
|
||||
0x38, 0x2e, 0x31, 0x4c, 0x01, 0xc2, 0x63, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x6f, 0x6c, 0x73, 0x20, 0x0a, 0x54, 0x6f, 0x01, 0x01,
|
||||
0x12, 0x61, 0xc9, 0x00, 0xf1, 0x03, 0x2c, 0x20, 0x63, 0x6c,
|
||||
0x69, 0x63, 0x6b, 0x20, 0x6f, 0x6e, 0x20, 0x69, 0x74, 0x20,
|
||||
0x77, 0x69, 0x74, 0x68, 0x9f, 0x00, 0xf0, 0x06, 0x6c, 0x65,
|
||||
0x66, 0x74, 0x20, 0x6d, 0x6f, 0x75, 0x73, 0x65, 0x20, 0x62,
|
||||
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x56,
|
||||
0x01, 0x10, 0x67, 0x27, 0x00, 0x40, 0x69, 0x6e, 0x74, 0x6f,
|
||||
0x90, 0x01, 0x25, 0x65, 0x77, 0x1b, 0x01, 0x71, 0x2e, 0x20,
|
||||
0x0a, 0x28, 0x41, 0x6c, 0x6c, 0x3d, 0x00, 0x20, 0x61, 0x63,
|
||||
0x12, 0x00, 0xb0, 0x73, 0x20, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||||
0x69, 0x62, 0x65, 0x64, 0xf5, 0x00, 0x21, 0x73, 0x65, 0x16,
|
||||
0x00, 0x41, 0x20, 0x32, 0x2e, 0x31, 0xd5, 0x01, 0xf3, 0x01,
|
||||
0x61, 0x6c, 0x73, 0x6f, 0x20, 0x61, 0x76, 0x61, 0x69, 0x6c,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x2e, 0x29, 0xb4, 0x00, 0x16, 0x32,
|
||||
0xb4, 0x00, 0x90, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
|
||||
0x65, 0x72, 0xb6, 0x00, 0x40, 0x68, 0x65, 0x72, 0x65, 0x8e,
|
||||
0x01, 0x77, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x6f, 0x6e, 0x1e,
|
||||
0x00, 0x06, 0x45, 0x00, 0x51, 0x20, 0x66, 0x72, 0x6f, 0x6d,
|
||||
0x82, 0x00, 0xe1, 0x60, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
|
||||
0x2e, 0x2e, 0x2e, 0x27, 0x20, 0x6f, 0x70, 0x78, 0x00, 0x03,
|
||||
0xbe, 0x01, 0xfb, 0x01, 0x60, 0x54, 0x79, 0x70, 0x65, 0x27,
|
||||
0x20, 0x6d, 0x65, 0x6e, 0x75, 0x3a, 0x20, 0x0a, 0x5f, 0x4e,
|
||||
0x53, 0x02, 0x44, 0x5f, 0x20, 0x0a, 0x43, 0x2b, 0x01, 0x00,
|
||||
0x2f, 0x00, 0x31, 0x73, 0x69, 0x7a, 0x61, 0x02, 0x01, 0xf9,
|
||||
0x01, 0x60, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x2c, 0x88, 0x01,
|
||||
0xa1, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x79, 0x69, 0x6e,
|
||||
0x67, 0x1a, 0x00, 0x0c, 0x99, 0x02, 0x04, 0xe5, 0x01, 0xf0,
|
||||
0x04, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
|
||||
0x20, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x20, 0x0a, 0x00,
|
||||
};
|
||||
const unsigned short help_text_len = 747;
|
||||
const char quick_help_text[] = "Reposition the points so that the lines do not cross.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue