Searched refs:vocab (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/games/adventure/
H A Dinit.c186 keys = vocab(DECR('k', 'e', 'y', 's', '\0'), 1, 0);
187 lamp = vocab(DECR('l', 'a', 'm', 'p', '\0'), 1, 0);
188 grate = vocab(DECR('g', 'r', 'a', 't', 'e'), 1, 0);
189 cage = vocab(DECR('c', 'a', 'g', 'e', '\0'), 1, 0);
190 rod = vocab(DECR('r', 'o', 'd', '\0', '\0'), 1, 0);
192 steps = vocab(DECR('s', 't', 'e', 'p', 's'), 1, 0);
193 bird = vocab(DECR('b', 'i', 'r', 'd', '\0'), 1, 0);
194 door = vocab(DECR('d', 'o', 'o', 'r', '\0'), 1, 0);
195 pillow = vocab(DECR('p', 'i', 'l', 'l', 'o'), 1, 0);
196 snake = vocab(DEC
[all...]
H A DMakefile5 SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
H A Dextern.h93 /* vocab.c */
100 int vocab(const char *, int, int);
102 /* These three used to be functions in vocab.c */
H A Dvocab.c1 /* $NetBSD: vocab.c,v 1.16 2021/05/02 12:50:43 rillig Exp $ */
40 static char sccsid[] = "@(#)vocab.c 8.1 (Berkeley) 5/31/93";
42 __RCSID("$NetBSD: vocab.c,v 1.16 2021/05/02 12:50:43 rillig Exp $");
132 vocab(const char *word, int type, int value) function
176 errx(1,"Unable to find %s in vocab", word);
H A Dmain.c244 if (at(vocab(wd2, 1, 0)))
250 l2630: i = vocab(wd1, -1, 0);
396 k = vocab(wd1, 3, 0);
H A Dio.c455 vocab(buf, -2, idx);
H A Dsubr.c561 i = vocab(wd1, -1, 0);

Completed in 88 milliseconds