1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

X3D single/multiplayer military soccer game for X Window System.

PR:		11362
Submitted by:   Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Satoshi Taoka 1999-05-01 02:38:12 +00:00
parent 81ee783ff8
commit 7de835b2f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18273
6 changed files with 75 additions and 0 deletions

30
games/battleball/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: battleball
# Version required: 2.0
# Date created: 18 December 1998
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= battleball.20.src
PKGNAME= battleball-2.0
CATEGORIES= games
MASTER_SITES= http://www.cs.utexas.edu/users/pahardin/
MAINTAINER= andy@icc.surw.chel.su
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/bb-2.0
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/battleball
.for file in CHANGELOG README
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/battleball
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (battleball.20.src.tar.gz) = fd23bc6529d04608e21cb8bfb1b04d73

View File

@ -0,0 +1,22 @@
--- bb/main.C Thu Oct 9 16:03:25 1997
+++ /home/andy/tmp/wrk/bb/main.C Wed Dec 16 23:34:59 1998
@@ -16,6 +16,9 @@
#include <stdio.h> // to get sprintf()
#include <string.h> // to get strncpy()
#include <time.h> // to get time(time_t *)
+#ifdef __FreeBSD__
+#include <floatingpoint.h>
+#endif
#include "bb.h"
#include "player.h"
@@ -818,6 +821,9 @@
// A long and complicated main() function!
main (int argc, char *argv[]) {
+#ifdef __FreeBSD__
+ fpsetmask(0);
+#endif
battleBall bb(argc,argv);
bb.Play();
}

View File

@ -0,0 +1 @@
3D single/multiplayer military soccer game for X Window System.

View File

@ -0,0 +1,17 @@
BattleBall is essentially the game of soccer, played with military
vehicles rather than with people. Each player drives a tank or flies
a helicopter, and tries to move the ball down the playfield to the
other team's goal. In BattleBall, the teams' "goals" are their
headquarters buildings, positioned at the ends of the playfield.
Hitting another team's headquarters building with the ball scores a
point, knocking the building over in the process. Yes, realism was
my ultimate goal in this game.
Players are organized into teams. Up to six teams can play at once, and
teams may have any combination of human and computer players. All teams
compete on the playfield simultaneously. To reduce disorientation and
chaos, players' vehicles are painted with their team's colors, and
headquarters buildings are marked with their team's insignia.
http://www.cs.utexas.edu/users/pahardin/bb.html

View File

@ -0,0 +1,4 @@
bin/battleball
share/doc/battleball/CHANGELOG
share/doc/battleball/README
@dirrm share/doc/battleball