diff options
author | kristerw <kristerw> | 2002-10-15 23:23:05 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-10-15 23:23:05 +0000 |
commit | 5a48564371ef06e90cc054dd9d103ea20df3974a (patch) | |
tree | ea7c1bde5f4256955a18a1986738a5276b248f92 /games | |
parent | 93dc43f5860fb0f0f9c60abe2a6660cfbccd23d2 (diff) | |
download | pkgsrc-5a48564371ef06e90cc054dd9d103ea20df3974a.tar.gz |
Update games/ketm to version 0.0.6.
Changes since 0.0.4 include:
* Better framerate.
* Improved sprite collision detection.
* New display format to make the game more "shooter-like".
And misc unspecified bugfixes.
Diffstat (limited to 'games')
-rw-r--r-- | games/ketm/Makefile | 6 | ||||
-rw-r--r-- | games/ketm/PLIST | 21 | ||||
-rw-r--r-- | games/ketm/distinfo | 9 | ||||
-rw-r--r-- | games/ketm/patches/patch-aa | 12 | ||||
-rw-r--r-- | games/ketm/patches/patch-ab | 49 |
5 files changed, 68 insertions, 29 deletions
diff --git a/games/ketm/Makefile b/games/ketm/Makefile index 1f1fd1dc10a..67f34d84c36 100644 --- a/games/ketm/Makefile +++ b/games/ketm/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2002/08/27 18:55:28 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2002/10/15 23:23:05 kristerw Exp $ # -DISTNAME= ketm-0.0.4 +DISTNAME= ketm-0.0.6 CATEGORIES= games MASTER_SITES= http://home.t-online.de/home/haslbeck/ketm/ EXTRACT_SUFX= .tar.bz2 @@ -34,7 +34,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/ketm ${INSTALL_DATA_DIR} ${PREFIX}/share/ketm/data cd ${WRKSRC}/data && \ - ${INSTALL_DATA} *.bmp ${PREFIX}/share/ketm/data + ${INSTALL_DATA} *.bmp *.dat ${PREFIX}/share/ketm/data .include "../../devel/SDL/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/ketm/PLIST b/games/ketm/PLIST index 9e81fec8f5c..a1ee97c808e 100644 --- a/games/ketm/PLIST +++ b/games/ketm/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:53:40 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/10/15 23:23:05 kristerw Exp $ bin/ketm share/ketm/README share/ketm/data/12side.bmp +share/ketm/data/back02.bmp share/ketm/data/badblocks.bmp share/ketm/data/badguy.bmp share/ketm/data/bonus_f.bmp +share/ketm/data/bonus_h.bmp share/ketm/data/bonus_p.bmp share/ketm/data/bonus_s.bmp share/ketm/data/bonus_x.bmp @@ -14,12 +16,15 @@ share/ketm/data/boss01-mo.bmp share/ketm/data/boss01-mu.bmp share/ketm/data/boss01-ro.bmp share/ketm/data/boss01-ru.bmp +share/ketm/data/boss02_v2.bmp +share/ketm/data/boss02_v2x.bmp +share/ketm/data/boss02_w.bmp share/ketm/data/bshoot.bmp share/ketm/data/coin.bmp share/ketm/data/crusher.bmp share/ketm/data/cshoot.bmp share/ketm/data/cube.bmp -share/ketm/data/engergy.bmp +share/ketm/data/energy.bmp share/ketm/data/ex.bmp share/ketm/data/extra.bmp share/ketm/data/eyefo.bmp @@ -31,25 +36,33 @@ share/ketm/data/font02.bmp share/ketm/data/font03.bmp share/ketm/data/font04.bmp share/ketm/data/font05.bmp +share/ketm/data/font06.bmp +share/ketm/data/font07.bmp share/ketm/data/homing.bmp share/ketm/data/iris.bmp share/ketm/data/ketm.bmp share/ketm/data/killray-b.bmp share/ketm/data/killray-r.bmp share/ketm/data/kugel.bmp +share/ketm/data/level01.dat +share/ketm/data/level02.dat +share/ketm/data/level03.dat +share/ketm/data/ming.bmp share/ketm/data/moon.bmp share/ketm/data/plasma.bmp share/ketm/data/plasmaball.bmp share/ketm/data/plate.bmp share/ketm/data/plus1000.bmp share/ketm/data/protectball.bmp -share/ketm/data/rocket.bmp share/ketm/data/rotating_rocket.bmp share/ketm/data/rwingx.bmp -share/ketm/data/scoreline.bmp share/ketm/data/ship-med.bmp share/ketm/data/speed.bmp share/ketm/data/target.bmp +share/ketm/data/tr_blue.bmp +share/ketm/data/tr_green.bmp +share/ketm/data/tr_red.bmp +share/ketm/data/tshoot.bmp share/ketm/data/weapon.bmp share/ketm/data/wolke01.bmp share/ketm/data/wolke02.bmp diff --git a/games/ketm/distinfo b/games/ketm/distinfo index 1c3496bf224..65b71ebf871 100644 --- a/games/ketm/distinfo +++ b/games/ketm/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2002/08/27 18:55:29 jlam Exp $ +$NetBSD: distinfo,v 1.4 2002/10/15 23:23:05 kristerw Exp $ -SHA1 (ketm-0.0.4.tar.bz2) = b49f2a255b60ad76a36c95ddba71a0d39ffbcac4 -Size (ketm-0.0.4.tar.bz2) = 1250927 bytes -SHA1 (patch-ab) = 3f3137b140d4ed32e454ede9454d25e9fadeaa37 +SHA1 (ketm-0.0.6.tar.bz2) = 3275b6be9178e30478609db9b8f897ae212df049 +Size (ketm-0.0.6.tar.bz2) = 1836502 bytes +SHA1 (patch-aa) = 559b492c3a5d336061c741d7920a5f0a893d37b9 +SHA1 (patch-ab) = 33edc5d12a930308f51994130859e6b3f30afb75 diff --git a/games/ketm/patches/patch-aa b/games/ketm/patches/patch-aa new file mode 100644 index 00000000000..bade0100cbf --- /dev/null +++ b/games/ketm/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.3 2002/10/15 23:23:05 kristerw Exp $ +--- Makefile.orig Wed Oct 16 00:40:10 2002 ++++ Makefile Wed Oct 16 00:44:19 2002 +@@ -1,6 +1,6 @@ + CC=gcc +-CFLAGS=-Wall -g -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT +-LDFLAGS=-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread ++CFLAGS+=-Wall -O2 -D_REENTRANT ++LDFLAGS+=-lSDL -lpthread + OBJ= main.o \ + particle.o \ + font.o \ diff --git a/games/ketm/patches/patch-ab b/games/ketm/patches/patch-ab index 73a3fad555d..abd6eb96577 100644 --- a/games/ketm/patches/patch-ab +++ b/games/ketm/patches/patch-ab @@ -1,22 +1,35 @@ -$NetBSD: patch-ab,v 1.1 2002/01/24 18:37:57 wiz Exp $ - ---- support.c.orig Thu Jan 24 19:33:56 2002 -+++ support.c -@@ -1,3 +1,4 @@ -+#include <stdarg.h> - #include "support.h" +$NetBSD: patch-ab,v 1.2 2002/10/15 23:23:05 kristerw Exp $ +--- thegame.c.orig Wed Oct 16 00:59:22 2002 ++++ thegame.c Wed Oct 16 01:01:00 2002 +@@ -15,6 +15,7 @@ + int gameover_delay; + Uint32 level_start_time; + Uint32 game_start_time; ++Uint32 level_pause_start; - SDL_Surface *screen; -@@ -165,8 +166,11 @@ - void error(int errorlevel, char *msg, ...) + void thegame_init() { - char msgbuf[512]; -+ va_list ap; +@@ -26,6 +27,7 @@ + player_init(); + game_start_time=SDL_GetTicks(); + level_start_time=SDL_GetTicks(); ++ level_pause_start=0; -- vsprintf(msgbuf,msg, &msg+1); -+ va_start(ap, msg); -+ vsprintf(msgbuf,msg, ap); -+ va_end(ap); + level=((PLAYER_DATA *)player->data)->level; + +@@ -44,10 +46,15 @@ + if(state.mainstate!=ST_GAME_PLAY || state.newstate==1) return; + + /* gt=Zeit seit Spielbeginn in 1/10 sec. */ ++ if(level_pause_start>0) { ++ level_start_time+=SDL_GetTicks()-level_pause_start; ++ level_pause_start=0; ++ } + gt=(SDL_GetTicks()-level_start_time)/100; + + if(d->lives>0) { + if(keyboard[keyconfig.e]) { ++ level_pause_start=SDL_GetTicks(); + newstate(ST_MENU,MEN_PAUSE,1); + } - switch(errorlevel) { - case ERR_DEBUG: if(debug) { fprintf(stdout,"DEBUG: %s\n",msgbuf); } break; |