Go to the source code of this file.
|
| int | at (int objj) |
| |
| int | bug (int n) |
| |
| void | carry (int, int) |
| |
| void | caveclose (void) |
| |
| void | checkhints (void) |
| |
| void | ciao (void) |
| |
| void | closing (void) |
| |
| u_long | crc (const char *ptr, int nr) |
| |
| void | crc_start (void) |
| |
| int | dark (void) |
| |
| void | datime (int *d, int *t) |
| |
| char * | decr (int, int, int, int, int) |
| |
| void | die (int entry) |
| |
| void | done (int entry) |
| |
| void | drop (int object, int where) |
| |
| void | dstroy (int) |
| |
| int | fdwarf (void) |
| |
| int | forced (int locc) |
| |
| void | getin (char **wrd1, char **wrd2) |
| |
| int | here (int objj) |
| |
| void | my_init (void) |
| |
| void | juggle (int) |
| |
| int | liq (void) |
| |
| int | liqloc (int locc) |
| |
| int | march (void) |
| |
| void | move (int, int) |
| |
| void | mspeak (int) |
| |
| int | pct (int n) |
| |
| void | poof (void) |
| |
| void | pspeak (int m, int skip) |
| |
| int | put (int, int, int) |
| |
| int | ran (int range) |
| |
| void | rdata (void) |
| |
| int | restore (const char *infile) |
| |
| void | rspeak (int) |
| |
| int | save (const char *) |
| |
| int | score (void) |
| |
| void | speak (const struct text *) |
| |
| int | Start (void) |
| |
| void | startup (void) |
| |
| int | toting (int objj) |
| |
| void | trapdel (int sig) |
| |
| int | trdrop (void) |
| |
| int | trfeed (void) |
| |
| int | trfill (void) |
| |
| int | trkill (void) |
| |
| int | tropen (void) |
| |
| int | trsay (void) |
| |
| int | trtake (void) |
| |
| int | trtoss (void) |
| |
| int | vocab (const char *, int, int) |
| |
| int | yes (int x, int y, int z) |
| |
| int | yesm (int x, int y, int z) |
| |
◆ CLSMAX
◆ DECR
| #define DECR |
( |
| a, |
|
|
| b, |
|
|
| c, |
|
|
| d, |
|
|
| e ) |
◆ FALSE
Referenced by at(), bitset(), closing(), dark(), fdwarf(), forced(), here(), linkdata(), main(), march(), pct(), Start(), toting(), trtoss(), wizard(), yes(), and yesm().
◆ FLUSHLF
| #define FLUSHLF while (next()!=LF) |
◆ FLUSHLINE
| #define FLUSHLINE do { int flushline_ch; while ((flushline_ch = getchar()) != EOF && flushline_ch != '\n'); } while (0) |
◆ HTSIZE
◆ LF
◆ LOCSIZ
| #define LOCSIZ 141 /* number of locations */ |
◆ MAGSIZ
◆ MAXSTR
| #define MAXSTR 20 /* max length of user's words */ |
◆ RTXSIZ
◆ SEED
| #define SEED 1815622 /* "Encryption" seed */ |
◆ SHORT
| #define SHORT 50 /* How short is a demo game? */ |
◆ TAB
◆ TRUE
Referenced by at(), bitset(), caveclose(), closing(), dark(), forced(), here(), main(), pct(), toting(), tropen(), wizard(), yes(), and yesm().
◆ at()
◆ bug()
◆ carry()
| void carry |
( |
int | object, |
|
|
int | where ) |
◆ caveclose()
References bird, bottle, cage, closed, dstroy(), dwarf, fixed, grate, lamp, loc, mirror, newloc, oldloc, oyster, pillow, plant, prop, put(), rod, rod2, rspeak(), snake, toting(), and TRUE.
Referenced by main().
◆ checkhints()
References atloc, bird, bitset(), bug(), emrald, grate, here(), hinted, hintlc, hints, hntmax, holdng, keys, loc, obj, oldlc2, oldloc, printf, prop, pyram, rod, snake, toting(), and yes().
Referenced by main().
◆ ciao()
◆ closing()
References axe, bear, chain, chasm, clock1, closng, dloc, dseen, dstroy(), FALSE, fissur, fixd, fixed, grate, juggle(), move(), plac, prop, rspeak(), troll, troll2, and TRUE.
Referenced by main().
◆ crc()
| u_long crc |
( |
const char * | ptr, |
|
|
int | nr ) |
◆ crc_start()
◆ dark()
◆ datime()
| void datime |
( |
int * | d, |
|
|
int * | t ) |
◆ decr()
| char * decr |
( |
int | , |
|
|
int | , |
|
|
int | , |
|
|
int | , |
|
|
int | ) |
◆ die()
References closng, done, drop(), k, lamp, loc, maxdie, numdie, oil, oldlc2, oldloc, place, prop, rspeak(), toting(), water, yea, and yes().
Referenced by main().
◆ done()
References clsses, ctext, cval, k, mspeak(), mxscor, printf, rspeak(), score(), speak(), and turns.
◆ drop()
| void drop |
( |
int | object, |
|
|
int | where ) |
References atloc, fixed, holdng, linkx, and place.
Referenced by die(), dropper(), fdwarf(), linkdata(), main(), move(), specials(), trbridge(), trdrop(), tropen(), and trtoss().
◆ dstroy()
| void dstroy |
( |
int | object | ) |
|
◆ fdwarf()
References at(), attack, axe, bitset(), carry(), chest, chloc, chloc2, travlist::conditions, daltlc, dflag, dloc, drop(), dseen, dtotal, emrald, FALSE, fixed, forced(), here(), k, knfloc, lamp, loc, maxtrs, messag, move(), newloc, travlist::next, odloc, oldlc2, pct(), plac, place, printf, prop, pyram, ran(), rspeak(), saved, stick, tally, tally2, tk, travlist::tloc, toting(), and travel.
Referenced by main().
◆ forced()
◆ getin()
| void getin |
( |
char ** | wrd1, |
|
|
char ** | wrd2 ) |
◆ here()
References FALSE, loc, place, toting(), and TRUE.
Referenced by checkhints(), dark(), fdwarf(), main(), trdrop(), trfeed(), trfill(), trkill(), tropen(), trtake(), and trtoss().
◆ juggle()
| void juggle |
( |
int | object | ) |
|
◆ liq()
◆ liqloc()
◆ march()
References abb, at(), back, badmove(), bug(), cave, travlist::conditions, detail, FALSE, k, loc, look, mback(), newloc, travlist::next, null, oldlc2, oldloc, pct(), prop, rspeak(), specials(), tkk, travlist::tloc, toting(), travel, travlist::tverb, and wzdark.
Referenced by main().
◆ move()
| void move |
( |
int | object, |
|
|
int | where ) |
References carry(), drop(), fixed, and place.
Referenced by closing(), dstroy(), fdwarf(), juggle(), main(), put(), trbridge(), trdrop(), trkill(), and trtoss().
◆ mspeak()
◆ my_init()
◆ pct()
◆ poof()
◆ pspeak()
| void pspeak |
( |
int | m, |
|
|
int | skip ) |
References blklin, errx, free(), iotape, LF, malloc(), ptext, putchar(), s, text::seekadr, TAB, tape, tbuf, and text::txtlen.
Referenced by main(), trbridge(), trdrop(), and trkill().
◆ put()
| int put |
( |
int | object, |
|
|
int | where, |
|
|
int | pval ) |
◆ ran()
◆ rdata()
References breakch, clsses, data_file, FLUSHLF, inptr, LF, next(), printf, putchar(), rdesc(), rdflt(), rhints(), rliq(), rlocs(), rtrav(), and rvoc().
Referenced by my_init().
◆ restore()
| int restore |
( |
const char * | infile | ) |
|
◆ rspeak()
References rtext, and speak().
Referenced by badmove(), caveclose(), closing(), die(), done(), fdwarf(), main(), march(), mback(), specials(), trbridge(), trdrop(), trfill(), trkill(), trtake(), trtoss(), and yes().
◆ save()
| int save |
( |
const char * | | ) |
|
◆ score()
References bonus, chest, closed, closng, dflag, gaveup, hinted, hints, hntmax, k, magzin, maxdie, maxtrs, mxscor, numdie, place, prop, ptext, and scorng.
Referenced by done(), main(), and render_score().
◆ speak()
| void speak |
( |
const struct text * | | ) |
|
◆ Start()
◆ startup()
◆ toting()
References FALSE, place, and TRUE.
Referenced by caveclose(), checkhints(), die(), fdwarf(), here(), main(), march(), specials(), trbridge(), trdrop(), trfill(), tropen(), trtake(), and trtoss().
◆ trapdel()
◆ trdrop()
References at(), batter, bear, bird, chasm, closed, coins, dragon, drop(), dropper(), dstroy(), fixd, fixed, here(), juggle(), loc, move(), obj, pillow, plac, place, prop, pspeak(), rod, rod2, rspeak(), snake, tally2, toting(), troll, troll2, vase, and vend.
Referenced by main().
◆ trfeed()
References axe, bear, bird, closed, dflag, dragon, dstroy(), dwarf, fixed, food, here(), obj, prop, snake, spk, tally2, and troll.
Referenced by main().
◆ trfill()
References bottle, cond, fixed, here(), k, liq(), liqloc(), loc, obj, oil, place, prop, rspeak(), spk, toting(), and vase.
Referenced by main().
◆ trkill()
References at(), bear, bird, clam, closed, dflag, dloc, dragon, dstroy(), dwarf, fixd, getin(), here(), k, loc, move(), null, obj, oyster, plac, place, prop, pspeak(), rspeak(), rug, snake, spk, tally2, troll, verb, wd1, and wd2.
Referenced by main().
◆ tropen()
References apanic, bear, cage, chain, clam, clock2, closng, door, drop(), dstroy(), fixed, grate, here(), k, keys, loc, lock, obj, oyster, pearl, plac, prop, spk, toting(), tridnt, TRUE, and verb.
Referenced by main().
◆ trsay()
◆ trtake()
References bear, bird, bottle, cage, carry(), chain, fixed, here(), holdng, k, liq(), loc, obj, oil, place, plant, prop, rod, rspeak(), spk, toting(), and water.
Referenced by main().
◆ trtoss()
References at(), axe, bear, chasm, dkill, dloc, dragon, drop(), dseen, FALSE, fixd, fixed, food, here(), juggle(), k, loc, maxtrs, move(), null, obj, plac, prop, ran(), rod, rod2, rspeak(), saved, spk, toting(), troll, and troll2.
Referenced by main().
◆ vocab()
| int vocab |
( |
const char * | , |
|
|
int | , |
|
|
int | ) |
◆ yes()
| int yes |
( |
int | x, |
|
|
int | y, |
|
|
int | z ) |
References FALSE, FLUSHLINE, getchar(), printf, rspeak(), TRUE, x, y, and z.
Referenced by checkhints(), die(), main(), and startup().
◆ yesm()
| int yesm |
( |
int | x, |
|
|
int | y, |
|
|
int | z ) |
◆ abb
◆ abbnum
◆ actspk
◆ apanic
◆ atloc
◆ attack
◆ axe
◆ back
◆ batter
◆ bear
◆ bird
◆ blklin
◆ bonus
◆ bottle
◆ cage
◆ cave
◆ chain
◆ chasm
◆ chest
◆ chloc
◆ chloc2
◆ clam
◆ clock1
◆ clock2
◆ closed
◆ closng
◆ clsses
◆ coins
◆ cond
◆ ctext
◆ cval
◆ daltlc
◆ data_file
◆ datfd
◆ demo
◆ detail
◆ dflag
◆ dkill
◆ dloc
◆ door
◆ dprssn
◆ dragon
◆ dseen
◆ dtotal
◆ dwarf
◆ eggs
◆ emrald
◆ enter
◆ entrnc
◆ find
◆ fissur
◆ fixd
◆ fixed
◆ foobar
◆ food
◆ gaveup
◆ grate
◆ hinted
◆ hintlc
◆ hints
◆ hntmax
◆ holdng
◆ invent
◆ iwest
◆ k2
◆ keys
◆ knfloc
◆ knife
◆ kq
◆ lamp
◆ latncy
◆ limit
◆ linkx
◆ lmwarn
◆ loc
Referenced by at(), caveclose(), checkhints(), dark(), die(), dropper(), fdwarf(), here(), initialize_things_in_cave(), main(), march(), mback(), specials(), trbridge(), trdrop(), trfill(), trkill(), tropen(), trtake(), and trtoss().
◆ lock
◆ look
◆ ltext
◆ magzin
◆ maxdie
◆ maxtrs
◆ messag
◆ mirror
◆ mtext
◆ mxscor
◆ newloc
◆ nugget
◆ null
◆ numdie
◆ obj
◆ odloc
◆ oil
◆ oldlc2
◆ oldloc
◆ oyster
◆ pearl
◆ pillow
◆ plac
◆ place
Referenced by at(), carry(), die(), drop(), dropper(), fdwarf(), here(), juggle(), main(), move(), score(), toting(), trdrop(), trfill(), trkill(), and trtake().
◆ plant
◆ plant2
◆ pour
◆ prop
◆ ptext
◆ pyram
◆ rod
◆ rod2
◆ rtext
◆ rug
◆ saved
◆ savet
◆ say
◆ scorng
◆ setbit
◆ snake
◆ spices
◆ spk
◆ steps
◆ stext
◆ stick
◆ stream
◆ tablet
◆ tally
◆ tally2
◆ throw
◆ tk
◆ tkk
◆ travel
◆ tridnt
◆ troll
◆ troll2
◆ turns
◆ vase
◆ vend
◆ verb
◆ voc
◆ water
◆ wd1
◆ wd2
◆ wzdark
◆ yea