summaryrefslogtreecommitdiffstats
path: root/adventure/hdr.h
diff options
context:
space:
mode:
authorjmc <jmc@NetBSD.org>2005-07-01 00:03:36 +0000
committerjmc <jmc@NetBSD.org>2005-07-01 00:03:36 +0000
commitdf8ac21ffab206d3f69612627f47e86356f11a4d (patch)
tree53c2a86c8829e3cccb6403422c6067a262f6e19c /adventure/hdr.h
parentf48342524980f49dfc1142b5a48b89ec593d7e11 (diff)
downloadbsdgames-darwin-df8ac21ffab206d3f69612627f47e86356f11a4d.tar.gz
bsdgames-darwin-df8ac21ffab206d3f69612627f47e86356f11a4d.tar.zst
bsdgames-darwin-df8ac21ffab206d3f69612627f47e86356f11a4d.zip
KNF and WARNS=3
Diffstat (limited to 'adventure/hdr.h')
-rw-r--r--adventure/hdr.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/adventure/hdr.h b/adventure/hdr.h
index 3843831c..43dee3ec 100644
--- a/adventure/hdr.h
+++ b/adventure/hdr.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hdr.h,v 1.10 2003/08/07 09:36:50 agc Exp $ */
+/* $NetBSD: hdr.h,v 1.11 2005/07/01 00:03:36 jmc Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -83,11 +83,10 @@ extern struct hashtab { /* hash table for vocabulary */
} voc[HTSIZE];
#define SEED 1815622 /* "Encryption" seed */
-struct text
- {
- char *seekadr;/* Msg start in virtual disk */
- int txtlen; /* length of msg starting here */
- };
+struct text {
+ char *seekadr;/* Msg start in virtual disk */
+ int txtlen; /* length of msg starting here */
+};
#define RTXSIZ 205
extern struct text rtext[RTXSIZ]; /* random text messages */
@@ -107,11 +106,11 @@ extern struct text ltext[LOCSIZ]; /* long loc description */
extern struct text stext[LOCSIZ]; /* short loc descriptions */
extern struct travlist { /* direcs & conditions of travel */
- struct travlist *next; /* ptr to next list entry */
- int conditions; /* m in writeup (newloc / 1000) */
- int tloc; /* n in writeup (newloc % 1000) */
- int tverb; /* the verb that takes you there */
- } *travel[LOCSIZ], *tkk; /* travel is closer to keys(...) */
+ struct travlist *next; /* ptr to next list entry */
+ int conditions; /* m in writeup (newloc / 1000) */
+ int tloc; /* n in writeup (newloc % 1000) */
+ int tverb; /* the verb that takes you there */
+} *travel[LOCSIZ], *tkk; /* travel is closer to keys(...) */
extern int atloc[LOCSIZ];
@@ -122,7 +121,7 @@ extern int actspk[35]; /* rtext msg for verb <n> */
extern int cond[LOCSIZ]; /* various condition bits */
- extern int setbit[16]; /* bit defn masks 1,2,4,... */
+extern int setbit[16]; /* bit defn masks 1,2,4,... */
extern int hntmax;
extern int hints[20][5]; /* info on hints */