syscons - Remove unneeded NULL check from register_framebuffer().
[dragonfly.git] / games / battlestar / words.c
blob2bb6b808b5e3bb8e3cd269aad69df469eee36ec2
1 /*-
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of the University nor the names of its contributors
14 * may be used to endorse or promote products derived from this software
15 * without specific prior written permission.
17 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
29 * @(#)words.c 8.1 (Berkeley) 5/31/93
30 * $FreeBSD: src/games/battlestar/words.c,v 1.2.2.1 2001/03/05 11:45:36 kris Exp $
31 * $DragonFly: src/games/battlestar/words.c,v 1.3 2006/08/08 16:47:20 pavalos Exp $
34 #include "externs.h"
36 struct wlist wlist[] = {
37 { "knife", KNIFE, OBJECT, NULL },
38 { "sword", SWORD, NOUNS, NULL },
39 { "scabbard", SWORD, OBJECT, NULL },
40 { "fine", SWORD, OBJECT, NULL },
41 { "two-handed", TWO_HANDED, OBJECT, NULL },
42 { "cleaver", CLEAVER, OBJECT, NULL },
43 { "broadsword", BROAD, OBJECT, NULL },
44 { "mail", MAIL, OBJECT, NULL },
45 { "coat", MAIL, OBJECT, NULL },
46 { "helmet", HELM, OBJECT, NULL },
47 { "shield", SHIELD, OBJECT, NULL },
48 { "maid", MAID, OBJECT, NULL },
49 { "maid's", MAID, OBJECT, NULL },
50 { "body", BODY, NOUNS, NULL },
51 { "viper", VIPER, OBJECT, NULL },
52 { "lamp", LAMPON, OBJECT, NULL },
53 { "lantern", LAMPON, OBJECT, NULL },
54 { "shoes", SHOES, OBJECT, NULL },
55 { "pajamas", PAJAMAS, OBJECT, NULL },
56 { "robe", ROBE, OBJECT, NULL },
57 { "amulet", AMULET, NOUNS, NULL },
58 { "medallion", MEDALION, NOUNS, NULL },
59 { "talisman", TALISMAN, NOUNS, NULL },
60 { "woodsman", DEADWOOD, OBJECT, NULL },
61 { "woodsman's", DEADWOOD, OBJECT, NULL },
62 { "mallet", MALLET, OBJECT, NULL },
63 { "laser", LASER, OBJECT, NULL },
64 { "pistol", LASER, OBJECT, NULL },
65 { "blaster", LASER, OBJECT, NULL },
66 { "gun", LASER, OBJECT, NULL },
67 { "goddess", NORMGOD, NOUNS, NULL },
68 { "grenade", GRENADE, OBJECT, NULL },
69 { "chain", CHAIN, OBJECT, NULL },
70 { "rope", ROPE, OBJECT, NULL },
71 { "levis", LEVIS, OBJECT, NULL },
72 { "pants", LEVIS, OBJECT, NULL },
73 { "mace", MACE, OBJECT, NULL },
74 { "shovel", SHOVEL, OBJECT, NULL },
75 { "halberd", HALBERD, OBJECT, NULL },
76 { "compass", COMPASS, OBJECT, NULL },
77 { "elf", ELF, OBJECT, NULL },
78 { "coins", COINS, OBJECT, NULL },
79 { "matches", MATCHES, OBJECT, NULL },
80 { "match", MATCHES, OBJECT, NULL },
81 { "book", MATCHES, OBJECT, NULL },
82 { "man", MAN, NOUNS, NULL },
83 { "papayas", PAPAYAS, OBJECT, NULL },
84 { "pineapple", PINEAPPLE, OBJECT, NULL },
85 { "kiwi", KIWI, OBJECT, NULL },
86 { "coconuts", COCONUTS, OBJECT, NULL },
87 { "mango", MANGO, OBJECT, NULL },
88 { "ring", RING, OBJECT, NULL },
89 { "potion", POTION, OBJECT, NULL },
90 { "bracelet", BRACELET, OBJECT, NULL },
91 { "timer", TIMER, NOUNS, NULL },
92 { "bomb", BOMB, OBJECT, NULL },
93 { "warhead", BOMB, OBJECT, NULL },
94 { "girl", NATIVE, NOUNS, NULL },
95 { "native", NATIVE, NOUNS, NULL },
96 { "horse", HORSE, OBJECT, NULL },
97 { "stallion", HORSE, OBJECT, NULL },
98 { "car", CAR, OBJECT, NULL },
99 { "volare", CAR, OBJECT, NULL },
100 { "pot", POT, OBJECT, NULL },
101 { "jewels", POT, OBJECT, NULL },
102 { "bar", BAR, OBJECT, NULL },
103 { "diamond", BLOCK, OBJECT, NULL },
104 { "block", BLOCK, OBJECT, NULL },
105 { "up", UP, VERB, NULL },
106 { "u", UP, VERB, NULL },
107 { "down", DOWN, VERB, NULL },
108 { "d", DOWN, VERB, NULL },
109 { "ahead", AHEAD, VERB, NULL },
110 { "a", AHEAD, VERB, NULL },
111 { "back", BACK, VERB, NULL },
112 { "b", BACK, VERB, NULL },
113 { "right", RIGHT, VERB, NULL },
114 { "r", RIGHT, VERB, NULL },
115 { "left", LEFT, VERB, NULL },
116 { "l", LEFT, VERB, NULL },
117 { "take", TAKE, VERB, NULL },
118 { "get", TAKE, VERB, NULL },
119 { "use", USE, VERB, NULL },
120 { "look", LOOK, VERB, NULL },
121 { "lo", LOOK, VERB, NULL },
122 { "quit", QUIT, VERB, NULL },
123 { "q", QUIT, VERB, NULL },
124 { "su", SU, VERB, NULL },
125 { "drop", DROP, VERB, NULL },
126 { "draw", DRAW, VERB, NULL },
127 { "pull", DRAW, VERB, NULL },
128 { "carry", DRAW, VERB, NULL },
129 { "wear", WEARIT, VERB, NULL },
130 { "sheathe", WEARIT, VERB, NULL },
131 { "put", PUT, VERB, NULL },
132 { "buckle", PUT, VERB, NULL },
133 { "strap", PUT, VERB, NULL },
134 { "tie", PUT, VERB, NULL },
135 { "inven", INVEN, VERB, NULL },
136 { "i", INVEN, VERB, NULL },
137 { "everything", EVERYTHING, OBJECT, NULL },
138 { "all", EVERYTHING, OBJECT, NULL },
139 { "and", AND, CONJ, NULL },
140 { "kill", KILL, VERB, NULL },
141 { "fight", KILL, VERB, NULL },
142 { "ravage", RAVAGE, VERB, NULL },
143 { "rape", RAVAGE, VERB, NULL },
144 { "undress", UNDRESS, VERB, NULL },
145 { "throw", THROW, VERB, NULL },
146 { "launch", LAUNCH, VERB, NULL },
147 { "land", LANDIT, VERB, NULL },
148 { "light", LIGHT, VERB, NULL },
149 { "strike", LIGHT, VERB, NULL },
150 { "follow", FOLLOW, VERB, NULL },
151 { "chase", FOLLOW, VERB, NULL },
152 { "kiss", KISS, VERB, NULL },
153 { "love", LOVE, VERB, NULL },
154 { "fuck", LOVE, VERB, NULL },
155 { "give", GIVE, VERB, NULL },
156 { "smite", SMITE, VERB, NULL },
157 { "attack", SMITE, VERB, NULL },
158 { "swing", SMITE, VERB, NULL },
159 { "stab", SMITE, VERB, NULL },
160 { "slice", SMITE, VERB, NULL },
161 { "cut", SMITE, VERB, NULL },
162 { "hack", SMITE, VERB, NULL },
163 { "shoot", SHOOT, VERB, NULL },
164 { "blast", SHOOT, VERB, NULL },
165 { "on", ON, PREPS, NULL },
166 { "off", OFF, PREPS, NULL },
167 { "time", TIME, VERB, NULL },
168 { "sleep", SLEEP, VERB, NULL },
169 { "dig", DIG, VERB, NULL },
170 { "eat", EAT, VERB, NULL },
171 { "swim", SWIM, VERB, NULL },
172 { "drink", DRINK, VERB, NULL },
173 { "door", DOOR, NOUNS, NULL },
174 { "save", SAVE, VERB, NULL },
175 { "ride", RIDE, VERB, NULL },
176 { "mount", RIDE, VERB, NULL },
177 { "drive", DRIVE, VERB, NULL },
178 { "start", DRIVE, VERB, NULL },
179 { "score", SCORE, VERB, NULL },
180 { "points", SCORE, VERB, NULL },
181 { "bury", BURY, VERB, NULL },
182 { "jump", JUMP, VERB, NULL },
183 { "kick", KICK, VERB, NULL },
184 { "kerosene", 0, ADJS, NULL },
185 { "plumed", 0, ADJS, NULL },
186 { "ancient", 0, ADJS, NULL },
187 { "golden", 0, ADJS, NULL },
188 { "gold", 0, ADJS, NULL },
189 { "ostrich", 0, ADJS, NULL },
190 { "rusty", 0, ADJS, NULL },
191 { "old", 0, ADJS, NULL },
192 { "dented", 0, ADJS, NULL },
193 { "blue", 0, ADJS, NULL },
194 { "purple", 0, ADJS, NULL },
195 { "kingly", 0, ADJS, NULL },
196 { "the", 0, ADJS, NULL },
197 { "climb", 0, ADJS, NULL },
198 { "move", 0, ADJS, NULL },
199 { "make", 0, ADJS, NULL },
200 { "to", 0, ADJS, NULL },
201 { NULL, 0, 0, NULL }