#include <string.h>#include <stdio.h>#include "advent.h"#include "advdec.h"#include "advtext.h"Include dependency graph for database.c:

Go to the source code of this file.
Functions | |
| _PROTOTYPE (void rdupto,(FILE *, int, int, char *)) | |
| _PROTOTYPE (void rdskip,(FILE *, int, int)) | |
| void | rdupto (FILE *fdi, int uptoc, int print, char *string) |
| void | rdskip (FILE *fdi, int skipc, int n) |
| boolean | yes (int msg1, int msg2, int msg3) |
| void | rspeak (int msg) |
| void | pspeak (int item, int state) |
| void | desclg (int loc) |
| void | descsh (int loc) |
Variables | |
| static char | oline [256] |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 124 of file database.c. References fd1, fseek(), and rdupto(). Referenced by describe(), turn(), and vlook(). |
|
|
Definition at line 135 of file database.c. References fd2, fseek(), and rdupto(). Referenced by describe(). |
|
||||||||||||
|
Definition at line 110 of file database.c. References FALSE, fd3, fseek(), oline, printf, rdskip(), rdupto(), and strncmp(). Referenced by inventory(), ivfoo(), lookin(), spcmove(), turn(), vdrop(), vinsert(), vkill(), vpour(), vtake(), and vwave(). |
|
||||||||||||||||
|
Definition at line 51 of file database.c. References bug(), c, EOF, and getc. Referenced by pspeak(). |
|
||||||||||||||||||||
|
Definition at line 18 of file database.c. |
|
|
Definition at line 95 of file database.c. References fd4, fseek(), printf, and rdupto(). Referenced by actspk(), badmove(), check_next(), death(), describe(), do_battle(), domove(), doobj(), dwarfend(), dwarves(), english(), goback(), inventory(), itverb(), ivblast(), ivbrief(), ivcombo(), ivfoo(), ivkill(), ivlook(), lookin(), main(), spcmove(), stimer(), trverb(), turn(), vanswer(), vblow(), vbreak(), vclose(), vdial(), vdrink(), vdrop(), vextract(), vfeed(), vfill(), vfind(), vhit(), vinsert(), vkill(), vlock(), vlook(), voff(), von(), vopen(), vpick(), vplay(), vpour(), vput(), vread(), vtake(), vthrow(), vturn(), vunlock(), vwake(), vwave(), vwear(), vyank(), and yes(). |
|
||||||||||||||||
|
Definition at line 67 of file database.c. References answer, ask(), FALSE, fputs(), INPUTBUFLEN, rspeak(), stdout, and TRUE. Referenced by chkdots(), chkentry(), chkilist(), chkmap(), chksymlinkzone(), chkword(), counterror(), death(), descendtree(), do_hint(), ivquit(), lsi(), lsuper(), main(), Remove(), vkill(), vread(), and vtake(). |
|
|
Definition at line 9 of file database.c. Referenced by pspeak(). |
1.4.6