summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjdc <jdc@pkgsrc.org>2000-08-29 10:09:43 +0000
committerjdc <jdc@pkgsrc.org>2000-08-29 10:09:43 +0000
commitc0f5978e059bbed94523fdda325461024e342465 (patch)
treea7aad391e9fbfff2fe4ce89f80c5d55a2907951e /games
parentfe63671277c10a7314f9f0081ac8a00a0997f29e (diff)
downloadpkgsrc-c0f5978e059bbed94523fdda325461024e342465.tar.gz
netmze-0.81 - X windows-based multiplayer combat game (like Midi Maze)
Netmaze is a multiplayer combat game (like the Atari Midi Maze game) You play in a virtual maze and the goal of the game is to hunt down your opponents. The view is full animated 3D. On fast machines, you can even run it with texture mapping for the walls and floor. There are also three robot players of varying ability.
Diffstat (limited to 'games')
-rw-r--r--games/netmaze/Makefile19
-rw-r--r--games/netmaze/files/md53
-rw-r--r--games/netmaze/files/patch-sum13
-rw-r--r--games/netmaze/patches/patch-aa36
-rw-r--r--games/netmaze/patches/patch-ab40
-rw-r--r--games/netmaze/patches/patch-ac13
-rw-r--r--games/netmaze/patches/patch-ad31
-rw-r--r--games/netmaze/patches/patch-ae31
-rw-r--r--games/netmaze/patches/patch-af13
-rw-r--r--games/netmaze/patches/patch-ag28
-rw-r--r--games/netmaze/patches/patch-ah28
-rw-r--r--games/netmaze/patches/patch-ai29
-rw-r--r--games/netmaze/patches/patch-aj92
-rw-r--r--games/netmaze/patches/patch-ak65
-rw-r--r--games/netmaze/pkg/COMMENT1
-rw-r--r--games/netmaze/pkg/DESCR7
-rw-r--r--games/netmaze/pkg/PLIST11
17 files changed, 460 insertions, 0 deletions
diff --git a/games/netmaze/Makefile b/games/netmaze/Makefile
new file mode 100644
index 00000000000..eef6839d205
--- /dev/null
+++ b/games/netmaze/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
+
+DISTNAME= netmaze0.81
+PKGNAME= netmaze-0.81
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/multiplayer/}
+
+MAINTAINER= jdc@netbsd.org
+
+USE_IMAKE= yes
+
+WRKSRC= ${WRKDIR}/netmaze
+
+post-patch:
+ ${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.bak
+ ${SED} -e 's|@X11LIBS@|-Wl,-R${X11BASE}/lib|g' \
+ < ${WRKSRC}/Imakefile.bak > ${WRKSRC}/Imakefile
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/netmaze/files/md5 b/games/netmaze/files/md5
new file mode 100644
index 00000000000..b69a06c8956
--- /dev/null
+++ b/games/netmaze/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
+
+MD5 (netmaze0.81.tar.gz) = 4fc906f82dcfeb9e10fa234331407d62
diff --git a/games/netmaze/files/patch-sum b/games/netmaze/files/patch-sum
new file mode 100644
index 00000000000..47ba16363cb
--- /dev/null
+++ b/games/netmaze/files/patch-sum
@@ -0,0 +1,13 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
+
+MD5 (patch-aa) = 82cd096ea5179053ccd96bd2ae3e81cb
+MD5 (patch-ab) = d373fa44c762998486cfb2c0d1117927
+MD5 (patch-ac) = 6b5bd896f70cb8d0f12fa31c94f5d166
+MD5 (patch-ad) = acdd8f55f79ac42014d103bd4fe368bc
+MD5 (patch-ae) = 00b865ac38efba7cfe6c91902fd07c9b
+MD5 (patch-af) = bd158a413ce04b815cba82cee9593753
+MD5 (patch-ag) = ea4f2b1334d4e3833781a92e1349ac8e
+MD5 (patch-ah) = b2cb9cf44df651a24377dc6a77dc45bf
+MD5 (patch-ai) = a47e862162a529c10024ab5a1436e0cb
+MD5 (patch-aj) = 0590b15fdc84382c5b905885b6fdab3b
+MD5 (patch-ak) = 32d0631e8bbada31c377665f26984657
diff --git a/games/netmaze/patches/patch-aa b/games/netmaze/patches/patch-aa
new file mode 100644
index 00000000000..b1d5b82921d
--- /dev/null
+++ b/games/netmaze/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/29 10:09:46 jdc Exp $
+
+--- Imakefile.dist Wed Apr 13 12:27:08 1994
++++ Imakefile Fri Mar 3 15:52:25 2000
+@@ -1,5 +1,5 @@
+ #CC = gcc
+-LOCAL_LIBRARIES = $(XLIB) -lm
++LOCAL_LIBRARIES = @X11LIBS@ $(XLIB) -lm
+ EXTRA_DEFINES = -DSH_MEM
+ EXTRA_LOAD_FLAGS =
+
+@@ -13,14 +13,20 @@
+
+ OBJS2 = netserv.o maze.o
+
+-SRCS3 = follower.c dummy.c better.c allmove.c robot.c network.c maze.c
++OBJS3 = dummy.o allmove.o robot.o network.o maze.o
++
++OBJS4 = follower.o allmove.o robot.o network.o maze.o
++
++OBJS5 = better.o allmove.o robot.o network.o maze.o
+
+ PROGRAMS = netmaze netserv follower dummy betterbot
+
++MANSUFFIX = 6
++
+ ComplexProgramTarget_1 (netmaze, $(LOCAL_LIBRARIES),)
+ ComplexProgramTarget_2 (netserv, $(LOCAL_LIBRARIES),)
+-SingleProgramTarget(dummy,dummy.o allmove.o robot.o network.o maze.o,,)
+-SingleProgramTarget(follower,follower.o allmove.o robot.o network.o maze.o,,-lm)
+-SingleProgramTarget(betterbot,better.o allmove.o robot.o network.o maze.o,,-lm)
++ComplexProgramTarget_3(dummy,,)
++ComplexProgramTarget_4(follower,-lm,)
++ComplexProgramTarget_5(betterbot,-lm,)
+
+
diff --git a/games/netmaze/patches/patch-ab b/games/netmaze/patches/patch-ab
new file mode 100644
index 00000000000..2d75bcb7563
--- /dev/null
+++ b/games/netmaze/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
+
+--- config.h.dist Fri Apr 15 21:51:44 1994
++++ config.h Tue Feb 29 14:28:44 2000
+@@ -4,12 +4,16 @@
+ */
+
+ /* #define HPUX 1 */
+-#define SunOS4 1
++/* #define SunOS4 1 */
+ /* #define IRIX 1 */
+ /* #define Linux 1 */
+ /* #define RS6000 1 */ /* look at CREDITS */
+ /* #define NeXT 1 */ /* look at CREDITS */
+
++#if (sun && SVR4)
++#define Solaris2 1
++#endif
++
+ /* #define USE_SOUND 1 */
+
+ /* set the paths, according to your environment: */
+@@ -20,7 +24,7 @@
+ * Setup machinedepend configuration
+ */
+
+-#if (IRIX || SunOS4 || HPUX || Linux || RS6000 || NeXT)
++#if (IRIX || SunOS4 || HPUX || Linux || RS6000 || NeXT || BSD || Solaris2)
+ # define ITIMERVAL
+ #else
+ # undef ITIMERVAL /* not on all machines available */
+@@ -39,7 +43,7 @@
+ # define HAVE_FDSET
+ # define USE_IPC
+ #else
+-# if (IRIX)
++# if (IRIX || BSD || Solaris2)
+ # define HAVE_FDSET
+ # else
+ # undef HAVE_FDSET
diff --git a/games/netmaze/patches/patch-ac b/games/netmaze/patches/patch-ac
new file mode 100644
index 00000000000..9d1904c2ff8
--- /dev/null
+++ b/games/netmaze/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- iocntl.c.dist Mon Mar 21 21:42:49 1994
++++ iocntl.c Fri Jan 7 11:28:43 2000
+@@ -63,7 +63,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&vec.sa_mask);
+ #else
+- vec.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ vec.sa_flags = 0;
+ if ( sigaction(SIGIO, &vec, (struct sigaction *) 0) == -1)
diff --git a/games/netmaze/patches/patch-ad b/games/netmaze/patches/patch-ad
new file mode 100644
index 00000000000..028ffe07812
--- /dev/null
+++ b/games/netmaze/patches/patch-ad
@@ -0,0 +1,31 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- netmaze.c.dist Fri Apr 15 21:34:04 1994
++++ netmaze.c Fri Jan 7 11:35:04 2000
+@@ -32,7 +32,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/signal.h>
++#include <signal.h>
+ #include <sys/time.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+@@ -383,7 +383,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&vec.sa_mask);
+ #else
+- vec.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ vec.sa_flags = 0;
+ if ( sigaction(SIGALRM, &vec, &ovec) == -1) perror("SIGALRM\n");
+@@ -412,7 +412,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&vec.sa_mask);
+ #else
+- vec.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ vec.sa_flags = 0;
+ if ( sigaction(SIGCHLD, &vec, NULL) == -1) perror("SIGCHLD\n");
diff --git a/games/netmaze/patches/patch-ae b/games/netmaze/patches/patch-ae
new file mode 100644
index 00000000000..7798f3f55e1
--- /dev/null
+++ b/games/netmaze/patches/patch-ae
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- netserv.c.dist Sun Apr 10 11:07:23 1994
++++ netserv.c Fri Mar 3 15:07:05 2000
+@@ -629,7 +629,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&vec1.sa_mask);
+ #else
+- vec1.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ vec1.sa_flags = 0;
+ if ( sigaction(SIGALRM, &vec1, (struct sigaction *) 0) == -1) perror("SIGALRM\n");
+@@ -652,7 +652,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&svec1.sa_mask);
+ #else
+- svec1.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ svec1.sa_flags = 0;
+ if(sigaction(SIGCHLD,&svec1,(struct sigaction *)0) == -1) perror("SIGCHLD\n");
+@@ -914,7 +914,7 @@
+ char *saddr = (char *) &(((struct sockaddr_in *) &(q->remoteaddr))->sin_addr.s_addr);
+ hp = gethostbyaddr(saddr,4,AF_INET);
+
+- if(strlen(hp->h_name) > 0)
++ if(hp && strlen(hp->h_name) > 0)
+ strcpy(name,hp->h_name);
+ else
+ sprintf(name,"%d.%d.%d.%d",(int) saddr[0],(int) saddr[1],(int) saddr[2],(int) saddr[3]);
diff --git a/games/netmaze/patches/patch-af b/games/netmaze/patches/patch-af
new file mode 100644
index 00000000000..751fb95c964
--- /dev/null
+++ b/games/netmaze/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- robot.c.dist Tue Mar 22 11:06:17 1994
++++ robot.c Fri Jan 7 11:38:30 2000
+@@ -97,7 +97,7 @@
+ #ifdef RS6000 /* ibm rs/6000 */
+ sigemptyset(&vec.sa_mask);
+ #else
+- vec.sa_mask = 0;
++ (void)sigprocmask (SIG_SETMASK, 0, NULL);
+ #endif
+ vec.sa_flags = 0;
+ if ( sigaction(SIGIO, &vec, (struct sigaction *) 0) == -1)
diff --git a/games/netmaze/patches/patch-ag b/games/netmaze/patches/patch-ag
new file mode 100644
index 00000000000..22e4c052012
--- /dev/null
+++ b/games/netmaze/patches/patch-ag
@@ -0,0 +1,28 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- /dev/null Thu Feb 10 12:33:49 2000
++++ betterbot.man Wed Feb 9 16:36:44 2000
+@@ -0,0 +1,23 @@
++.TH BETTERBOT 6 "08 January, 2000" "X Version 11"
++.SH NAME
++
++betterbot \-robot client for X windows multiplayer combat game
++
++.SH SYNOPSIS
++
++.B betterbot
++[ servername ]
++
++.SH DESCRIPTION
++
++.I betterbot
++is a simple robot client for the multiplayer combat game.
++This Smiley is quite intelligent.
++
++.SH SEE ALSO
++
++dummy (6), follower (6), netmaze (6), netserv (6)
++
++.SH AUTHORS
++
++Jens Kurlanda, Benjamin Baermann
diff --git a/games/netmaze/patches/patch-ah b/games/netmaze/patches/patch-ah
new file mode 100644
index 00000000000..68d8c9dbf4d
--- /dev/null
+++ b/games/netmaze/patches/patch-ah
@@ -0,0 +1,28 @@
+$NetBSD: patch-ah,v 1.1.1.1 2000/08/29 10:09:44 jdc Exp $
+
+--- /dev/null Thu Feb 10 12:33:49 2000
++++ dummy.man Wed Feb 9 16:36:47 2000
+@@ -0,0 +1,23 @@
++.TH DUMMY 6 "08 January 2000" "X Version 11"
++.SH NAME
++
++dummy \- robot client for X windows multiplayer combat game
++
++.SH SYNOPSIS
++
++.B dummy
++[ servername ]
++
++.SH DESCRIPTION
++
++.I dummy
++is a simple robot client for the multiplayer combat game.
++This Smiley circles round shooting randomly.
++
++.Sh SEE ALSO
++
++betterbot (6), follower (6), netmaze (6) netserv (6)
++
++.SH AUTHOR
++
++M.Hipp
diff --git a/games/netmaze/patches/patch-ai b/games/netmaze/patches/patch-ai
new file mode 100644
index 00000000000..4629ff826bf
--- /dev/null
+++ b/games/netmaze/patches/patch-ai
@@ -0,0 +1,29 @@
+$NetBSD: patch-ai,v 1.1.1.1 2000/08/29 10:09:46 jdc Exp $
+
+--- /dev/null Thu Feb 10 12:33:49 2000
++++ follower.man Wed Feb 9 16:36:54 2000
+@@ -0,0 +1,24 @@
++.TH FOLLOWER 6 "08 January 2000" "X Version 11"
++.SH NAME
++
++follower \- robot client for X windows multiplayer combat game
++
++.SH SYNOPSIS
++
++.B follower
++[ servername ]
++
++.SH DESCRIPTION
++
++.I follower
++is a robot client for the multiplayer combat game.
++This Smiley will follow any other Smiley that it notices and
++shoot at it.
++
++.SH SEE ALSO
++
++betterbot (6), dummy (6), netmaze (6), netserv (6)
++
++.SH AUTHOR
++
++Mike Roderick
diff --git a/games/netmaze/patches/patch-aj b/games/netmaze/patches/patch-aj
new file mode 100644
index 00000000000..4e217178996
--- /dev/null
+++ b/games/netmaze/patches/patch-aj
@@ -0,0 +1,92 @@
+$NetBSD: patch-aj,v 1.1.1.1 2000/08/29 10:09:46 jdc Exp $
+
+--- /dev/null Fri Mar 3 10:11:40 2000
++++ netmaze.man Fri Mar 3 14:45:39 2000
+@@ -0,0 +1,87 @@
++.TH NETMAZE 6 "08 January 2000" "X Version 11"
++.SH NAME
++
++netmaze \- client for X windows multiplayer combat game
++
++.SH SYNOPSIS
++
++.B netmaze
++[ -s|-server servername ]
++[ -h!-help ]
++[ -name combatname ]
++[ -tiny|-small|-huge|-big ]
++[ -mono|-gray|-dither ]
++[ -map ]
++[ -camera ]
++[ -comment comment ]
++[ -nowait ]
++[ -sound ]
++[ -texture ]
++
++.SH DESCRIPTION
++.I netmaze
++is the client for the multiplayer combat game.
++.PP
++The program options are:
++.DT
++.Ta \w'-tiny|-small|-huge|-big\ \ \ 'u
++.br
++-s|-server Select the server host name
++.br
++-h!-help Display the help message
++.br
++-name Set the combat name
++.br
++-tiny|-small|-big|-huge Select a different screensize
++.br
++-mono|-gray|-dither Select mono, greyscale or dither mode for the Smiley
++.br
++-map Enables the rotatemap
++.br
++-camera Connect to server in camera mode
++.br
++-comment Sets the comment when you kill someone
++.br
++-nowait Disable the select-timeout (test)
++.br
++-sound Enable sound (if compiled with USE_SOUND)
++.br
++-texture Enable texture mode (needs at least 8bit colour)
++.PP
++The keys to control the Smiley are:
++.DT
++.Ta \w'cursor right\ \ \ 'u
++.br
++cursor-up Move Smiley forward
++.br
++cursor-down Move Smiley backward
++.br
++cursor-left Rotate Smiley left
++.br
++cursor-right Rotate Smiley right
++.br
++shift+left Slow rotate left
++.br
++shift+right Slow rotate right
++.br
++l Enable/disable locator
++.br
++c Make Smiley invisible (if allowed by server)
++.br
++m Enable/Disable newstyle map (with radar)
++.br
++return Enable/Disable radar for newstylemap (if allowed by server)
++.br
++p Switch view
++.br
++j Switch joystick (only solomode)
++.br
++Q Quit game
++
++.SH SEE ALSO
++
++betterbot (6), dummy (6), follower (6), netserv (6)
++
++.SH AUTHOR
++
++M.Hipp
diff --git a/games/netmaze/patches/patch-ak b/games/netmaze/patches/patch-ak
new file mode 100644
index 00000000000..03e99f68a81
--- /dev/null
+++ b/games/netmaze/patches/patch-ak
@@ -0,0 +1,65 @@
+$NetBSD: patch-ak,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
+
+--- /dev/null Fri Mar 3 10:11:40 2000
++++ netserv.man Fri Mar 3 14:45:52 2000
+@@ -0,0 +1,60 @@
++.Th NETSERV 6 "08 January 2000" "X Version 11"
++.SH NAME
++
++netserv \- server for X windows multiplayer combat game
++
++.SH SYNOPSIS
++
++.B netserv
++[ -h|-help ]
++[ -exmenu external-menu-program ]
++[ -nowait ]
++
++.SH DESCRIPTION
++.I netserv
++is the server for the multiplayer combat game.
++.PP
++The program options are:
++.DT
++
++.ta \w'-h!-help\ \ \ 'u
++.It Option Meaning
++.br
++-h!-help
++Display the help message
++.br
++-exmenu
++Control with an external menu the combat name
++.br
++-nowait
++server shouldn't wait for clients (for very slow lines)
++.El
++.PP
++The keys to control the server are:
++.DT
++.ta \w'1\ \ \ 'u
++.br
++1 Reinit/Load a maze (rndmaze: 1 <size> <maxlen>)
++.br
++2 Start game (with teams)
++.br
++3 Stop a running game
++.br
++4 List connections
++.br
++5 Shutdown connection
++.br
++6 Enable extended gamemode
++.br
++7 Change 'beat' divider (default: 1)
++.br
++9 Quit
++.El
++
++.SH SEE ALSO
++
++betterbot (6), dummy (6), follower (6), netmaze (6)
++
++.SH AUTHOR
++
++.An M.Hipp
diff --git a/games/netmaze/pkg/COMMENT b/games/netmaze/pkg/COMMENT
new file mode 100644
index 00000000000..68447333edd
--- /dev/null
+++ b/games/netmaze/pkg/COMMENT
@@ -0,0 +1 @@
+X windows-based multiplayer combat game (like Midi Maze)
diff --git a/games/netmaze/pkg/DESCR b/games/netmaze/pkg/DESCR
new file mode 100644
index 00000000000..6de14940354
--- /dev/null
+++ b/games/netmaze/pkg/DESCR
@@ -0,0 +1,7 @@
+Netmaze is a multiplayer combat game (like the Atari Midi Maze game)
+
+You play in a virtual maze and the goal of the game is to hunt down your
+opponents. The view is full animated 3D. On fast machines, you can even
+run it with texture mapping for the walls and floor.
+
+There are also three robot players of varying ability.
diff --git a/games/netmaze/pkg/PLIST b/games/netmaze/pkg/PLIST
new file mode 100644
index 00000000000..dace5b3fa98
--- /dev/null
+++ b/games/netmaze/pkg/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/29 10:09:46 jdc Exp $
+bin/betterbot
+bin/dummy
+bin/follower
+bin/netmaze
+bin/netserv
+man/cat6/betterbot.0
+man/cat6/dummy.0
+man/cat6/follower.0
+man/cat6/netmaze.0
+man/cat6/netserv.0