diff options
Diffstat (limited to 'larn/movem.c')
-rw-r--r-- | larn/movem.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/larn/movem.c b/larn/movem.c index 99336abe..6625a187 100644 --- a/larn/movem.c +++ b/larn/movem.c @@ -1,4 +1,4 @@ -/* $NetBSD: movem.c,v 1.6 2008/01/28 05:38:54 dholland Exp $ */ +/* $NetBSD: movem.c,v 1.7 2009/08/12 08:04:05 dholland Exp $ */ /* * movem.c (move monster) Larn is copyrighted 1986 by Noah Morgan. @@ -12,12 +12,16 @@ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: movem.c,v 1.6 2008/01/28 05:38:54 dholland Exp $"); +__RCSID("$NetBSD: movem.c,v 1.7 2009/08/12 08:04:05 dholland Exp $"); #endif /* not lint */ #include "header.h" #include "extern.h" +static void movemt(int, int); +static void mmove(int, int, int, int); +static void movsphere(void); + /* * movemonst() Routine to move the monsters toward the player * @@ -127,7 +131,7 @@ movemonst() * Returns no value. */ static int tmpitem, xl, xh, yl, yh; -void +static void movemt(i, j) int i, j; { @@ -269,7 +273,7 @@ out: if (tmp < distance) /* did find connectivity */ * Enter with the from coordinates in (x,y) and the destination coordinates * in (xd,yd). */ -void +static void mmove(aa, bb, cc, dd) int aa, bb, cc, dd; { @@ -402,7 +406,7 @@ mmove(aa, bb, cc, dd) */ #define SPHMAX 20 /* maximum number of spheres movsphere can * handle */ -void +static void movsphere() { int x, y, dir, len; |