summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-11-30 11:20:43 +0000
committerwiz <wiz@pkgsrc.org>2007-11-30 11:20:43 +0000
commitca586c0e012f720dfe5cc9359311990b2c527366 (patch)
tree785c82f8edb316b1828de157ea8e5c528390678b /games
parent88ed1c031e6bce0da592f5d035b41fc9411c7e86 (diff)
downloadpkgsrc-ca586c0e012f720dfe5cc9359311990b2c527366.tar.gz
Update to 1.3.0:
2006 Apr 17: version 1.3.0 * Added mouse handling to the code. That includes modifying the SDL code to handle mouse activity, adding a large set of new commands, making it possible for Chip to move towards a goal over several ticks, and modifying the action struct (and the solution file) to permit storing the new moves in solutions. * Added the database of unsolvable levels, which warns users before they play a level known to be unsolvable, and automatically gives them the password to the next level. * Added the solution file display, allowing the user to manage multiple solution files for a single level set. * Changed code to accept a solution file as the sole cmdline argument, if the solution file contains the set name. Hopefully this, and the previous addition, will make it easier for people to share solution files. * Added the batch-mode verification feature, to check the existing solutions without initializing the GUI subsystem. * Fixed the old emulation bug (MS logic) involving Chip turning a cloned block into a clone of himself while going through a teleport. * Fixed the bug (MS logic) preventing Chip from pushing a slipping block parallel to its slipping direction when the push happens through a teleport. * Improved the emulation of several creatures teleporting simultaneously (Lynx logic), with assistance from ccexplore. * Minor improvements to the Lynx pedantic mode. * Fixed the password input routine. (It was completely broken; not sure when that happened.) * Rewrote the code so that level data and solutions are kept compressed in memory, and expanded only when needed, instead of decoding entire files when read. This change makes for a small reduction in memory usage, and reduces the overall level of useless work being done. * Added code to shutter the map view when MS gameplay is paused. * Numerous minor tweaks to the code, the display, and the documentation. 2006 Feb 24: version 1.2.2 * Finally got the handling of brown buttons (MS logic) working correctly. It's been a long time coming, and it's all so simple in hindsight. * Added code to grok the new solution file format. This version of Tile World will continue to use the old solution file format, but if it encounters a file in the new format, it will handle it correctly. * Added the ability to specify a solution file by name on the command-line. * Added -P option for Lynx pedantic mode. * Added the Shift-Ctrl-X feature to permanently delete solutions. * Fixed bugs in Shift-Tab feature, and formally documented this feature. * Fixed bug in the stepping UI. * Fixed bug reported by Thomas Harte, where an international keyboard generating a non-Latin-1 character could cause TW to segfault. * Fixed bug reported by Catatonic Porpoise, where SDL was being asked to blit to a locked surface. * Fixed a segfault in MS logic reported by Evan Dummit (occurring when a cloner's creature in the northwest corner is replaced by Chip). * Added casts to avoid new warnings in gcc 4. * Fixed a few other minor MS emulation bugs reported by Evan Dummit. * Added a number of unfixed MS emulation bugs to msbugs.txt, several of which were reported by Evan Dummit. * A handful of documentation errors were also found and fixed.
Diffstat (limited to 'games')
-rw-r--r--games/tileworld/Makefile5
-rw-r--r--games/tileworld/PLIST3
-rw-r--r--games/tileworld/distinfo10
-rw-r--r--games/tileworld/patches/patch-aa34
4 files changed, 18 insertions, 34 deletions
diff --git a/games/tileworld/Makefile b/games/tileworld/Makefile
index e5e7963b4d7..202e2a09097 100644
--- a/games/tileworld/Makefile
+++ b/games/tileworld/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2006/06/12 16:28:11 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2007/11/30 11:20:43 wiz Exp $
-DISTNAME= tworld-1.2.1
+DISTNAME= tworld-1.3.0
PKGNAME= ${DISTNAME:S/^t/tile/}
-PKGREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/tworld/
diff --git a/games/tileworld/PLIST b/games/tileworld/PLIST
index 704d83be827..bded0936078 100644
--- a/games/tileworld/PLIST
+++ b/games/tileworld/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2004/03/10 00:53:37 snj Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/11/30 11:20:43 wiz Exp $
bin/tworld
man/man6/tworld.6
share/doc/tworld/README
@@ -34,6 +34,7 @@ share/tworld/res/tick.wav
share/tworld/res/tiles.bmp
share/tworld/res/ting.wav
share/tworld/res/traphit.wav
+share/tworld/res/unslist.txt
share/tworld/res/whisk.wav
share/tworld/sets/CCLP2.dac
share/tworld/sets/cc-lynx.dac
diff --git a/games/tileworld/distinfo b/games/tileworld/distinfo
index 852f2f21eb7..2a88b3a503c 100644
--- a/games/tileworld/distinfo
+++ b/games/tileworld/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 23:12:03 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/11/30 11:20:43 wiz Exp $
-SHA1 (tworld-1.2.1.tar.gz) = 1d9b20fc6408e6ba9e1378bb7ca31d2cad3ffa30
-RMD160 (tworld-1.2.1.tar.gz) = 8d3bc46fd44dd3644c76bd89bc94e92b95395aa0
-Size (tworld-1.2.1.tar.gz) = 1045723 bytes
-SHA1 (patch-aa) = 4acbb879f881d08c3b9af5c5850efa65460ba43b
+SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672
+RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8
+Size (tworld-1.3.0.tar.gz) = 1045555 bytes
+SHA1 (patch-aa) = 3fcc14d03b35d52e15d0d4e61797bd052d413003
diff --git a/games/tileworld/patches/patch-aa b/games/tileworld/patches/patch-aa
index 68a8d3a9b8b..69dbc4d8e23 100644
--- a/games/tileworld/patches/patch-aa
+++ b/games/tileworld/patches/patch-aa
@@ -1,25 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2004/12/05 20:43:21 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $
---- Makefile.in.orig 2004-09-26 10:35:50.000000000 +0200
+--- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000
+++ Makefile.in
-@@ -69,14 +69,14 @@ err.o : err.c oshw.h err.h
- #
-
- comptime.h:
-- echo \#define COMPILE_TIME \"`date '+%Y %b %e %T %Z'`\" > comptime.h
-+ ${ECHO} \#define COMPILE_TIME \"`${DATE} '+%Y %b %e %T %Z'`\" > comptime.h
-
- #
- # Libraries
- #
-
- liboshw.a: oshw.h defs.h gen.h state.h err.h oshw/*.c oshw/*.h
-- (cd oshw && make)
-+ (cd oshw && ${MAKE})
-
- #
- # Resources
-@@ -90,18 +90,21 @@ tworldres.o: tworld.ico
+@@ -92,19 +92,21 @@ tworldres.o: tworld.ico
#
install: tworld
@@ -33,23 +16,24 @@ $NetBSD: patch-aa,v 1.3 2004/12/05 20:43:21 wiz Exp $
- cp -i data/*.dat $(sharedir)/data/.
- cp -i res/rc $(sharedir)/res/.
- cp -i res/*.bmp $(sharedir)/res/.
+- cp -i res/*.txt $(sharedir)/res/.
- cp -i res/*.wav $(sharedir)/res/.
- cp -i docs/tworld.6 $(mandir)/man6/.
+ ${BSD_INSTALL_DATA_DIR} $(bindir)
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/data
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/res
++ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld
+ ${BSD_INSTALL_DATA_DIR} $(mandir)/man6
+ ${BSD_INSTALL_PROGRAM} ./tworld $(bindir)/.
+ ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/.
+ ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/.
+ ${BSD_INSTALL_DATA} res/rc $(sharedir)/res/.
+ ${BSD_INSTALL_DATA} res/*.bmp $(sharedir)/res/.
++ ${BSD_INSTALL_DATA} res/*.txt $(sharedir)/res/.
+ ${BSD_INSTALL_DATA} res/*.wav $(sharedir)/res/.
+ ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/.
-+ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld
-+ ${BSD_INSTALL_DATA} README $(prefix)/share/doc/tworld
-+ ${BSD_INSTALL_DATA} docs/tworld.html $(prefix)/share/doc/tworld
++ ${BSD_INSTALL_DATA} README docs/tworld.html $(prefix)/share/doc/tworld
+
+ all: tworld mklynxcc
- clean:
- rm -f $(OBJS) tworld mklynxcc comptime.h config.*