pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/foobillard Initial import of foobillard 2.8. Pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5f959e97915
branches:  trunk
changeset: 461986:e5f959e97915
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Sep 25 04:41:39 2003 +0000

description:
Initial import of foobillard 2.8. Package imported from pkgsrc-wip.

Foobillard is a free OpenGL-billard game for Unix with realistic physics,
AI-player and many gametypes like pool carambol or snooker.

The following features are implemented:

    - wood paneled table with gold covers and gold diamonds
    - reflections on balls
    - shadow pixmaps
    - detail switching of balls according to distance
    - zoom in/out - hold right mousebutton
    - FOV +/- - hold right mousebutton + CTRL
    - rotate - hold left mousebutton
    - animated queue
    - simple billard rules for 8 and 9-ball
    - simple AI-Player
    - strength adjustment
    - eccentic hit adjustment (button2+Shift)
    - lensflare
    - commandline options
    - config file (~/.foobillardrc)
    - red green stereo !!!!
    - sound (using SDL)
    - network play

diffstat:

 games/foobillard/DESCR            |  23 +++++++++++++++++++++++
 games/foobillard/Makefile         |  32 ++++++++++++++++++++++++++++++++
 games/foobillard/PLIST            |  34 ++++++++++++++++++++++++++++++++++
 games/foobillard/distinfo         |   5 +++++
 games/foobillard/patches/patch-aa |  37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 131 insertions(+), 0 deletions(-)

diffs (151 lines):

diff -r f8d37df3a441 -r e5f959e97915 games/foobillard/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/foobillard/DESCR    Thu Sep 25 04:41:39 2003 +0000
@@ -0,0 +1,23 @@
+Foobillard is a free OpenGL-billard game for Unix with realistic physics,
+AI-player and many gametypes like pool carambol or snooker.
+
+The following features are implemented:
+
+    - wood paneled table with gold covers and gold diamonds
+    - reflections on balls
+    - shadow pixmaps
+    - detail switching of balls according to distance
+    - zoom in/out - hold right mousebutton
+    - FOV +/- - hold right mousebutton + CTRL
+    - rotate - hold left mousebutton
+    - animated queue
+    - simple billard rules for 8 and 9-ball
+    - simple AI-Player
+    - strength adjustment
+    - eccentic hit adjustment (button2+Shift)
+    - lensflare
+    - commandline options
+    - config file (~/.foobillardrc)
+    - red green stereo !!!!
+    - sound (using SDL)
+    - network play
diff -r f8d37df3a441 -r e5f959e97915 games/foobillard/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/foobillard/Makefile Thu Sep 25 04:41:39 2003 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/25 04:41:39 xtraeme Exp $
+#
+
+DISTNAME=      foobillard-2.8
+CATEGORIES=    games
+MASTER_SITES=  http://foobillard.sunsite.dk/dnl/
+
+MAINTAINER=    xtraeme%NetBSD.org@localhost
+HOMEPAGE=      http://foobillard.sunsite.dk/
+COMMENT=       Free OpenGL-billard game
+
+USE_BUILDLINK2=                yes
+USE_GMAKE=             yes
+USE_X11=               yes
+GNU_CONFIGURE=         yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
+CONFIGURE_ARGS+=       --enable-glut
+.include "../../graphics/glut/buildlink2.mk"
+.else
+CONFIGURE_ARGS+=       --enable-nvidia=no
+.include "../../devel/SDL/buildlink2.mk"
+.endif
+
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r f8d37df3a441 -r e5f959e97915 games/foobillard/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/foobillard/PLIST    Thu Sep 25 04:41:39 2003 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/25 04:41:39 xtraeme Exp $
+bin/foobillard
+share/foobillard/ball_ball.raw
+share/foobillard/blende.png
+share/foobillard/bluebold.ttf
+share/foobillard/bumpref.png
+share/foobillard/cue_shadow.png
+share/foobillard/foobillard.gif
+share/foobillard/foobillard.png
+share/foobillard/full_symbol.png
+share/foobillard/fullhalf_symbol.png
+share/foobillard/half_symbol.png
+share/foobillard/iomanoid.ttf
+share/foobillard/lightflare.png
+share/foobillard/negx.png
+share/foobillard/negy.png
+share/foobillard/negz.png
+share/foobillard/place_cue_ball.png
+share/foobillard/posx.png
+share/foobillard/posy.png
+share/foobillard/posz.png
+share/foobillard/queue.png
+share/foobillard/queue_shadow.png
+share/foobillard/shadow2.png
+share/foobillard/shadow3.png
+share/foobillard/shadow_alpha.png
+share/foobillard/sphere_map_128x128.png
+share/foobillard/sphere_map_128x128_light.png
+share/foobillard/sphere_map_64x64.png
+share/foobillard/table-frame.png
+share/foobillard/tabletex_fB_128x128.png
+share/foobillard/tabletex_fB_256x256.png
+share/foobillard/youregon.ttf
+@dirrm share/foobillard
diff -r f8d37df3a441 -r e5f959e97915 games/foobillard/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/foobillard/distinfo Thu Sep 25 04:41:39 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/25 04:41:39 xtraeme Exp $
+
+SHA1 (foobillard-2.8.tar.gz) = 306a083a6555a30f3df6cf075635e6c7acef1495
+Size (foobillard-2.8.tar.gz) = 1098364 bytes
+SHA1 (patch-aa) = c795240b99d152355b8d4dbe5d1736daf5e50c57
diff -r f8d37df3a441 -r e5f959e97915 games/foobillard/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/foobillard/patches/patch-aa Thu Sep 25 04:41:39 2003 +0000
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/25 04:41:39 xtraeme Exp $
+
+--- src/billard3d.c.orig       2003-08-19 06:04:36.000000000 +0200
++++ src/billard3d.c    2003-08-19 06:07:00.000000000 +0200
+@@ -24,7 +24,14 @@
+ #include <string.h>
+ #include <math.h>
+ #include <unistd.h>
++#include <sys/param.h>
++#ifdef __FreeBSD__ && __FreeBSD_version >= 500000
++#include <sys/endian.h>
++#elif defined __NetBSD__
++#include <sys/endian.h>
++#else
+ #include <endian.h>
++#endif
+ 
+ #ifndef USE_SDL
+ #include <GL/glut.h>
+@@ -4934,7 +4941,7 @@
+ 
+    /* config file */
+    load_config( &confv, &confc, argv, argc );
+-   while( ( act_option = getopt_long_only(confc, confv, "+", long_options, &option_index) ) >= 0){
++   while( ( act_option = getopt_long(confc, confv, "+", long_options, &option_index) ) >= 0){
+        DPRINTF("processing option %d=%s\n",act_option,optarg);
+        process_option(act_option);
+    }
+@@ -5032,7 +5039,7 @@
+        fread( &ball_ball_snd.data[SOUND_NULLOFFS*2], 1, ball_ball_snd.len-SOUND_NULLOFFS*2*2 , f );
+        fclose(f);
+ 
+-#if __BYTE_ORDER == __BIG_ENDIAN
++#if _BYTE_ORDER == _BIG_ENDIAN
+        {
+           char *snd=ball_ball_snd.data;
+           for(i=0;i<ball_ball_snd.len;i+=2)



Home | Main Index | Thread Index | Old Index