diff options
Diffstat (limited to 'hunt/huntd/shots.c')
-rw-r--r-- | hunt/huntd/shots.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/hunt/huntd/shots.c b/hunt/huntd/shots.c index 7094dded..d028445f 100644 --- a/hunt/huntd/shots.c +++ b/hunt/huntd/shots.c @@ -1,4 +1,4 @@ -/* $NetBSD: shots.c,v 1.4 2003/06/11 12:00:23 wiz Exp $ */ +/* $NetBSD: shots.c,v 1.5 2004/01/27 20:30:29 jsm Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: shots.c,v 1.4 2003/06/11 12:00:23 wiz Exp $"); +__RCSID("$NetBSD: shots.c,v 1.5 2004/01/27 20:30:29 jsm Exp $"); #endif /* not lint */ # include <err.h> @@ -43,21 +43,21 @@ __RCSID("$NetBSD: shots.c,v 1.4 2003/06/11 12:00:23 wiz Exp $"); # define PLUS_DELTA(x, max) if (x < max) x++; else x-- # define MINUS_DELTA(x, min) if (x > min) x--; else x++ -static void chkshot __P((BULLET *, BULLET *)); -static void chkslime __P((BULLET *, BULLET *)); -static void explshot __P((BULLET *, int, int)); -static void find_under __P((BULLET *, BULLET *)); -static int iswall __P((int, int)); -static void mark_boot __P((BULLET *)); -static void mark_player __P((BULLET *)); +static void chkshot(BULLET *, BULLET *); +static void chkslime(BULLET *, BULLET *); +static void explshot(BULLET *, int, int); +static void find_under(BULLET *, BULLET *); +static int iswall(int, int); +static void mark_boot(BULLET *); +static void mark_player(BULLET *); #ifdef DRONE -static void move_drone __P((BULLET *)); +static void move_drone(BULLET *); #endif -static void move_flyer __P((PLAYER *)); -static int move_normal_shot __P((BULLET *)); -static void move_slime __P((BULLET *, int, BULLET *)); -static void save_bullet __P((BULLET *)); -static void zapshot __P((BULLET *, BULLET *)); +static void move_flyer(PLAYER *); +static int move_normal_shot(BULLET *); +static void move_slime(BULLET *, int, BULLET *); +static void save_bullet(BULLET *); +static void zapshot(BULLET *, BULLET *); /* * moveshots: |