#include "stdio.h"#include "advent.h"#include "advdec.h"Include dependency graph for verb.c:

Go to the source code of this file.
Functions | |
| _PROTOTYPE (static int ck_obj,(void)) | |
| _PROTOTYPE (void von,(void)) | |
| _PROTOTYPE (static boolean do_battle,(int *)) | |
| void | trverb () |
| void | actspk (int verb) |
| void | vtake () |
| static int | ck_obj () |
| void | vdrop () |
| void | vopen () |
| void | vclose () |
| void | von () |
| void | voff () |
| void | vwave () |
| void | vkill () |
| static boolean | do_battle (int *msg_ptr) |
| void | vpour () |
| void | veat () |
| void | vdrink () |
| void | vthrow () |
| void | vfind () |
| void | vfeed () |
| void | vfill () |
| void | vread () |
| void | vbreak () |
| void | vwake () |
| void | vyank () |
| void | vwear () |
| void | vhit () |
| void | vanswer () |
| void | vblow () |
| void | vdial () |
| void | vplay () |
| void | vpick () |
| void | vput () |
| void | vturn () |
| void | vget () |
| void | vinsert () |
| void | vextract () |
| void | vlock () |
| void | vunlock () |
| void | vlook () |
Variables | |
| static _CONST int | actmsg [56] |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 117 of file verb.c. References actmsg, bug(), i, and rspeak(). Referenced by itverb(), ivblast(), trverb(), vdial(), veat(), vfind(), vkill(), voff(), von(), vread(), vthrow(), and vwave(). |
|
|
Definition at line 278 of file verb.c. References AXE, BEAR, BEES, CHAIN, CLOAK, g, HIVE, msg, noway(), PHONE, PLANT, playinfo::prop, STICKS, and SWORD. |
|
|
Definition at line 661 of file verb.c. References AXE, FALSE, iobj, pct(), rspeak(), SWORD, TRUE, and vthrow(). Referenced by vkill(). |
|
|
Definition at line 49 of file verb.c. References actspk(), ANSWER, BLAST, BLOW, BREAK, bug(), CALM, CLOSE, DIAL, DRINK, DROP, EAT, FALSE, FEED, FILL, FIND, FOO, GET, HIT, INSRT, INVENTORY, ivblast(), KILL, LAMP, LOCK, LOOK, newtravel, NOTHING, OFF, ON, OPEN, PICK, PLAY, POUR, prep, PREPDN, printf, PUT, QUIT, READ, REMOVE, rspeak(), RUB, SAY, SCORE, SUSPEND, TAKE, THROW, TURN, UNLOCK, vanswer(), vblow(), vbreak(), vclose(), vdial(), vdrink(), vdrop(), veat(), verb, vextract(), vfeed(), vfill(), vfind(), vget(), vhit(), vinsert(), vkill(), vlock(), vlook(), voff(), von(), vopen(), vpick(), vplay(), vpour(), vput(), vread(), vtake(), vthrow(), vturn(), vunlock(), vwake(), vwave(), vwear(), vyank(), WAKE, WALK, WAVE, WEAR, and YANK. |
|
|
Definition at line 1500 of file verb.c. References actmsg, BEAR, BIRD, BOOTH, playinfo::closed, DRAGON, g, msg, normend(), PHONE, playinfo::prop, rspeak(), SNAKE, TROLL, verb, and WUMPUS. Referenced by trverb(). |
|
|
Definition at line 1542 of file verb.c. References actmsg, at(), playinfo::fixed, g, HORN, i, iobj, k, playinfo::loc, MAXOBJ, move, msg, playinfo::newloc, outside(), playinfo::place, playinfo::prop, rspeak(), verb, vwake(), WALL, and WUMPUS. |
|
|
Definition at line 1324 of file verb.c. References BOTTLE, playinfo::closed, drop(), dwarfend(), enclosed(), extract(), FALSE, playinfo::fixed, g, holding(), k, liq(), playinfo::loc, MIRROR, msg, object, playinfo::place, playinfo::prop, rspeak(), SWORD, TRUE, and VASE. Referenced by trverb(). |
|
|
Definition at line 458 of file verb.c. References ajar(), bitoff(), hinged(), locks, noway(), OPENBT, rspeak(), and vlock(). Referenced by trverb(). |
|
|
Definition at line 1580 of file verb.c. References actspk(), playinfo::closed, g, normend(), PHONE, rspeak(), and verb. Referenced by trverb(). |
|
|
Definition at line 852 of file verb.c. References athand(), AXE, bitoff(), BOTTLE, CASK, drop(), extract(), g, holding(), iobj, j, k, LAMP, playinfo::limit, liq(), liqloc(), playinfo::loc, MAXOBJ, move, msg, OIL, outside(), pct(), playinfo::place, playinfo::prop, ranz(), rspeak(), WATER, WEARBT, wearng(), and WINE. Referenced by trverb(). |
|
|
Definition at line 307 of file verb.c. References at(), BATTERIES, BEAR, BIRD, bitoff(), BOAT, BOTTLE, CASK, CHASM, playinfo::closed, COINS, destroy(), DRAGON, drop(), dwarfend(), enclosed(), extract(), fixd, playinfo::fixed, g, here(), holding(), juggle(), LEAVE, liq(), playinfo::loc, MAXOBJ, move, msg, object, PILLOW, plac, playinfo::place, plural(), POLE, prep, PREPIN, playinfo::prop, pspeak(), ROD, ROD2, rspeak(), SNAKE, TAKE, playinfo::tally2, THROW, toting(), TROLL, TROLL2, VASE, VEND, verb, vinsert(), WEARBT, and worn(). Referenced by trverb(), vextract(), vput(), vtake(), vthrow(), and vyank(). |
|
|
Definition at line 784 of file verb.c. References actspk(), BEAR, BIRD, CAKES, CLAM, destroy(), DOG, DRAGON, DWARF, playinfo::fixed, FLOWER, FOOD, g, GNOME, here(), HONEY, i, if(), k, kk, ll, playinfo::loc, MAXOBJ, move, msg, MUSHRM, playinfo::newloc, newtravel, OYSTER, plac, playinfo::place, playinfo::prop, SKEY, SNAKE, playinfo::tally2, TDOOR, TROLL, TRUE, verb, and WUMPUS. Referenced by trverb(). |
|
|
Definition at line 1855 of file verb.c. References ajar(), BIRD, burden(), enclosed(), extract(), g, iobj, msg, OIL, playinfo::place, prep, playinfo::prop, RING, rspeak(), toting(), vdrop(), vtake(), WATER, and WINE. |
|
|
Definition at line 1115 of file verb.c. References BIRD, dead, edible(), here(), i, iobj, k, kk, living(), MAXOBJ, msg, noway(), objs, objx, otxt, printf, and rspeak(). Referenced by trverb(). |
|
|
Definition at line 1219 of file verb.c. References BOTTLE, CASK, drop(), enclosed(), extract(), playinfo::fixed, g, GRAIL, holding(), insert(), int(), iobj, k, liq(), liqloc(), playinfo::loc, playinfo::loc_attrib, msg, object, OIL, playinfo::place, playinfo::prop, rspeak(), VASE, vessel(), and WINE. |
|
|
Definition at line 1090 of file verb.c. References actspk(), at(), BOTTLE, playinfo::closed, dcheck(), playinfo::dflag, g, liq(), liqloc(), playinfo::loc, msg, rspeak(), and verb. Referenced by trverb(). |
|
|
Definition at line 1702 of file verb.c. References iobj, prep, PREPFR, and vtake(). Referenced by trverb(). |
|
|
Definition at line 1470 of file verb.c. References at(), BOOTH, playinfo::closed, drop(), dwarfend(), g, playinfo::loc, PHONE, playinfo::prop, rspeak(), SLUGS, vkill(), vwake(), and WUMPUS. Referenced by trverb(). |
|
|
Definition at line 1718 of file verb.c. References ajar(), ANVIL, BATTERIES, BIRD, bitoff(), BOAT, BOTTLE, CAGE, CASK, CHEST, ck_obj(), COINS, destroy(), drop(), enclosed(), extract(), FALSE, playinfo::fixed, g, GRAIL, holding(), insert(), iobj, LAMP, playinfo::limit, playinfo::lmwarn, playinfo::loc, move, msg, noway(), object, objs, objx, PHONE, PILLOW, prep, printf, playinfo::prop, pspeak(), RADIUM, rspeak(), SAFE, SHIELD, SLUGS, small, SWORD, VASE, VEND, vessel(), vfill(), vrbx, vtake(), vtxt, WATER, WEARBT, wearng(), WINE, and worn(). |
|
|
Definition at line 556 of file verb.c. References actspk(), AXE, BEAR, BIRD, biton(), CLAM, playinfo::closed, DEADBT, death(), destroy(), do_battle(), DOG, DRAGON, DWARF, dwarfend(), fixd, g, GNOME, holding(), i, iobj, k, playinfo::loc, MAXOBJ, move, msg, playinfo::newloc, playinfo::oldloc2, OYSTER, plac, playinfo::place, playinfo::prop, pspeak(), rspeak(), RUG, SNAKE, playinfo::tally2, TROLL, TRUE, verb, vthrow(), WUMPUS, and yes(). |
|
|
Definition at line 1913 of file verb.c. References athand(), bitoff(), biton(), CHAIN, CHEST, drop(), enclosed(), extract(), playinfo::fixed, g, GRATE, hinged(), holding(), k, KEYS, playinfo::loc, LOCKBT, locked(), locks, msg, objx, OPENBT, otxt, plac, printf, playinfo::prop, rspeak(), SAFE, SKEY, TDOOR, TDOOR2, and toting(). |
|
|
Definition at line 2095 of file verb.c. References actmsg, ajar(), athand(), confuz(), desclg(), enclosed(), playinfo::flg239, g, playinfo::holder, inside(), iobj, iobx, iotxt, LAMP, playinfo::loc, playinfo::loc_attrib, lookin(), opaque(), playinfo::place, printed(), printf, playinfo::prop, putchar, rspeak(), SAPPHIRE, SPHERE, TRUE, verb, vessel(), and vread(). Referenced by trverb(). |
|
|
Definition at line 501 of file verb.c. References actspk(), athand(), dark(), g, LAMP, playinfo::prop, rspeak(), and verb. |
|
|
Definition at line 475 of file verb.c. References actspk(), athand(), descitem(), describe(), g, LAMP, playinfo::limit, playinfo::loc, playinfo::prop, rspeak(), verb, and playinfo::wzdark. |
|
|
Definition at line 414 of file verb.c. References ajar(), athand(), biton(), CLAM, destroy(), DOOR, drop(), g, hinged(), holding(), iobj, KEYS, playinfo::loc, locked(), locks, msg, noway(), OPENBT, OYSTER, PDOOR, PEARL, playinfo::prop, rspeak(), SKEY, TRIDENT, and vunlock(). Referenced by trverb(). |
|
|
Definition at line 1628 of file verb.c. References confuz(), FLOWER, iobj, MUSHRM, prep, rspeak(), and vtake(). Referenced by trverb(). |
|
|
Definition at line 1595 of file verb.c. References actmsg, AXE, biton(), confuz(), dead, DEADBT, DOG, playinfo::fixed, g, here(), HORN, iobj, LYRE, msg, playinfo::prop, rspeak(), vblow(), and verb. Referenced by trverb(). |
|
|
Definition at line 699 of file verb.c. References ajar(), at(), bitoff(), biton(), BOTTLE, CASK, DOOR, extract(), playinfo::fixed, g, holding(), iobj, liq(), LOCKBT, msg, newtravel, OIL, OPENBT, playinfo::place, PLANT, PLANT2, playinfo::prop, pspeak(), rspeak(), SWORD, TRUE, WATER, and WINE. Referenced by trverb(). |
|
|
Definition at line 1645 of file verb.c. References iobj, iobx, iotxt, noway(), objx, otxt, prep, PREPIN, PREPON, printf, rspeak(), vdrop(), vinsert(), vwear(), and worn(). Referenced by trverb(). |
|
|
Definition at line 1269 of file verb.c. References actspk(), BILLBD, blind(), BOOK, BOOK2, CARVNG, playinfo::closed, confuz(), g, playinfo::hinted, holding(), iobj, MAGAZINE, MESSAGE, msg, OYSTER, POSTER, rspeak(), TABLET, verb, and yes(). |
|
|
Definition at line 133 of file verb.c. References ajar(), ANVIL, athand(), BEAR, BIRD, bitoff(), BOAT, BOTTLE, burden(), CAGE, carry(), CASK, ck_obj(), CLOAK, playinfo::closed, confuz(), CROWN, drop(), enclosed(), playinfo::fixed, g, here(), holding(), insert(), iobj, playinfo::loc, msg, noway(), OIL, OPENBT, playinfo::place, plural(), POLE, POSTER, prep, PREPFR, PREPIN, PREPOF, playinfo::prop, pspeak(), RING, ROD, rspeak(), SAFE, SKEY, SWORD, toting(), vdrop(), verb, vextract(), vfill(), vinsert(), WALL2, WATER, WEARBT, wearng(), WINE, YANK, and yes(). Referenced by ivtake(), trverb(), vextract(), vget(), vinsert(), vpick(), vwear(), and vyank(). |
|
|
Definition at line 926 of file verb.c. References actspk(), at(), BEAR, BOAT, dcheck(), DWARF, holding(), i, iobj, k, living(), MAXOBJ, msg, noway(), ROD, ROD2, rspeak(), vdrop(), and verb. Referenced by do_battle(), trverb(), and vkill(). |
|
|
Definition at line 1680 of file verb.c. References confuz(), iobj, LAMP, noway(), prep, PREPON, rspeak(), voff(), and von(). Referenced by trverb(). |
|
|
Definition at line 1996 of file verb.c. References athand(), BEAR, bitoff(), biton(), CHAIN, CHEST, playinfo::clock2, playinfo::closing, playinfo::fixed, g, GRATE, hinged(), iobj, k, KEYS, LOCKBT, locked(), locks, msg, objx, OPENBT, otxt, playinfo::panic, printf, playinfo::prop, rspeak(), SAFE, SKEY, TDOOR, TDOOR2, and TRUE. |
|
|
Definition at line 1383 of file verb.c. References actmsg, at(), playinfo::chase, playinfo::closed, DOG, dwarfend(), g, msg, playinfo::prop, rspeak(), TRUE, verb, and WUMPUS. |
|
|
Definition at line 519 of file verb.c. References actspk(), at(), AXE, biton(), playinfo::chase, playinfo::closing, DEADBT, drop(), FISSURE, playinfo::fixed, g, holding(), iobj, playinfo::loc, move, playinfo::oldloc, plac, playinfo::place, playinfo::prop, pspeak(), RING, ROD, ROD2, rspeak(), verb, and WUMPUS. Referenced by trverb(). |
|
|
Definition at line 1436 of file verb.c. References biton(), CLOAK, enclosed(), extract(), g, holding(), msg, object, objx, otxt, printf, playinfo::prop, rspeak(), SHOES, SWORD, vtake(), WEARBT, wearng(), and worn(). |
|
|
Definition at line 1408 of file verb.c. References at(), BEAR, carry(), CHAIN, playinfo::chase, CLOAK, playinfo::fixed, g, playinfo::loc, playinfo::prop, ROCKS, rspeak(), toting(), vdrop(), vtake(), and WUMPUS. |
|
|
Initial value: {
0, 24, 29, 0, 33, 0, 33, 38, 38, 42,
14, 43, 110, 29, 110, 73, 75, 29, 13, 59,
59, 174, 313, 67, 13, 147, 155, 369, 146, 110,
13, 13, 24, 25, 110, 262, 14, 29, 271, 14,
14, 24, 29, 38, 24, 331, 24, 109, 332, 0,
0, 348, 358, 0, 364, 0}
Definition at line 8 of file verb.c. Referenced by actspk(), vanswer(), vblow(), vlook(), vplay(), and vwake(). |
1.4.6