diff options
| author | jsm <jsm@NetBSD.org> | 2000-09-17 23:03:43 +0000 |
|---|---|---|
| committer | jsm <jsm@NetBSD.org> | 2000-09-17 23:03:43 +0000 |
| commit | e828812cad1edfdd4b4f01f93330a6421cd816ab (patch) | |
| tree | 068273b7573052a26c55c3b1e4cdc0ae75dc4392 /battlestar/extern.h | |
| parent | ac0e105a1cb81cab2f045dedc161f0b856985e6b (diff) | |
| download | bsdgames-darwin-e828812cad1edfdd4b4f01f93330a6421cd816ab.tar.gz bsdgames-darwin-e828812cad1edfdd4b4f01f93330a6421cd816ab.zip | |
Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op),
and "verbose"/"brief" (in verbose mode, always show long room
descriptions), and synonyms "papaya" for "papayas" and "coconut" for
"coconuts".
Diffstat (limited to 'battlestar/extern.h')
| -rw-r--r-- | battlestar/extern.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/battlestar/extern.h b/battlestar/extern.h index 055466bd..efd6366c 100644 --- a/battlestar/extern.h +++ b/battlestar/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.19 2000/09/09 09:37:58 jsm Exp $ */ +/* $NetBSD: extern.h,v 1.20 2000/09/17 23:03:43 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -187,6 +187,9 @@ #define BURY 1050 #define JUMP 1051 #define KICK 1052 +#define OPEN 1053 +#define VERBOSE 1054 +#define BRIEF 1055 /* injuries */ #define ARM 6 /* broken arm */ @@ -284,6 +287,7 @@ extern unsigned int inven[NUMOFWORDS]; extern unsigned int wear[NUMOFWORDS]; extern char beenthere[NUMOFROOMS + 1]; extern char injuries[NUMOFINJURIES]; +extern int verbose; extern const char *username; @@ -317,6 +321,7 @@ int cypher __P((void)); void die __P((void)) __attribute__((__noreturn__)); void diesig __P((int)) __attribute__((__noreturn__)); void dig __P((void)); +void dooropen __P((void)); int draw __P((void)); void drink __P((void)); int drive __P((void)); |
