Add madbomber - a SDL clone of Activision's classic Atari 2600 console game
"Kaboom!".
This commit is contained in:
parent
60e94274b7
commit
bb3ea77c47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33199
8 changed files with 263 additions and 0 deletions
|
@ -107,6 +107,7 @@
|
|||
SUBDIR += libshhcards
|
||||
SUBDIR += lincity
|
||||
SUBDIR += linuxdoom
|
||||
SUBDIR += madbomber
|
||||
SUBDIR += maelstrom
|
||||
SUBDIR += mangband
|
||||
SUBDIR += merlin
|
||||
|
|
29
games/madbomber/Makefile
Normal file
29
games/madbomber/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: madbomber
|
||||
# Date created: 13 May 1998
|
||||
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= madbomber
|
||||
PORTVERSION= 0.1.8
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= SDL_image.9:${PORTSDIR}/graphics/sdl_image \
|
||||
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
|
||||
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
USE_GMAKE= yes
|
||||
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin
|
||||
@${MKDIR} ${PREFIX}/share/madbomber
|
||||
@cd ${WRKSRC}/data; tar cf - . | \
|
||||
(cd ${PREFIX}/share/madbomber; ${TAR} --unlink -xf - )
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/madbomber/distinfo
Normal file
1
games/madbomber/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (madbomber-0.1.8.tar.gz) = c0bcd3b63d2c688f13ed744bc57ea554
|
37
games/madbomber/files/Makeflags
Normal file
37
games/madbomber/files/Makeflags
Normal file
|
@ -0,0 +1,37 @@
|
|||
# This file contains the template for Makeflags
|
||||
|
||||
SYSTEM = FreeBSD
|
||||
FEATURES = -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS -DUNSIGNED_AUDIO_DATA -DFORCE_XSHM -DNETPLAY
|
||||
|
||||
LOGIC = netlogic
|
||||
|
||||
XPMINCLUDE =
|
||||
XPMLINKDIR =
|
||||
|
||||
BINDIR = ${PREFIX}/bin
|
||||
LIBDIR = ${PREFIX}/share/Maelstrom
|
||||
DATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \
|
||||
"Maelstrom Sounds" "Maelstrom Sprites"
|
||||
|
||||
OBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \
|
||||
dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \
|
||||
init.o $(LOGIC)/$(LOGIC).o \
|
||||
controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \
|
||||
Utils.o shared.o myerror.o
|
||||
SOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o
|
||||
|
||||
X11INCLUDE = -I${X11BASE}/include
|
||||
INCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE)
|
||||
CFLAGS += $(INCLUDES) $(FEATURES) \
|
||||
-pedantic -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\"
|
||||
EXTRALIBS =
|
||||
X11LINKDIR = -L${X11BASE}/lib
|
||||
X11LIBS = -lXpm $(XPMLINKDIR) -lX11 -lXext $(X11LINKDIR)
|
||||
CSUMLIB =
|
||||
LIBS = $(EXTRALIBS) $(X11LIBS) $(CSUMLIB)
|
||||
SOUNDLIBS =
|
||||
|
||||
INSTALL = install
|
||||
|
||||
all: $(MAELSTROM)
|
||||
|
49
games/madbomber/files/patch-aa
Normal file
49
games/madbomber/files/patch-aa
Normal file
|
@ -0,0 +1,49 @@
|
|||
--- Makefile.orig Fri Jun 30 10:27:37 2000
|
||||
+++ Makefile Thu Sep 28 10:43:24 2000
|
||||
@@ -9,30 +9,30 @@
|
||||
|
||||
# User-definable stuff:
|
||||
|
||||
-BIN_PREFIX=/usr/local/bin/
|
||||
-DATA_PREFIX=/usr/share/madbomber/
|
||||
+BIN_PREFIX=$(PREFIX)/bin/
|
||||
+DATA_PREFIX=$(PREFIX)/share/madbomber/
|
||||
|
||||
|
||||
# Defaults for Linux:
|
||||
|
||||
TARGET=madbomber
|
||||
TARGET_DEF=LINUX
|
||||
-SDL_CFLAGS := $(shell sdl-config --cflags)
|
||||
-SDL_LDFLAGS := $(shell sdl-config --libs)
|
||||
+SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|
||||
+SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs)
|
||||
|
||||
|
||||
# Sound-related definitions:
|
||||
|
||||
-MIXER=-lSDL_mixer
|
||||
+MIXER=-lSDL_mixer -lsmpeg -lgcc_r
|
||||
IMAGE=-lSDL_image
|
||||
NOSOUNDFLAG=__SOUND
|
||||
|
||||
|
||||
# Stuff we pass to the compiler:
|
||||
|
||||
-CFLAGS=-Wall $(SDL_CFLAGS) \
|
||||
+CFLAGS+=-Wall $(SDL_CFLAGS) \
|
||||
-DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) -D$(TARGET_DEF)
|
||||
-SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS)
|
||||
+SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS) -lgcc_r
|
||||
|
||||
|
||||
# Make commands:
|
||||
@@ -67,7 +67,7 @@
|
||||
# Main executable:
|
||||
|
||||
$(TARGET): madbomber.o
|
||||
- $(CC) $(CFLAGS) madbomber.o -o $(TARGET) $(SDL_LIB) -lm
|
||||
+ $(CXX) $(CFLAGS) madbomber.o -o $(TARGET) $(SDL_LIB) -lm
|
||||
|
||||
|
||||
# Main object:
|
1
games/madbomber/pkg-comment
Normal file
1
games/madbomber/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A clone of Activision's classic Atari 2600 console game "Kaboom!"
|
5
games/madbomber/pkg-descr
Normal file
5
games/madbomber/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
"Mad Bomber" is a clone of Activision's classic Atari 2600 console game,
|
||||
"Kaboom!," by Larry Kaplan, with spruced-up graphics and sound effects, and
|
||||
music
|
||||
|
||||
WWW: http://www.newbreedsoftware.com/madbomber/
|
140
games/madbomber/pkg-plist
Normal file
140
games/madbomber/pkg-plist
Normal file
|
@ -0,0 +1,140 @@
|
|||
bin/madbomber
|
||||
share/madbomber/images/bar.png
|
||||
share/madbomber/images/game/background.png
|
||||
share/madbomber/images/game/bomb/bomb0.png
|
||||
share/madbomber/images/game/bomb/bomb1.png
|
||||
share/madbomber/images/game/bomb/bomb2.png
|
||||
share/madbomber/images/game/bomb/bomb3.png
|
||||
share/madbomber/images/game/bomb/explosion1.png
|
||||
share/madbomber/images/game/bomb/explosion2.png
|
||||
share/madbomber/images/game/bomber/bomber-amazed.png
|
||||
share/madbomber/images/game/bomber/bomber-happy.png
|
||||
share/madbomber/images/game/bomber/bomber-sad.png
|
||||
share/madbomber/images/game/bucket/bucket1.png
|
||||
share/madbomber/images/game/bucket/bucket1red.png
|
||||
share/madbomber/images/game/bucket/bucket2.png
|
||||
share/madbomber/images/game/bucket/bucket2red.png
|
||||
share/madbomber/images/game/bucket/bucket3.png
|
||||
share/madbomber/images/game/bucket/bucket3red.png
|
||||
share/madbomber/images/game/bucket/small-bucket1.png
|
||||
share/madbomber/images/game/bucket/small-bucket1red.png
|
||||
share/madbomber/images/game/bucket/small-bucket2.png
|
||||
share/madbomber/images/game/bucket/small-bucket2red.png
|
||||
share/madbomber/images/game/bucket/small-bucket3.png
|
||||
share/madbomber/images/game/bucket/small-bucket3red.png
|
||||
share/madbomber/images/game/drop/drop-down.png
|
||||
share/madbomber/images/game/drop/drop-left-down.png
|
||||
share/madbomber/images/game/drop/drop-left-up.png
|
||||
share/madbomber/images/game/drop/drop-left.png
|
||||
share/madbomber/images/game/drop/drop-right-down.png
|
||||
share/madbomber/images/game/drop/drop-right-up.png
|
||||
share/madbomber/images/game/drop/drop-right.png
|
||||
share/madbomber/images/game/drop/drop-up.png
|
||||
share/madbomber/images/game/game-over.png
|
||||
share/madbomber/images/game/highscore.png
|
||||
share/madbomber/images/game/numbers/0.png
|
||||
share/madbomber/images/game/numbers/0red.png
|
||||
share/madbomber/images/game/numbers/1.png
|
||||
share/madbomber/images/game/numbers/1red.png
|
||||
share/madbomber/images/game/numbers/2.png
|
||||
share/madbomber/images/game/numbers/2red.png
|
||||
share/madbomber/images/game/numbers/3.png
|
||||
share/madbomber/images/game/numbers/3red.png
|
||||
share/madbomber/images/game/numbers/4.png
|
||||
share/madbomber/images/game/numbers/4red.png
|
||||
share/madbomber/images/game/numbers/5.png
|
||||
share/madbomber/images/game/numbers/5red.png
|
||||
share/madbomber/images/game/numbers/6.png
|
||||
share/madbomber/images/game/numbers/6red.png
|
||||
share/madbomber/images/game/numbers/7.png
|
||||
share/madbomber/images/game/numbers/7red.png
|
||||
share/madbomber/images/game/numbers/8.png
|
||||
share/madbomber/images/game/numbers/8red.png
|
||||
share/madbomber/images/game/numbers/9.png
|
||||
share/madbomber/images/game/numbers/9red.png
|
||||
share/madbomber/images/game/paused.png
|
||||
share/madbomber/images/game/press-escape.png
|
||||
share/madbomber/images/game/press-fire.png
|
||||
share/madbomber/images/highscore/highscore.png
|
||||
share/madbomber/images/highscore/letters.png
|
||||
share/madbomber/images/icon.png
|
||||
share/madbomber/images/loading.png
|
||||
share/madbomber/images/make-offs.sh
|
||||
share/madbomber/images/options/0percent-off.png
|
||||
share/madbomber/images/options/0percent.png
|
||||
share/madbomber/images/options/100percent-off.png
|
||||
share/madbomber/images/options/100percent.png
|
||||
share/madbomber/images/options/25percent-off.png
|
||||
share/madbomber/images/options/25percent.png
|
||||
share/madbomber/images/options/50percent-off.png
|
||||
share/madbomber/images/options/50percent.png
|
||||
share/madbomber/images/options/75percent-off.png
|
||||
share/madbomber/images/options/75percent.png
|
||||
share/madbomber/images/options/detail.png
|
||||
share/madbomber/images/options/difficulty.png
|
||||
share/madbomber/images/options/effects.png
|
||||
share/madbomber/images/options/hard-off.png
|
||||
share/madbomber/images/options/hard.png
|
||||
share/madbomber/images/options/music.png
|
||||
share/madbomber/images/options/normal-off.png
|
||||
share/madbomber/images/options/normal.png
|
||||
share/madbomber/images/options/ok-off.png
|
||||
share/madbomber/images/options/ok.png
|
||||
share/madbomber/images/options/options.png
|
||||
share/madbomber/images/options/player-one.png
|
||||
share/madbomber/images/options/player-two.png
|
||||
share/madbomber/images/options/volume.png
|
||||
share/madbomber/images/options/zen-off.png
|
||||
share/madbomber/images/options/zen.png
|
||||
share/madbomber/images/spray-black.png
|
||||
share/madbomber/images/spray-blue.png
|
||||
share/madbomber/images/spray-cyan.png
|
||||
share/madbomber/images/title/exit-off.png
|
||||
share/madbomber/images/title/exit.png
|
||||
share/madbomber/images/title/highscore-off.png
|
||||
share/madbomber/images/title/highscore.png
|
||||
share/madbomber/images/title/one-player-off.png
|
||||
share/madbomber/images/title/one-player.png
|
||||
share/madbomber/images/title/options-off.png
|
||||
share/madbomber/images/title/options.png
|
||||
share/madbomber/images/title/title.png
|
||||
share/madbomber/images/title/two-player-vs-off.png
|
||||
share/madbomber/images/title/two-player-vs.png
|
||||
share/madbomber/images/title/two-players-off.png
|
||||
share/madbomber/images/title/two-players.png
|
||||
share/madbomber/music/astraltr.mod
|
||||
share/madbomber/music/bizjung.it
|
||||
share/madbomber/music/fdn-arab.s3m
|
||||
share/madbomber/music/gluppobe.mod
|
||||
share/madbomber/music/waterfal.mod
|
||||
share/madbomber/sounds/bigexplosion.wav
|
||||
share/madbomber/sounds/can-shake.wav
|
||||
share/madbomber/sounds/confirm.wav
|
||||
share/madbomber/sounds/explosion.wav
|
||||
share/madbomber/sounds/fuse.wav
|
||||
share/madbomber/sounds/highscore.wav
|
||||
share/madbomber/sounds/level8.wav
|
||||
share/madbomber/sounds/oneup.wav
|
||||
share/madbomber/sounds/select.wav
|
||||
share/madbomber/sounds/splash1.wav
|
||||
share/madbomber/sounds/splash2.wav
|
||||
share/madbomber/sounds/splash3.wav
|
||||
share/madbomber/sounds/splash4.wav
|
||||
share/madbomber/sounds/splash5.wav
|
||||
share/madbomber/sounds/splash6.wav
|
||||
share/madbomber/sounds/splash7.wav
|
||||
share/madbomber/sounds/splash8.wav
|
||||
share/madbomber/sounds/spray.wav
|
||||
@dirrm share/madbomber/sounds
|
||||
@dirrm share/madbomber/music
|
||||
@dirrm share/madbomber/images/title
|
||||
@dirrm share/madbomber/images/options
|
||||
@dirrm share/madbomber/images/highscore
|
||||
@dirrm share/madbomber/images/game/numbers
|
||||
@dirrm share/madbomber/images/game/drop
|
||||
@dirrm share/madbomber/images/game/bucket
|
||||
@dirrm share/madbomber/images/game/bomber
|
||||
@dirrm share/madbomber/images/game/bomb
|
||||
@dirrm share/madbomber/images/game
|
||||
@dirrm share/madbomber/images
|
||||
@dirrm share/madbomber
|
Loading…
Reference in a new issue