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/undead.c | 88 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 apps/plugins/puzzles/help/undead.c (limited to 'apps/plugins/puzzles/help/undead.c') diff --git a/apps/plugins/puzzles/help/undead.c b/apps/plugins/puzzles/help/undead.c new file mode 100644 index 0000000000..2b8cccc9d6 --- /dev/null +++ b/apps/plugins/puzzles/help/undead.c @@ -0,0 +1,88 @@ +/* auto-generated by genhelp.sh */ +/* DO NOT EDIT! */ +const char help_text[] = +"#Chapter 37: Undead " +"\n" +"You are given a grid of squares, some of which contain diagonal " +"mirrors. Every square which is not a mirror must be filled with one " +"of three types of undead monster: a ghost, a vampire, or a zombie. " +"\n" +"Vampires can be seen directly, but are invisible when reflected in " +"mirrors. Ghosts are the opposite way round: they can be seen in " +"mirrors, but are invisible when looked at directly. Zombies are " +"visible by any means. " +"\n" +"You are also told the total number of each type of monster in the " +"grid. Also around the edge of the grid are written numbers, which " +"indicate how many monsters can be seen if you look into the grid " +"along a row or column starting from that position. (The diagonal " +"mirrors are reflective on both sides. If your reflected line of " +"sight crosses the same monster more than once, the number will count " +"it each time it is visible, not just once.) " +"\n" +"This puzzle type was invented by David Millar, under the name " +"`Haunted Mirror Maze'. See [20] for more details. " +"\n" +"Undead was contributed to this collection by Steffen Bauer. " +"\n" +"[20] http://www.janko.at/Raetsel/Spukschloss/index.htm " +"\n" +"\n#37.1 Undead controls " +"\n" +"Undead has a similar control system to Solo, Unequal and Keen. " +"\n" +"To play Undead, click the mouse in any empty square and then type " +"a letter on the keyboard indicating the type of monster: `G' for " +"a ghost, `V' for a vampire, or `Z' for a zombie. If you make a " +"mistake, click the mouse in the incorrect square and press Space to " +"clear it again (or use the Undo feature). " +"\n" +"If you _right_-click in a square and then type a letter, the " +"corresponding monster will be shown in reduced size in that square, " +"as a `pencil mark'. You can have pencil marks for multiple monsters " +"in the same square. A square containing a full-size monster cannot " +"also contain pencil marks. " +"\n" +"The game pays no attention to pencil marks, so exactly what you " +"use them for is up to you: you can use them as reminders that a " +"particular square needs to be re-examined once you know more about " +"a particular monster, or you can use them as lists of the possible " +"monster in a given square, or anything else you feel like. " +"\n" +"To erase a single pencil mark, right-click in the square and type " +"the same letter again. " +"\n" +"All pencil marks in a square are erased when you left-click and type " +"a monster letter, or when you left-click and press Space. Right-\n" +"clicking and pressing space will also erase pencil marks. " +"\n" +"As for Solo, the cursor keys can be used in conjunction with the " +"letter keys to place monsters or pencil marks. Use the cursor keys " +"to move a highlight around the grid, and type a monster letter to " +"enter it in the highlighted square. Pressing return toggles the " +"highlight into a mode in which you can enter or remove pencil marks. " +"\n" +"If you prefer plain letters of the alphabet to cute monster " +"pictures, you can press `A' to toggle between showing the monsters " +"as monsters or showing them as letters. " +"\n" +"Left-clicking a clue will mark it as done (grey it out), or unmark " +"it if it is already marked. " +"\n" +"(All the actions described in section 2.1 are also available.) " +"\n" +"\n#37.2 Undead 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[] = "Place ghosts, vampires and zombies so that the right numbers of them can be seen in mirrors."; -- cgit v1.2.3