Update to icebreaker-1.2.1

- added easy and hard difficulty settings
- added options for sound
- added option for auto pause (which makes the game stop when the window
loses focus -- note that it always pauses when minimized regardless of
this setting).
- added fullscreen option
- fixed busy waits in dialog.c
- code cleanup
This commit is contained in:
pvalchev 2001-08-15 17:18:14 +00:00
parent bb62f51a66
commit ec1c62a310
4 changed files with 21 additions and 25 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.2 2001/07/25 08:52:06 pvalchev Exp $
# $OpenBSD: Makefile,v 1.3 2001/08/15 17:18:14 pvalchev Exp $
COMMENT= "jezzball-style, penguin puzzle game"
DISTNAME= icebreaker-1.1
DISTNAME= icebreaker-1.2.1
CATEGORIES= games
NEED_VERSION= 1.427
NEED_VERSION= 1.435
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.mattdm.org/icebreaker/
MASTER_SITES= ${HOMEPAGE}
MASTER_SITES= ${HOMEPAGE}1.2.x/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
@ -30,6 +30,6 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/icebreaker
${INSTALL_DATA} ${WRKSRC}/*.{wav,bmp} ${PREFIX}/share/icebreaker
${INSTALL_PROGRAM} ${WRKSRC}/icebreaker ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/icebreaker.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/icebreaker.6 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (icebreaker-1.1.tgz) = ec80285cebd40f78856bdf52ca55c04a
RMD160 (icebreaker-1.1.tgz) = 674c0ebcf3d704b03a6c33a8dfc1a88b11e4142d
SHA1 (icebreaker-1.1.tgz) = cf591139b4294fbdf9d1a2c8842bf98da83d0adc
MD5 (icebreaker-1.2.1.tgz) = 9453119cf3342a8828e4805c0c49be50
RMD160 (icebreaker-1.2.1.tgz) = c2595110ea2c45f509138b472ef6a411f8f87f09
SHA1 (icebreaker-1.2.1.tgz) = 7b7c1e655f2a979cd1f05aa6ff0cddc5d2430efb

View File

@ -1,25 +1,20 @@
$OpenBSD: patch-Makefile,v 1.2 2001/07/25 08:52:06 pvalchev Exp $
--- Makefile.orig Fri Jul 20 19:33:27 2001
+++ Makefile Wed Jul 25 02:43:47 2001
@@ -1,4 +1,4 @@
-CC=gcc
+CC?=gcc
ifndef prefix
#prefix=/usr/local
@@ -18,13 +18,13 @@ ifndef OPTIMIZE
$OpenBSD: patch-Makefile,v 1.3 2001/08/15 17:18:14 pvalchev Exp $
--- Makefile.orig Sun Jul 29 19:32:36 2001
+++ Makefile Wed Aug 15 11:05:36 2001
@@ -24,14 +24,14 @@ ifndef OPTIMIZE
OPTIMIZE=-O3
endif
-CFLAGS=-Wall $(OPTIMIZE) $(SDL_CFLAGS) -DDATAPREFIX=\"$(prefix)/share/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
+CFLAGS+=-Wall $(SDL_CFLAGS) -DDATAPREFIX=\"$(prefix)/share/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
-CFLAGS=-Wall $(OPTIMIZE) $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
+CFLAGS+=-Wall $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
SRC=icebreaker.c cursor.c grid.c laundry.c line.c penguin.c sound.c \
level.c intro.c text.c status.c transition.c hiscore.c dialog.c
level.c intro.c text.c status.c transition.c hiscore.c dialog.c \
options.c fullscreen.c
SDL_MIXER=-lSDL_mixer
-SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER)
+SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER) -lsmpeg
SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)
SDL_CFLAGS := $(shell $(SDLCONFIG) --cflags)
SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs)
VERSION := $(shell awk '/^\#define VERSION/ { print $$3 }' icebreaker.h)

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PLIST,v 1.2 2001/07/25 08:52:06 pvalchev Exp $
@comment $OpenBSD: PLIST,v 1.3 2001/08/15 17:18:14 pvalchev Exp $
bin/icebreaker
man/man1/icebreaker.1
man/man1/icebreaker.6
share/icebreaker/crash.wav
share/icebreaker/icebreaker_48.bmp
share/icebreaker/ouch.wav
share/icebreaker/penguin.bmp
share/icebreaker/penguinicon_32.bmp
@dirrm share/icebreaker