-/* $NetBSD: zap.c,v 1.3 1995/04/22 10:28:41 cgd Exp $ */
+/* $NetBSD: zap.c,v 1.4 1997/10/12 11:46:15 lukem Exp $ */
/*
* Copyright (c) 1988, 1993
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)zap.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: zap.c,v 1.3 1995/04/22 10:28:41 cgd Exp $";
+__RCSID("$NetBSD: zap.c,v 1.4 1997/10/12 11:46:15 lukem Exp $");
#endif
#endif /* not lint */
boolean wizard = 0;
-extern boolean being_held, score_only, detect_monster;
-extern short cur_room;
-
+void
zapp()
{
short wch;
object *
get_zapped_monster(dir, row, col)
-short dir;
-short *row, *col;
+ short dir;
+ short *row, *col;
{
short orow, ocol;
}
}
+void
zap_monster(monster, kind)
-object *monster;
-unsigned short kind;
+ object *monster;
+ unsigned short kind;
{
short row, col;
object *nm;
}
}
+void
tele_away(monster)
-object *monster;
+ object *monster;
{
short row, col;
}
}
+void
wizardize()
{
char buf[100];
}
}
+void
wdrain_life(monster)
-object *monster;
+ object *monster;
{
short hp;
object *lmon, *nm;
relight();
}
+void
bounce(ball, dir, row, col, r)
-short ball, dir, row, col, r;
+ short ball, dir, row, col, r;
{
short orow, ocol;
char buf[DCOLS], *s;