mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add neverball.
Tilt the floor to roll a ball through an obstacle course within the given time. If the ball falls or time expires, a ball is lost. Collect 100 coins to save your progress and earn an extra ball. Red coins are worth 5. Blue coins are worth 10. Neverball runs under Linux, Win2K/XP, and hopefully anywhere else SDL is supported. Hardware accellerated OpenGL support with multitexture (OpenGL 1.2.1 or greater) is required. Neverball has been tested on Intel machines as slow as 1GHz with GeForce2. Minimum system requirements may be lower. PR: ports/58603 Submitted by: Jeremy Messenger <mezz7@cox.net>
This commit is contained in:
parent
d2bff1e077
commit
f9d4cf04e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92382
@ -266,6 +266,7 @@
|
||||
SUBDIR += netris
|
||||
SUBDIR += netspades
|
||||
SUBDIR += nettoe
|
||||
SUBDIR += neverball
|
||||
SUBDIR += newvox
|
||||
SUBDIR += nibbles
|
||||
SUBDIR += nighthawk
|
||||
|
40
games/neverball/Makefile
Normal file
40
games/neverball/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: neverball
|
||||
# Date created: 26 October 2003
|
||||
# Whom: Mezz <mezz7@cox.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= neverball
|
||||
PORTVERSION= 0.25.11
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://icculus.org/neverball/
|
||||
|
||||
MAINTAINER= mezz7@cox.net
|
||||
COMMENT= Tilt the floor to guide a ball through an obstacle course
|
||||
|
||||
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
|
||||
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
||||
SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_SDL= yes
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
DIRS= back bgm map mtrl png shot snd sol ttf
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|./data|${DATADIR}/data|g' \
|
||||
${WRKSRC}/config.h
|
||||
|
||||
do-install:
|
||||
.for ii in ${DIRS}
|
||||
@${MKDIR} ${DATADIR}/data/${ii}
|
||||
@${INSTALL_DATA} ${WRKSRC}/data/${ii}/* ${DATADIR}/data/${ii}/
|
||||
.endfor
|
||||
@${INSTALL_DATA} ${WRKSRC}/data/*.txt ${DATADIR}/data/
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/neverball/distinfo
Normal file
1
games/neverball/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (neverball-0.25.11.tar.bz2) = 96ace59deb3ed29efe744b7d45b3e7d8
|
34
games/neverball/files/patch-Makefile
Normal file
34
games/neverball/files/patch-Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
--- Makefile.orig Mon Oct 27 21:35:19 2003
|
||||
+++ Makefile Mon Oct 27 21:37:26 2003
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
# Maybe you need one of these. Maybe you don't.
|
||||
|
||||
-#X11_PATH= -L/usr/X11/lib
|
||||
-#X11_PATH= -L/usr/X11R6/lib
|
||||
+X11_PATHL= -L${X11BASE}/lib
|
||||
+X11_PATHI= -I${X11BASE}/include
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
-CFLAGS= -Wall -g -ansi $(shell sdl-config --cflags)
|
||||
+CFLAGS+= -Wall -g -ansi $(shell ${SDL_CONFIG} --cflags) ${X11_PATHI}
|
||||
|
||||
-X11_LIBS= $(X11_PATH) -lGLU -lGL -lm
|
||||
-SDL_LIBS= $(shell sdl-config --libs)
|
||||
+X11_LIBS= $(X11_PATHL) -lGLU -lGL -lm
|
||||
+SDL_LIBS= $(shell ${SDL_CONFIG} --libs)
|
||||
|
||||
MAPC_TARG= mapc
|
||||
GAME_TARG= neverball
|
||||
@@ -39,8 +39,8 @@
|
||||
glext.o \
|
||||
main.o
|
||||
|
||||
-MAPC_DEPS= $(GAME_SRCS:.c=.d)
|
||||
-GAME_DEPS= $(GAME_OBJS:.o=.d)
|
||||
+MAPC_DEPS= $(GAME_SRCS:.c)
|
||||
+GAME_DEPS= $(GAME_OBJS:.o)
|
||||
|
||||
MAPC_LIBS= $(SDL_LIBS) -lSDL_image $(X11_LIBS)
|
||||
GAME_LIBS= $(SDL_LIBS) -lSDL_image -lSDL_ttf -lSDL_mixer -lfreetype $(X11_LIBS)
|
47
games/neverball/files/patch-config.c
Normal file
47
games/neverball/files/patch-config.c
Normal file
@ -0,0 +1,47 @@
|
||||
--- config.c.orig Mon Oct 27 01:11:10 2003
|
||||
+++ config.c Mon Oct 27 01:13:25 2003
|
||||
@@ -48,7 +48,7 @@
|
||||
static int mouse_sense = CONFIG_DEF_MOUSE_SENSE;
|
||||
static int high_level = CONFIG_DEF_HIGH_LEVEL;
|
||||
static int done = CONFIG_DEF_DONE;
|
||||
-static int nice = CONFIG_DEF_NICE;
|
||||
+static int nice1 = CONFIG_DEF_NICE;
|
||||
static int fps = CONFIG_DEF_FPS;
|
||||
static int joy = CONFIG_DEF_JOY;
|
||||
static int sound_vol = CONFIG_DEF_SOUND_VOL;
|
||||
@@ -166,7 +166,7 @@
|
||||
if (strcmp(key, "audio_buff") == 0) audio_buff = val;
|
||||
if (strcmp(key, "mouse_sense") == 0) mouse_sense = val;
|
||||
if (strcmp(key, "high_level") == 0) high_level = val;
|
||||
- if (strcmp(key, "nice") == 0) nice = val;
|
||||
+ if (strcmp(key, "nice") == 0) nice1 = val;
|
||||
if (strcmp(key, "done") == 0) done = val;
|
||||
if (strcmp(key, "fps") == 0) fps = val;
|
||||
if (strcmp(key, "joy") == 0) joy = val;
|
||||
@@ -210,7 +210,7 @@
|
||||
fprintf(fp, "mouse_sense %d\n", mouse_sense);
|
||||
fprintf(fp, "high_level %d\n", high_level);
|
||||
fprintf(fp, "player %s\n", player);
|
||||
- fprintf(fp, "nice %d\n", nice);
|
||||
+ fprintf(fp, "nice %d\n", nice1);
|
||||
fprintf(fp, "done %d\n", done);
|
||||
fprintf(fp, "fps %d\n", fps);
|
||||
fprintf(fp, "joy %d\n", joy);
|
||||
@@ -242,7 +242,7 @@
|
||||
int config_sens(void) { return mouse_sense; }
|
||||
int config_high(void) { return high_level; }
|
||||
int config_done(void) { return done; }
|
||||
-int config_nice(void) { return nice; }
|
||||
+int config_nice(void) { return nice1; }
|
||||
int config_fps (void) { return fps; }
|
||||
int config_sound(void) { return sound_vol; }
|
||||
int config_music(void) { return music_vol; }
|
||||
@@ -368,7 +368,7 @@
|
||||
|
||||
void config_tog_nice(void)
|
||||
{
|
||||
- nice = nice ? 0 : 1;
|
||||
+ nice1 = nice1 ? 0 : 1;
|
||||
}
|
||||
|
||||
void config_tog_fps(void)
|
11
games/neverball/pkg-descr
Normal file
11
games/neverball/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Tilt the floor to roll a ball through an obstacle course within the given time.
|
||||
If the ball falls or time expires, a ball is lost. Collect 100 coins to save
|
||||
your progress and earn an extra ball. Red coins are worth 5. Blue coins are
|
||||
worth 10.
|
||||
|
||||
Neverball runs under Linux, Win2K/XP, and hopefully anywhere else SDL is
|
||||
supported. Hardware accellerated OpenGL support with multitexture (OpenGL 1.2.1
|
||||
or greater) is required. Neverball has been tested on Intel machines as slow as
|
||||
1GHz with GeForce2. Minimum system requirements may be lower.
|
||||
|
||||
WWW: http://icculus.org/neverball/
|
187
games/neverball/pkg-plist
Normal file
187
games/neverball/pkg-plist
Normal file
@ -0,0 +1,187 @@
|
||||
bin/neverball
|
||||
share/neverball/data/back/flood_d.jpg
|
||||
share/neverball/data/back/flood_e.jpg
|
||||
share/neverball/data/back/flood_n.jpg
|
||||
share/neverball/data/back/flood_s.jpg
|
||||
share/neverball/data/back/flood_u.jpg
|
||||
share/neverball/data/back/flood_w.jpg
|
||||
share/neverball/data/back/haze_d.jpg
|
||||
share/neverball/data/back/haze_e.jpg
|
||||
share/neverball/data/back/haze_n.jpg
|
||||
share/neverball/data/back/haze_s.jpg
|
||||
share/neverball/data/back/haze_u.jpg
|
||||
share/neverball/data/back/haze_w.jpg
|
||||
share/neverball/data/back/snow_d.jpg
|
||||
share/neverball/data/back/snow_e.jpg
|
||||
share/neverball/data/back/snow_n.jpg
|
||||
share/neverball/data/back/snow_s.jpg
|
||||
share/neverball/data/back/snow_u.jpg
|
||||
share/neverball/data/back/snow_w.jpg
|
||||
share/neverball/data/bgm/flood.ogg
|
||||
share/neverball/data/bgm/haze.ogg
|
||||
share/neverball/data/bgm/inter.ogg
|
||||
share/neverball/data/bgm/snow.ogg
|
||||
share/neverball/data/bgm/title.ogg
|
||||
share/neverball/data/levels.txt
|
||||
share/neverball/data/map/00_title.map
|
||||
share/neverball/data/map/01_easy.map
|
||||
share/neverball/data/map/02_coin.map
|
||||
share/neverball/data/map/03_slow.map
|
||||
share/neverball/data/map/04_fence.map
|
||||
share/neverball/data/map/05_fall.map
|
||||
share/neverball/data/map/06_move.map
|
||||
share/neverball/data/map/07_waka.map
|
||||
share/neverball/data/map/08_curve.map
|
||||
share/neverball/data/map/09_maze.map
|
||||
share/neverball/data/map/10_spiral.map
|
||||
share/neverball/data/map/11_ramp.map
|
||||
share/neverball/data/map/12_goal.map
|
||||
share/neverball/data/map/13_pyramid.map
|
||||
share/neverball/data/map/14_quads.map
|
||||
share/neverball/data/map/15_frog.map
|
||||
share/neverball/data/map/16_angle.map
|
||||
share/neverball/data/map/17_spread.map
|
||||
share/neverball/data/map/18_four.map
|
||||
share/neverball/data/map/19_hump.map
|
||||
share/neverball/data/map/20_movers.map
|
||||
share/neverball/data/map/21_poke.map
|
||||
share/neverball/data/map/22_ring.map
|
||||
share/neverball/data/map/23_tele.map
|
||||
share/neverball/data/map/24_marble.map
|
||||
share/neverball/data/mtrl/arrow-green
|
||||
share/neverball/data/mtrl/arrow-green.jpg
|
||||
share/neverball/data/mtrl/back-red
|
||||
share/neverball/data/mtrl/back-red.jpg
|
||||
share/neverball/data/mtrl/blue
|
||||
share/neverball/data/mtrl/blue.jpg
|
||||
share/neverball/data/mtrl/caution
|
||||
share/neverball/data/mtrl/caution.jpg
|
||||
share/neverball/data/mtrl/coin-small-green
|
||||
share/neverball/data/mtrl/coin-small-green.jpg
|
||||
share/neverball/data/mtrl/dark-glass
|
||||
share/neverball/data/mtrl/dark-glass.jpg
|
||||
share/neverball/data/mtrl/edge
|
||||
share/neverball/data/mtrl/edge-brown-grey
|
||||
share/neverball/data/mtrl/edge-brown-grey.jpg
|
||||
share/neverball/data/mtrl/edge-green-grey
|
||||
share/neverball/data/mtrl/edge-green-grey-offset
|
||||
share/neverball/data/mtrl/edge-green-grey-offset.jpg
|
||||
share/neverball/data/mtrl/edge-green-grey.jpg
|
||||
share/neverball/data/mtrl/edge.jpg
|
||||
share/neverball/data/mtrl/glass
|
||||
share/neverball/data/mtrl/glass.jpg
|
||||
share/neverball/data/mtrl/goal
|
||||
share/neverball/data/mtrl/goal-green
|
||||
share/neverball/data/mtrl/goal-green.jpg
|
||||
share/neverball/data/mtrl/goal.tga
|
||||
share/neverball/data/mtrl/invisible
|
||||
share/neverball/data/mtrl/invisible.tga
|
||||
share/neverball/data/mtrl/jump
|
||||
share/neverball/data/mtrl/jump.tga
|
||||
share/neverball/data/mtrl/mm-grid
|
||||
share/neverball/data/mtrl/mm-grid.jpg
|
||||
share/neverball/data/mtrl/mm-rail
|
||||
share/neverball/data/mtrl/mm-rail.jpg
|
||||
share/neverball/data/mtrl/mm-wall
|
||||
share/neverball/data/mtrl/mm-wall.jpg
|
||||
share/neverball/data/mtrl/mtrl.shader
|
||||
share/neverball/data/mtrl/rail
|
||||
share/neverball/data/mtrl/rail.jpg
|
||||
share/neverball/data/mtrl/turf-brown
|
||||
share/neverball/data/mtrl/turf-brown.jpg
|
||||
share/neverball/data/mtrl/turf-green
|
||||
share/neverball/data/mtrl/turf-green-offset
|
||||
share/neverball/data/mtrl/turf-green-offset.jpg
|
||||
share/neverball/data/mtrl/turf-green.jpg
|
||||
share/neverball/data/mtrl/turf-grey
|
||||
share/neverball/data/mtrl/turf-grey.jpg
|
||||
share/neverball/data/mtrl/turf-small-green
|
||||
share/neverball/data/mtrl/turf-small-green.jpg
|
||||
share/neverball/data/mtrl/wood
|
||||
share/neverball/data/mtrl/wood-check
|
||||
share/neverball/data/mtrl/wood-check.jpg
|
||||
share/neverball/data/mtrl/wood.jpg
|
||||
share/neverball/data/png/ball.png
|
||||
share/neverball/data/png/coin.png
|
||||
share/neverball/data/png/eyeball.png
|
||||
share/neverball/data/png/part.png
|
||||
share/neverball/data/png/shadow.png
|
||||
share/neverball/data/scores.txt
|
||||
share/neverball/data/shot/00_title.jpg
|
||||
share/neverball/data/shot/01_easy.jpg
|
||||
share/neverball/data/shot/02_coin.jpg
|
||||
share/neverball/data/shot/03_slow.jpg
|
||||
share/neverball/data/shot/04_fence.jpg
|
||||
share/neverball/data/shot/05_fall.jpg
|
||||
share/neverball/data/shot/06_move.jpg
|
||||
share/neverball/data/shot/07_waka.jpg
|
||||
share/neverball/data/shot/08_curve.jpg
|
||||
share/neverball/data/shot/09_maze.jpg
|
||||
share/neverball/data/shot/10_spiral.jpg
|
||||
share/neverball/data/shot/11_ramp.jpg
|
||||
share/neverball/data/shot/12_goal.jpg
|
||||
share/neverball/data/shot/13_pyramid.jpg
|
||||
share/neverball/data/shot/14_quads.jpg
|
||||
share/neverball/data/shot/15_frog.jpg
|
||||
share/neverball/data/shot/16_angle.jpg
|
||||
share/neverball/data/shot/17_spread.jpg
|
||||
share/neverball/data/shot/18_four.jpg
|
||||
share/neverball/data/shot/19_hump.jpg
|
||||
share/neverball/data/shot/20_movers.jpg
|
||||
share/neverball/data/shot/21_poke.jpg
|
||||
share/neverball/data/shot/22_ring.jpg
|
||||
share/neverball/data/shot/23_tele.jpg
|
||||
share/neverball/data/shot/24_marble.jpg
|
||||
share/neverball/data/snd/ball.ogg
|
||||
share/neverball/data/snd/bump.ogg
|
||||
share/neverball/data/snd/coin.wav
|
||||
share/neverball/data/snd/fall.ogg
|
||||
share/neverball/data/snd/go.ogg
|
||||
share/neverball/data/snd/goal.ogg
|
||||
share/neverball/data/snd/jump.ogg
|
||||
share/neverball/data/snd/menu.wav
|
||||
share/neverball/data/snd/over.ogg
|
||||
share/neverball/data/snd/ready.ogg
|
||||
share/neverball/data/snd/record.ogg
|
||||
share/neverball/data/snd/select.ogg
|
||||
share/neverball/data/snd/set.ogg
|
||||
share/neverball/data/snd/tick.ogg
|
||||
share/neverball/data/snd/time.ogg
|
||||
share/neverball/data/snd/tock.ogg
|
||||
share/neverball/data/sol/00_title.sol
|
||||
share/neverball/data/sol/01_easy.sol
|
||||
share/neverball/data/sol/02_coin.sol
|
||||
share/neverball/data/sol/03_slow.sol
|
||||
share/neverball/data/sol/04_fence.sol
|
||||
share/neverball/data/sol/05_fall.sol
|
||||
share/neverball/data/sol/06_move.sol
|
||||
share/neverball/data/sol/07_waka.sol
|
||||
share/neverball/data/sol/08_curve.sol
|
||||
share/neverball/data/sol/09_maze.sol
|
||||
share/neverball/data/sol/10_spiral.sol
|
||||
share/neverball/data/sol/11_ramp.sol
|
||||
share/neverball/data/sol/12_goal.sol
|
||||
share/neverball/data/sol/13_pyramid.sol
|
||||
share/neverball/data/sol/14_quads.sol
|
||||
share/neverball/data/sol/15_frog.sol
|
||||
share/neverball/data/sol/16_angle.sol
|
||||
share/neverball/data/sol/17_spread.sol
|
||||
share/neverball/data/sol/18_four.sol
|
||||
share/neverball/data/sol/19_hump.sol
|
||||
share/neverball/data/sol/20_movers.sol
|
||||
share/neverball/data/sol/21_poke.sol
|
||||
share/neverball/data/sol/22_ring.sol
|
||||
share/neverball/data/sol/23_tele.sol
|
||||
share/neverball/data/sol/24_marble.sol
|
||||
share/neverball/data/ttf/VeraBd.ttf
|
||||
@dirrm share/neverball/data/ttf
|
||||
@dirrm share/neverball/data/sol
|
||||
@dirrm share/neverball/data/snd
|
||||
@dirrm share/neverball/data/shot
|
||||
@dirrm share/neverball/data/png
|
||||
@dirrm share/neverball/data/mtrl
|
||||
@dirrm share/neverball/data/map
|
||||
@dirrm share/neverball/data/bgm
|
||||
@dirrm share/neverball/data/back
|
||||
@dirrm share/neverball/data
|
||||
@dirrm share/neverball
|
Loading…
Reference in New Issue
Block a user