summaryrefslogtreecommitdiffstats
path: root/battlestar/words.c
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-11 02:06:55 +0000
committerlukem <lukem@NetBSD.org>1997-10-11 02:06:55 +0000
commit61a235f9c8a332df14e8fe40b7b1fcaa98ecc548 (patch)
tree50f20c42070d381297a96acd027002bc10e84095 /battlestar/words.c
parent098ef9272dbfc3deff7afcd768ea90836e72a163 (diff)
downloadbsdgames-darwin-61a235f9c8a332df14e8fe40b7b1fcaa98ecc548.tar.gz
bsdgames-darwin-61a235f9c8a332df14e8fe40b7b1fcaa98ecc548.tar.zst
bsdgames-darwin-61a235f9c8a332df14e8fe40b7b1fcaa98ecc548.zip
KNFify (with indent)
Diffstat (limited to 'battlestar/words.c')
-rw-r--r--battlestar/words.c336
1 files changed, 168 insertions, 168 deletions
diff --git a/battlestar/words.c b/battlestar/words.c
index 4ac92584..44356ac9 100644
--- a/battlestar/words.c
+++ b/battlestar/words.c
@@ -1,4 +1,4 @@
-/* $NetBSD: words.c,v 1.5 1997/10/10 11:40:22 lukem Exp $ */
+/* $NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,176 +38,176 @@
#if 0
static char sccsid[] = "@(#)words.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: words.c,v 1.5 1997/10/10 11:40:22 lukem Exp $");
+__RCSID("$NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $");
#endif
-#endif /* not lint */
+#endif /* not lint */
#include "extern.h"
struct wlist wlist[] = {
- { "knife", KNIFE, OBJECT },
- { "sword", SWORD, NOUNS },
- { "scabbard", SWORD, OBJECT },
- { "fine", SWORD, OBJECT },
- { "two-handed", TWO_HANDED, OBJECT },
- { "cleaver", CLEAVER, OBJECT },
- { "broadsword", BROAD, OBJECT },
- { "mail", MAIL, OBJECT },
- { "coat", MAIL, OBJECT },
- { "helmet", HELM, OBJECT },
- { "shield", SHIELD, OBJECT },
- { "maid", MAID, OBJECT },
- { "maid's", MAID, OBJECT },
- { "body", BODY, NOUNS },
- { "viper", VIPER, OBJECT },
- { "lamp", LAMPON, OBJECT },
- { "lantern", LAMPON, OBJECT },
- { "shoes", SHOES, OBJECT },
- { "pajamas", PAJAMAS, OBJECT },
- { "robe", ROBE, OBJECT },
- { "amulet", AMULET, NOUNS },
- { "medallion", MEDALION, NOUNS },
- { "talisman", TALISMAN, NOUNS },
- { "woodsman", DEADWOOD, OBJECT },
- { "woodsman's", DEADWOOD, OBJECT },
- { "mallet", MALLET, OBJECT },
- { "laser", LASER, OBJECT },
- { "pistol", LASER, OBJECT },
- { "blaster", LASER, OBJECT },
- { "gun", LASER, OBJECT },
- { "goddess", NORMGOD, NOUNS },
- { "grenade", GRENADE, OBJECT },
- { "chain", CHAIN, OBJECT },
- { "rope", ROPE, OBJECT },
- { "levis", LEVIS, OBJECT },
- { "pants", LEVIS, OBJECT },
- { "mace", MACE, OBJECT },
- { "shovel", SHOVEL, OBJECT },
- { "halberd", HALBERD, OBJECT },
- { "compass", COMPASS, OBJECT },
- { "elf", ELF, OBJECT },
- { "coins", COINS, OBJECT },
- { "matches", MATCHES, OBJECT },
- { "match", MATCHES, OBJECT },
- { "book", MATCHES, OBJECT },
- { "man", MAN, NOUNS },
- { "papayas", PAPAYAS, OBJECT },
- { "pineapple", PINEAPPLE, OBJECT },
- { "kiwi", KIWI, OBJECT },
- { "coconuts", COCONUTS, OBJECT },
- { "mango", MANGO, OBJECT },
- { "ring", RING, OBJECT },
- { "potion", POTION, OBJECT },
- { "bracelet", BRACELET, OBJECT },
- { "timer", TIMER, NOUNS },
- { "bomb", BOMB, OBJECT },
- { "warhead", BOMB, OBJECT },
- { "girl", NATIVE, NOUNS },
- { "native", NATIVE, NOUNS },
- { "horse", HORSE, OBJECT },
- { "stallion", HORSE, OBJECT },
- { "car", CAR, OBJECT },
- { "volare", CAR, OBJECT },
- { "pot", POT, OBJECT },
- { "jewels", POT, OBJECT },
- { "bar", BAR, OBJECT },
- { "diamond", BLOCK, OBJECT },
- { "block", BLOCK, OBJECT },
- { "up", UP, VERB },
- { "u", UP, VERB },
- { "down", DOWN, VERB },
- { "d", DOWN, VERB },
- { "ahead", AHEAD, VERB },
- { "a", AHEAD, VERB },
- { "back", BACK, VERB },
- { "b", BACK, VERB },
- { "right", RIGHT, VERB },
- { "r", RIGHT, VERB },
- { "left", LEFT, VERB },
- { "l", LEFT, VERB },
- { "take", TAKE, VERB },
- { "get", TAKE, VERB },
- { "use", USE, VERB },
- { "look", LOOK, VERB },
- { "lo", LOOK, VERB },
- { "quit", QUIT, VERB },
- { "q", QUIT, VERB },
- { "su", SU, VERB },
- { "drop", DROP, VERB },
- { "draw", DRAW, VERB },
- { "pull", DRAW, VERB },
- { "carry", DRAW, VERB },
- { "wear", WEARIT, VERB },
- { "sheathe", WEARIT, VERB },
- { "put", PUT, VERB },
- { "buckle", PUT, VERB },
- { "strap", PUT, VERB },
- { "tie", PUT, VERB },
- { "inven", INVEN, VERB },
- { "i", INVEN, VERB },
- { "everything", EVERYTHING, OBJECT },
- { "all", EVERYTHING, OBJECT },
- { "and", AND, CONJ },
- { "kill", KILL, VERB },
- { "fight", KILL, VERB },
- { "ravage", RAVAGE, VERB },
- { "rape", RAVAGE, VERB },
- { "undress", UNDRESS, VERB },
- { "throw", THROW, VERB },
- { "launch", LAUNCH, VERB },
- { "land", LANDIT, VERB },
- { "light", LIGHT, VERB },
- { "strike", LIGHT, VERB },
- { "follow", FOLLOW, VERB },
- { "chase", FOLLOW, VERB },
- { "kiss", KISS, VERB },
- { "love", LOVE, VERB },
- { "fuck", LOVE, VERB },
- { "give", GIVE, VERB },
- { "smite", SMITE, VERB },
- { "attack", SMITE, VERB },
- { "swing", SMITE, VERB },
- { "stab", SMITE, VERB },
- { "slice", SMITE, VERB },
- { "cut", SMITE, VERB },
- { "hack", SMITE, VERB },
- { "shoot", SHOOT, VERB },
- { "blast", SHOOT, VERB },
- { "on", ON, PREPS },
- { "off", OFF, PREPS },
- { "time", TIME, VERB },
- { "sleep", SLEEP, VERB },
- { "dig", DIG, VERB },
- { "eat", EAT, VERB },
- { "swim", SWIM, VERB },
- { "drink", DRINK, VERB },
- { "door", DOOR, NOUNS },
- { "save", SAVE, VERB },
- { "ride", RIDE, VERB },
- { "mount", RIDE, VERB },
- { "drive", DRIVE, VERB },
- { "start", DRIVE, VERB },
- { "score", SCORE, VERB },
- { "points", SCORE, VERB },
- { "bury", BURY, VERB },
- { "jump", JUMP, VERB },
- { "kick", KICK, VERB },
- { "kerosene", 0, ADJS },
- { "plumed", 0, ADJS },
- { "ancient", 0, ADJS },
- { "golden", 0, ADJS },
- { "gold", 0, ADJS },
- { "ostrich", 0, ADJS },
- { "rusty", 0, ADJS },
- { "old", 0, ADJS },
- { "dented", 0, ADJS },
- { "blue", 0, ADJS },
- { "purple", 0, ADJS },
- { "kingly", 0, ADJS },
- { "the", 0, ADJS },
- { "climb", 0, ADJS },
- { "move", 0, ADJS },
- { "make", 0, ADJS },
- { "to", 0, ADJS },
- { 0 }
+ {"knife", KNIFE, OBJECT},
+ {"sword", SWORD, NOUNS},
+ {"scabbard", SWORD, OBJECT},
+ {"fine", SWORD, OBJECT},
+ {"two-handed", TWO_HANDED, OBJECT},
+ {"cleaver", CLEAVER, OBJECT},
+ {"broadsword", BROAD, OBJECT},
+ {"mail", MAIL, OBJECT},
+ {"coat", MAIL, OBJECT},
+ {"helmet", HELM, OBJECT},
+ {"shield", SHIELD, OBJECT},
+ {"maid", MAID, OBJECT},
+ {"maid's", MAID, OBJECT},
+ {"body", BODY, NOUNS},
+ {"viper", VIPER, OBJECT},
+ {"lamp", LAMPON, OBJECT},
+ {"lantern", LAMPON, OBJECT},
+ {"shoes", SHOES, OBJECT},
+ {"pajamas", PAJAMAS, OBJECT},
+ {"robe", ROBE, OBJECT},
+ {"amulet", AMULET, NOUNS},
+ {"medallion", MEDALION, NOUNS},
+ {"talisman", TALISMAN, NOUNS},
+ {"woodsman", DEADWOOD, OBJECT},
+ {"woodsman's", DEADWOOD, OBJECT},
+ {"mallet", MALLET, OBJECT},
+ {"laser", LASER, OBJECT},
+ {"pistol", LASER, OBJECT},
+ {"blaster", LASER, OBJECT},
+ {"gun", LASER, OBJECT},
+ {"goddess", NORMGOD, NOUNS},
+ {"grenade", GRENADE, OBJECT},
+ {"chain", CHAIN, OBJECT},
+ {"rope", ROPE, OBJECT},
+ {"levis", LEVIS, OBJECT},
+ {"pants", LEVIS, OBJECT},
+ {"mace", MACE, OBJECT},
+ {"shovel", SHOVEL, OBJECT},
+ {"halberd", HALBERD, OBJECT},
+ {"compass", COMPASS, OBJECT},
+ {"elf", ELF, OBJECT},
+ {"coins", COINS, OBJECT},
+ {"matches", MATCHES, OBJECT},
+ {"match", MATCHES, OBJECT},
+ {"book", MATCHES, OBJECT},
+ {"man", MAN, NOUNS},
+ {"papayas", PAPAYAS, OBJECT},
+ {"pineapple", PINEAPPLE, OBJECT},
+ {"kiwi", KIWI, OBJECT},
+ {"coconuts", COCONUTS, OBJECT},
+ {"mango", MANGO, OBJECT},
+ {"ring", RING, OBJECT},
+ {"potion", POTION, OBJECT},
+ {"bracelet", BRACELET, OBJECT},
+ {"timer", TIMER, NOUNS},
+ {"bomb", BOMB, OBJECT},
+ {"warhead", BOMB, OBJECT},
+ {"girl", NATIVE, NOUNS},
+ {"native", NATIVE, NOUNS},
+ {"horse", HORSE, OBJECT},
+ {"stallion", HORSE, OBJECT},
+ {"car", CAR, OBJECT},
+ {"volare", CAR, OBJECT},
+ {"pot", POT, OBJECT},
+ {"jewels", POT, OBJECT},
+ {"bar", BAR, OBJECT},
+ {"diamond", BLOCK, OBJECT},
+ {"block", BLOCK, OBJECT},
+ {"up", UP, VERB},
+ {"u", UP, VERB},
+ {"down", DOWN, VERB},
+ {"d", DOWN, VERB},
+ {"ahead", AHEAD, VERB},
+ {"a", AHEAD, VERB},
+ {"back", BACK, VERB},
+ {"b", BACK, VERB},
+ {"right", RIGHT, VERB},
+ {"r", RIGHT, VERB},
+ {"left", LEFT, VERB},
+ {"l", LEFT, VERB},
+ {"take", TAKE, VERB},
+ {"get", TAKE, VERB},
+ {"use", USE, VERB},
+ {"look", LOOK, VERB},
+ {"lo", LOOK, VERB},
+ {"quit", QUIT, VERB},
+ {"q", QUIT, VERB},
+ {"su", SU, VERB},
+ {"drop", DROP, VERB},
+ {"draw", DRAW, VERB},
+ {"pull", DRAW, VERB},
+ {"carry", DRAW, VERB},
+ {"wear", WEARIT, VERB},
+ {"sheathe", WEARIT, VERB},
+ {"put", PUT, VERB},
+ {"buckle", PUT, VERB},
+ {"strap", PUT, VERB},
+ {"tie", PUT, VERB},
+ {"inven", INVEN, VERB},
+ {"i", INVEN, VERB},
+ {"everything", EVERYTHING, OBJECT},
+ {"all", EVERYTHING, OBJECT},
+ {"and", AND, CONJ},
+ {"kill", KILL, VERB},
+ {"fight", KILL, VERB},
+ {"ravage", RAVAGE, VERB},
+ {"rape", RAVAGE, VERB},
+ {"undress", UNDRESS, VERB},
+ {"throw", THROW, VERB},
+ {"launch", LAUNCH, VERB},
+ {"land", LANDIT, VERB},
+ {"light", LIGHT, VERB},
+ {"strike", LIGHT, VERB},
+ {"follow", FOLLOW, VERB},
+ {"chase", FOLLOW, VERB},
+ {"kiss", KISS, VERB},
+ {"love", LOVE, VERB},
+ {"fuck", LOVE, VERB},
+ {"give", GIVE, VERB},
+ {"smite", SMITE, VERB},
+ {"attack", SMITE, VERB},
+ {"swing", SMITE, VERB},
+ {"stab", SMITE, VERB},
+ {"slice", SMITE, VERB},
+ {"cut", SMITE, VERB},
+ {"hack", SMITE, VERB},
+ {"shoot", SHOOT, VERB},
+ {"blast", SHOOT, VERB},
+ {"on", ON, PREPS},
+ {"off", OFF, PREPS},
+ {"time", TIME, VERB},
+ {"sleep", SLEEP, VERB},
+ {"dig", DIG, VERB},
+ {"eat", EAT, VERB},
+ {"swim", SWIM, VERB},
+ {"drink", DRINK, VERB},
+ {"door", DOOR, NOUNS},
+ {"save", SAVE, VERB},
+ {"ride", RIDE, VERB},
+ {"mount", RIDE, VERB},
+ {"drive", DRIVE, VERB},
+ {"start", DRIVE, VERB},
+ {"score", SCORE, VERB},
+ {"points", SCORE, VERB},
+ {"bury", BURY, VERB},
+ {"jump", JUMP, VERB},
+ {"kick", KICK, VERB},
+ {"kerosene", 0, ADJS},
+ {"plumed", 0, ADJS},
+ {"ancient", 0, ADJS},
+ {"golden", 0, ADJS},
+ {"gold", 0, ADJS},
+ {"ostrich", 0, ADJS},
+ {"rusty", 0, ADJS},
+ {"old", 0, ADJS},
+ {"dented", 0, ADJS},
+ {"blue", 0, ADJS},
+ {"purple", 0, ADJS},
+ {"kingly", 0, ADJS},
+ {"the", 0, ADJS},
+ {"climb", 0, ADJS},
+ {"move", 0, ADJS},
+ {"make", 0, ADJS},
+ {"to", 0, ADJS},
+ {0}
};