diff options
author | agc <agc@pkgsrc.org> | 2001-04-27 15:27:30 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-04-27 15:27:30 +0000 |
commit | dc08309f80881a990abf850361df242f7f3aab3c (patch) | |
tree | ebfd163c1446b7fd3b971894066499b0c12fb552 /games/ularn/patches/patch-ba | |
parent | f03393a1685494fd69c2bc1b00cabe6e8cd5cfee (diff) | |
download | pkgsrc-dc08309f80881a990abf850361df242f7f3aab3c.tar.gz |
Initial import of ularn-6.12.92 into the packages collection.
Provided in PR 12072 by Ben Collver (collver@linuxfreemail.com).
Ularn is a fantasy games in which your child has contracted a strange dis-
ease, and none of your home remedies seem to have any effect. You set
out to find a remedy in a limited amount of time, and to collect gold
along the way of course!
Ularn is based on larn, and adds the concept of character classes.
Diffstat (limited to 'games/ularn/patches/patch-ba')
-rw-r--r-- | games/ularn/patches/patch-ba | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games/ularn/patches/patch-ba b/games/ularn/patches/patch-ba new file mode 100644 index 00000000000..72e16079bb0 --- /dev/null +++ b/games/ularn/patches/patch-ba @@ -0,0 +1,50 @@ +$NetBSD: patch-ba,v 1.1.1.1 2001/04/27 15:27:31 agc Exp $ + +--- sphere.c.orig Sat Jan 13 21:04:38 2001 ++++ sphere.c Sat Jan 13 21:07:29 2001 +@@ -1,4 +1,5 @@ + /* sphere.c */ ++#include <stdlib.h> + #include "header.h" + #include "monst.h" + #include "player.h" +@@ -28,9 +29,8 @@ + * Enter with the coordinates of the sphere in x,y + * the direction (0-8 diroffx format) in dir, and the lifespan of the + * sphere in lifetime (in turns) +- * Returns the number of spheres currently in existence + */ +-newsphere (x, y, dir, life) ++void newsphere (x, y, dir, life) + int x, y, dir, life; + { + int m,i; +@@ -131,9 +131,8 @@ + * int x,y; + * + * Enter with the coordinates of the sphere (on current level) +- * Returns the number of spheres currently in existence + */ +-rmsphere (x, y) ++void rmsphere (x, y) + int x, y; + { + struct sphere *sp,*sp2=(struct sphere *)NULL; +@@ -167,7 +166,7 @@ + * + * Enter with the coordinates of the blast, Returns no value + */ +-sphboom (x, y) ++void sphboom (x, y) + int x, y; + { + int i,j,k; +@@ -202,7 +201,7 @@ + * No value is returned. + */ + #define SPHMAX 20 /* maximum number of spheres movsphere can handle */ +-movsphere() ++void movsphere(void) + { + int x,y,dir,len; + struct sphere *sp,*sp2; |