1 /*    SCCS Id: @(#)amimenu.c    3.2    96/02/04			   */
2 /*    Copyright (c) Olaf 'Rhialto' Seibert, 1989		   */
3 /*    Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1992, 1993, 1996 */
4 /*    Copyright (c) Janne Salmij�rvi, 2000 */
5 /* NetHack may be freely redistributed.  See license for details.  */
6 
7 /*  Originally by John Toebes.  */
8 
9 /*  GadTools menus by jhsa */
10 
11 struct NewMenu GTHackMenu[] = {
12     { NM_TITLE, "Commands",                                0, 0, 0, 0},
13     {  NM_ITEM, "?   Display help menu",                   0, 0, 0, (void *)'?'},
14     {  NM_ITEM, "&   Explain a command",                   0, 0, 0, (void *)'&'},
15     {  NM_ITEM, "O   Set options",                         0, 0, 0, (void *)'O'},
16     {  NM_ITEM, "!   AmigaDos command",                    0, 0, 0, (void *)'!'},
17     {  NM_ITEM, "v   Version number",                      0, 0, 0, (void *)'v'},
18     {  NM_ITEM, "V   Long version and game history",       0, 0, 0, (void *)'V'},
19     {  NM_ITEM, "^R  Redraw screen",                       0, 0, 0, (void *)022},
20     {  NM_ITEM, "^P  Repeat previous messages",            0, 0, 0, (void *)020},
21     {  NM_ITEM, "M-q #quit the game",                      0, 0, 0, (void *)(128+'q')},
22     {  NM_ITEM, "S   Save the game",                       0, 0, 0, (void *)'S'},
23     { NM_TITLE, "Inventory",                               0, 0, 0, 0},
24     {  NM_ITEM, "i   Inventory",                           0, 0, 0, (void *)'i'},
25     {  NM_ITEM, "p   Pay your bill",                       0, 0, 0, (void *)'p'},
26     {  NM_ITEM, "d   Drop an object",                      0, 0, 0, (void *)'d'},
27     {  NM_ITEM, "D   Drop several things",                 0, 0, 0, (void *)'D'},
28     {  NM_ITEM, ",   Pickup an object",                    0, 0, 0, (void *)','},
29     {  NM_ITEM, "@   Toggle pickup",                       0, 0, 0, (void *)'@'},
30     {  NM_ITEM, "/   Identify something",                  0, 0, 0, (void *)'/'},
31     {  NM_ITEM, "C   Christen a monster",                  0, 0, 0, (void *)'C'},
32     {  NM_ITEM, "+   List known spells",                   0, 0, 0, (void *)'+'},
33     {  NM_ITEM, "$   Your gold",                           0, 0, 0, (void *)'$'},
34     { NM_TITLE, "Actions",                                 0, 0, 0, 0},
35     {  NM_ITEM, "a   Apply/use something",                 0, 0, 0, (void *)'a'},
36     {  NM_ITEM, "e   Eat something",                       0, 0, 0, (void *)'e'},
37     {  NM_ITEM, "f   Fire ammunition",                     0, 0, 0, (void *)'f'},
38     {  NM_ITEM, "F   Fight a monster",                     0, 0, 0, (void *)'F'},
39     {  NM_ITEM, "q   Quaff a monster",                     0, 0, 0, (void *)'q'},
40     {  NM_ITEM, "r   Read scroll/book",                    0, 0, 0, (void *)'r'},
41     {  NM_ITEM, "t   Throw something",                     0, 0, 0, (void *)'t'},
42     {  NM_ITEM, "z   Zap a wand",                          0, 0, 0, (void *)'z'},
43     {  NM_ITEM, "Z   Cast a spell",                        0, 0, 0, (void *)'Z'},
44     { NM_TITLE, "Preparations",                            0, 0, 0, 0},
45     {  NM_ITEM, "A   Remove all armor",                    0, 0, 0, (void *)'A'},
46     {  NM_ITEM, "P   Put on a ring",                       0, 0, 0, (void *)'P'},
47     {  NM_ITEM, "R   Remove ring",                         0, 0, 0, (void *)'R'},
48     {  NM_ITEM, "Q   Select ammunition for quiver",        0, 0, 0, (void *)'Q'},
49     {  NM_ITEM, "T   Take off armor",                      0, 0, 0, (void *)'T'},
50     {  NM_ITEM, "w   Wield a weapon",                      0, 0, 0, (void *)'w'},
51     {  NM_ITEM, "W   Wear armor",                          0, 0, 0, (void *)'W'},
52     {  NM_ITEM, "x   Swap wielded and secondary weapons",  0, 0, 0, (void *)'x'},
53     {  NM_ITEM, ")   Current weapon",                      0, 0, 0, (void *)')'},
54     {  NM_ITEM, "[   Current armor",                       0, 0, 0, (void *)'['},
55     {  NM_ITEM, "=   Current rings",                       0, 0, 0, (void *)'='},
56     {  NM_ITEM,"\"   Current amulet",                      0, 0, 0, (void *)'"'},
57     {  NM_ITEM, "(   Current tools",                       0, 0, 0, (void *)'('},
58     {  NM_ITEM, "*   Current equipment",                   0, 0, 0, (void *)'*'},
59     { NM_TITLE, "Movement",                                0, 0, 0, 0},
60     {  NM_ITEM, "o   Open door",                           0, 0, 0, (void *)'o'},
61     {  NM_ITEM, "c   Close door",                          0, 0, 0, (void *)'c'},
62     {  NM_ITEM, "^D  Kick door",                           0, 0, 0, (void *)004},
63     {  NM_ITEM, "s   Search",                              0, 0, 0, (void *)'s'},
64     {  NM_ITEM, "<   Go up stairs",                        0, 0, 0, (void *)'<'},
65     {  NM_ITEM, ">   Go down stairs",                      0, 0, 0, (void *)'>'},
66     {  NM_ITEM, "^T  Teleport",                            0, 0, 0, (void *)024},
67     {  NM_ITEM, ".   Wait a moment",                       0, 0, 0, (void *)'.'},
68     {  NM_ITEM, "E   Engrave message on floor",            0, 0, 0, (void *)'E'},
69     { NM_TITLE, "Extended",                                0, 0, 0, 0},
70     {  NM_ITEM, "M-a  #adjust inventory letters",          0, 0, 0, (void *)(128+'a')},
71     {  NM_ITEM, "M-c  #chat with someone",                 0, 0, 0, (void *)(128+'c')},
72     {  NM_ITEM, "M-d  #dip an object into something",      0, 0, 0, (void *)(128+'d')},
73 #ifdef WEAPON_SKILLS
74     {  NM_ITEM, "M-e  #enhance weapon skills",             0, 0, 0, (void *)(128+'e')},
75 #endif
76     {  NM_ITEM, "M-f  #force a lock",                      0, 0, 0, (void *)(128+'f')},
77     {  NM_ITEM, "M-i  #invoke an object's special powers", 0, 0, 0, (void *)(128+'i')},
78     {  NM_ITEM, "M-j  #jump to another location",          0, 0, 0, (void *)(128+'j')},
79     {  NM_ITEM, "M-l  #loot a box on the floor",           0, 0, 0, (void *)(128+'l')},
80     {  NM_ITEM, "M-m  Use a #monster's special ability",   0, 0, 0, (void *)(128+'m')},
81     {  NM_ITEM, "M-n  #name an item or type of object",    0, 0, 0, (void *)(128+'n')},
82     {  NM_ITEM, "M-o  #offer a sacrifice to the gods",     0, 0, 0, (void *)(128+'o')},
83     {  NM_ITEM, "M-p  #pray to the gods for help",         0, 0, 0, (void *)(128+'p')},
84     {  NM_ITEM, "M-q  #quit the game",                     0, 0, 0, (void *)(128+'q')},
85     {  NM_ITEM, "M-r  #rub a lamp",                        0, 0, 0, (void *)(128+'r')},
86     {  NM_ITEM, "M-s  #sit down",                          0, 0, 0, (void *)(128+'s')},
87     {  NM_ITEM, "M-t  #turn undead",                       0, 0, 0, (void *)(128+'t')},
88     {  NM_ITEM, "M-u  #untrap something",                  0, 0, 0, (void *)(128+'u')},
89     {  NM_ITEM, "M-v  Long #version information",          0, 0, 0, (void *)(128+'v')},
90     {  NM_ITEM, "M-w  #wipe off your face",                0, 0, 0, (void *)(128+'w')},
91     {  NM_ITEM, "     Your #conduct",                      0, 0, 0, (void *)'#'}, /* "#co\n" */
92     {  NM_ITEM, "     #ride your steed",                   0, 0, 0, (void *)'#'}, /* "#ri\n" */
93     {  NM_ITEM, "     Switch #twoweapon mode on/off",      0, 0, 0, (void *)'#'}, /* "#tw\n" */
94     {  NM_END,  NULL,                                      0, 0, 0, 0}
95 };
96