diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-06 22:59:14 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-06 22:59:14 +0000 |
commit | fd84030e113cfc21538f46f52601e75d11d7cd46 (patch) | |
tree | fbb40ee2d238fafdbc28bc69fc3a2c9946ac7f2b /games/hack/hack.lev.c | |
parent | ae0bab4889690c7680ac2b500763a7cadd471d12 (diff) |
Nothing but comments after #endif and #else; heko@iki.fi
Diffstat (limited to 'games/hack/hack.lev.c')
-rw-r--r-- | games/hack/hack.lev.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/hack/hack.lev.c b/games/hack/hack.lev.c index 25710853d9b..1b3e85c5f49 100644 --- a/games/hack/hack.lev.c +++ b/games/hack/hack.lev.c @@ -1,11 +1,11 @@ -/* $OpenBSD: hack.lev.c,v 1.3 2001/01/28 23:41:44 niklas Exp $ */ +/* $OpenBSD: hack.lev.c,v 1.4 2001/08/06 22:59:13 pjanzen Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ #ifndef lint -static char rcsid[] = "$OpenBSD: hack.lev.c,v 1.3 2001/01/28 23:41:44 niklas Exp $"; +static char rcsid[] = "$OpenBSD: hack.lev.c,v 1.4 2001/08/06 22:59:13 pjanzen Exp $"; #endif /* not lint */ #include "hack.h" @@ -24,7 +24,7 @@ extern char nul[]; #include "def.wseg.h" extern struct wseg *wsegs[32], *wheads[32]; extern long wgrowtime[32]; -#endif NOWORM +#endif /* NOWORM */ boolean level_exists[MAXLEVEL+1]; @@ -35,7 +35,7 @@ xchar lev; #ifndef NOWORM register struct wseg *wtmp, *wtmp2; register tmp; -#endif NOWORM +#endif /* NOWORM */ if(fd < 0) panic("Save on bad file!"); /* impossible */ if(lev >= 0 && lev <= MAXLEVEL) @@ -59,7 +59,7 @@ xchar lev; #ifndef QUEST bwrite(fd,(char *) rooms,sizeof(rooms)); bwrite(fd,(char *) doors,sizeof(doors)); -#endif QUEST +#endif /* QUEST */ fgold = 0; ftrap = 0; fmon = 0; @@ -74,7 +74,7 @@ xchar lev; wsegs[tmp] = 0; } bwrite(fd,(char *) wgrowtime,sizeof(wgrowtime)); -#endif NOWORM +#endif /* NOWORM */ } bwrite(fd,loc,num) @@ -165,7 +165,7 @@ xchar lev; register struct trap *trap; #ifndef NOWORM register struct wseg *wtmp; -#endif NOWORM +#endif /* NOWORM */ register tmp; long omoves; int hpid; @@ -245,7 +245,7 @@ xchar lev; #ifndef QUEST mread(fd, (char *)rooms, sizeof(rooms)); mread(fd, (char *)doors, sizeof(doors)); -#endif QUEST +#endif /* QUEST */ #ifndef NOWORM mread(fd, (char *)wsegs, sizeof(wsegs)); for(tmp = 1; tmp < 32; tmp++) if(wsegs[tmp]){ @@ -258,7 +258,7 @@ xchar lev; } } mread(fd, (char *)wgrowtime, sizeof(wgrowtime)); -#endif NOWORM +#endif /* NOWORM */ } mread(fd, buf, len) |