FooBillard is a free OpenGL-billard game for Linux with realistic

physics, AI-player and many gametypes like pool carambol or snooker. Why
foo? Well, actually I had this logo (F.B.-Florian Berger) and then foo
sounds a bit like pool (Somehow I wasn't quite attracted by the name
FoolBillard) The main physics is quite mature but not yet perfect. If
you are a billard-pro and you're missing some physics, please tell me.
Cause I've implemented it like I think it should work, which might
differ from reality.
This commit is contained in:
phessler 2010-10-24 20:19:48 +00:00
parent 8786b6dc2b
commit 7a5c0b3dfe
6 changed files with 98 additions and 0 deletions

26
games/foobillard/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/24 20:19:48 phessler Exp $
COMMENT = free OpenGl billard game
DISTNAME = foobillard-3.0a
CATEGORIES = games x11
HOMEPAGE = http://foobillard.sourceforge.net/
# GPLv2 only
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=foobillard/}
WANTLIB = GL GLU ICE SM Xaw Xi c freetype m pthread z
LIB_DEPENDS = png::graphics/png \
SDL::devel/sdl
USE_X11 = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = automake
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (foobillard-3.0a.tar.gz) = wtku3qr4v7GKom8ceZMbfQ==
RMD160 (foobillard-3.0a.tar.gz) = nVotJxyicFY1ksX2zyNTNEfFFIM=
SHA1 (foobillard-3.0a.tar.gz) = HKpRogG1WINkC1xbHp/eIPxxoJU=
SHA256 (foobillard-3.0a.tar.gz) = 0FgHB3vboyxModNpNErJg2ddyFnLexkvykGW8juJsTc=
SIZE (foobillard-3.0a.tar.gz) = 1138477

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_billard3d_c,v 1.1.1.1 2010/10/24 20:19:48 phessler Exp $
--- src/billard3d.c.orig Sun Jan 18 00:09:14 2009
+++ src/billard3d.c Sun Jan 18 00:09:30 2009
@@ -24,7 +24,7 @@
#include <string.h>
#include <math.h>
#include <unistd.h>
-#include <endian.h>
+#include <sys/endian.h>
#ifndef USE_SDL
#include <GL/glut.h>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_png_loader_c,v 1.1.1.1 2010/10/24 20:19:48 phessler Exp $
--- src/png_loader.c.orig Sun Jan 18 00:20:15 2009
+++ src/png_loader.c Sun Jan 18 00:20:35 2009
@@ -26,7 +26,7 @@
#endif
#if COMPILE_PNG_CODE
- #include <png.h>
+ #include <libpng/png.h>
#else
#endif
#include <math.h>

View File

@ -0,0 +1,8 @@
FooBillard is a free OpenGL-billard game for Linux with realistic
physics, AI-player and many gametypes like pool carambol or snooker. Why
foo? Well, actually I had this logo (F.B.-Florian Berger) and then foo
sounds a bit like pool (Somehow I wasn't quite attracted by the name
FoolBillard) The main physics is quite mature but not yet perfect. If
you are a billard-pro and you're missing some physics, please tell me.
Cause I've implemented it like I think it should work, which might
differ from reality.

View File

@ -0,0 +1,35 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/24 20:19:48 phessler Exp $
@bin bin/foobillard
share/foobillard/
share/foobillard/ball_ball.raw
share/foobillard/blende.png
share/foobillard/bluebold.ttf
share/foobillard/bumpref.png
share/foobillard/cloth.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