summaryrefslogtreecommitdiff
path: root/games/hack/hack.cmd.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-06 22:59:14 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-06 22:59:14 +0000
commitfd84030e113cfc21538f46f52601e75d11d7cd46 (patch)
treefbb40ee2d238fafdbc28bc69fc3a2c9946ac7f2b /games/hack/hack.cmd.c
parentae0bab4889690c7680ac2b500763a7cadd471d12 (diff)
Nothing but comments after #endif and #else; heko@iki.fi
Diffstat (limited to 'games/hack/hack.cmd.c')
-rw-r--r--games/hack/hack.cmd.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/hack/hack.cmd.c b/games/hack/hack.cmd.c
index c8a536575f4..6841f84030d 100644
--- a/games/hack/hack.cmd.c
+++ b/games/hack/hack.cmd.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: hack.cmd.c,v 1.3 2001/01/28 23:41:43 niklas Exp $ */
+/* $OpenBSD: hack.cmd.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.cmd.c,v 1.3 2001/01/28 23:41:43 niklas Exp $";
+static char rcsid[] = "$OpenBSD: hack.cmd.c,v 1.4 2001/08/06 22:59:13 pjanzen Exp $";
#endif /* not lint */
#include "hack.h"
@@ -19,10 +19,10 @@ doprring(),doprgold(),dodiscovered(),dotypeinv(),dolook(),doset(),
doup(), dodown(), done1(), donull(), dothrow(), doextcmd(), dodip(), dopray();
#ifdef SHELL
int dosh();
-#endif SHELL
+#endif /* SHELL */
#ifdef SUSPEND
int dosuspend();
-#endif SUSPEND
+#endif /* SUSPEND */
struct func_tab cmdlist[]={
'\020', doredotopl,
@@ -30,7 +30,7 @@ struct func_tab cmdlist[]={
'\024', dotele,
#ifdef SUSPEND
'\032', dosuspend,
-#endif SUSPEND
+#endif /* SUSPEND */
'a', doapply,
/* 'A' : UNUSED */
/* 'b', 'B' : go sw */
@@ -73,7 +73,7 @@ struct func_tab cmdlist[]={
'?', dohelp,
#ifdef SHELL
'!', dosh,
-#endif SHELL
+#endif /* SHELL */
'.', donull,
' ', donull,
',', dopickup,
@@ -134,7 +134,7 @@ register char *cmd;
u.ux0 = u.ux + u.dx;
u.uy0 = u.uy + u.dy;
}
-#endif QUEST
+#endif /* QUEST */
domove();
return;
}
@@ -163,7 +163,7 @@ register char *cmd;
if(cmd[2] == '-') flags.run += 1;
goto rush;
}
-#endif QUEST
+#endif /* QUEST */
while(tlist->f_char) {
if(*cmd == tlist->f_char){
res = (*(tlist->f_funct))();
@@ -301,7 +301,7 @@ isroom(x,y) register x,y; { /* what about POOL? */
return(isok(x,y) && (levl[x][y].typ == ROOM ||
(levl[x][y].typ >= LDOOR && flags.run >= 6)));
}
-#endif QUEST
+#endif /* QUEST */
isok(x,y) register x,y; {
/* x corresponds to curx, so x==1 is the first column. Ach. %% */