head 1.6; access; symbols pkgsrc-2019Q4:1.5.0.88 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.84 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.82 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.80 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.78 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.76 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.74 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.72 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.70 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.68 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.64 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.62 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.60 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.58 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.56 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.54 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.52 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.50 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.48 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.46 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.44 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.42 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.40 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.38 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.36 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.34 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.32 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.30 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.28 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.26 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.24 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.22 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.20 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.18 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.16 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.14 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.12 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.10 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.8 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.6 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.4 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.2 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.4.0.18 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.16 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.14 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.12 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.10 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.8 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.6 pkgsrc-2008Q1:1.4.0.4 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.2 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.3.0.24 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.22 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.20 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.18 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.16 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.14 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.12 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.10 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2020.01.18.23.21.03; author nia; state dead; branches; next 1.5; commitid E0qG8F9ouMJlceTB; 1.5 date 2009.08.29.11.42.04; author wiz; state Exp; branches; next 1.4; 1.4 date 2007.11.30.11.20.44; author wiz; state Exp; branches; next 1.3; 1.3 date 2004.12.05.20.43.21; author wiz; state Exp; branches; next 1.2; 1.2 date 2004.03.10.00.53.37; author snj; state Exp; branches; next 1.1; 1.1 date 2003.02.15.08.13.20; author salo; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.02.15.08.13.20; author salo; state Exp; branches; next ; desc @@ 1.6 log @tileworld: Update to 1.3.2 2015 Sep 10: version 1.3.2 * Added the messages feature, so that sets can have prolog/epilog texts attached to levels. * Added an init file (to the save directory) to save the user's volume level and last-played levelset. * Introduced a UI control to set the initial random-slide floor direction in a Lynx level. * Changed key count to wrap around, so that picking up 256 keys of one color resets its count to zero. (This used to be a documented difference between Tile World and the original Lynx, but the new release of CC1/CC2 follows the original's behavior, even though these are 32-bit programs. So I'm taking the hint and doing likewise.) 2015 Jul 24: version 1.3.1 * Fixed a couple of embarrassing bugs for 64-bit systems. * Improved the emulation (MS logic) of Chip turning a cloned block into a clone of himself while going through a teleport. * Fixed handling of blocks starting out on beartraps (MS logic). * Fixed bug (MS logic) reported by Evan Dummit of interaction of canmakemove(), pushblock(), and teleportcreature(). * Fixed bug (MS logic) with walkers and bugs detecting fire through teleports. * Fixed bug (MS logic) found by David Stolp in the timing of mouse-initiated moves. * Fixed bug (Lynx logic) with not initializing toggle wall state. * Fixed Lynx pedantic mode to allow creatures to rebound off the left and right edges of the map. (Touching the top or bottom boundaries of the map is still considered to be cause for failure.) * Tile World now stores the last level in the save file, and returns to it by default when the level set is revisited. * Added --long-options to the command-line option parser, just because. * The usual cleanups to avoid compiler warnings and minor improvements, and updates to the documentation. @ text @$NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $ --- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000 +++ Makefile.in @@@@ -92,19 +92,21 @@@@ tworldres.o: tworld.ico # install: tworld - mkdir -p $(bindir) - mkdir -p $(sharedir)/sets - mkdir -p $(sharedir)/data - mkdir -p $(sharedir)/res - mkdir -p $(mandir)/man6 - cp -i ./tworld $(bindir)/. - cp -i sets/*.dac $(sharedir)/sets/. - 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} ${DESTDIR}$(bindir) + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6 + ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/. + ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/. + ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/. + ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/. + ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/. + ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/. + ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/. + ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/. + ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld all: tworld mklynxcc @ 1.5 log @Convert to user-destdir. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $ @ 1.4 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2004/12/05 20:43:21 wiz Exp $ d22 15 a36 15 + ${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} README docs/tworld.html $(prefix)/share/doc/tworld @ 1.3 log @Update to 1.2.1: 2004 Oct 21: version 1.2.1 * Introduced a basic stepping-control UI, and added stepping information to the solution file format. * Fixed a bug (MS logic) reported by David Stolp, involving blocks going out and back into the slip list so quickly that they weren't sent to the end of the list. * Fixed a bug (MS logic) reported by David Stolp where block and creatures were not moving into key tiles if the bottom tile prevented it (e.g. a wall). * Fixed a bug in sdltext.c, reported by Dale Bryan caused a segfault in 16-bit color mode. * Added -r (read-only) cmdline option. 2004 Oct 04: version 1.2.0 * Fixed a bug (MS logic) preventing cloned tanks from turning around when they hadn't yet left the clone machine. * Fixed another longstanding bug (MS logic) involving a tank indirectly pushing a blue button. Again, the bug was fixed explicitly instead of trying to make the behavior arise naturally from the code. * Improved some of the behavior of blocks being pushed (Lynx logic). * Improved some of the behavior of blocked teleports (Lynx logic). * Altered animations to run for either 11 or 12 frames, depending on the parity of their initial frame, as discovered by ccexplore. (This finally killed the nine-lived clone-boosting bug in ICEHOUSE!) Also modified the point during the frame when animations get removed. * Changed the Lynx walker to use a PRNG equivalent to the original, as worked out by ccexplore. * Fixed bug (MS logic) in how a block is removed from the slip list when being pushed by Chip (reported by Shmuel Siegel). * Fixed bug (MS logic) with deferred button presses; TW was incorrectly deferring Chip's button presses and not just those caused by block pushing. * Fixed a horrid bug when encountering bogus values in a dat file. (The code was meant to gracefully ignore the broken level and continue reading the next level, but it failed to move the file position out of the broken level before doing so.) * Fixed keyboard routines so that they now understand characters as well as keystrokes (thus e.g. the program recognizes "?" when entered on a European keyboard). * Added a help screen for the initial file menu. * A few other minor bug fixes and miscellaneous improvements. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2004/03/10 00:53:37 snj Exp $ d3 1 a3 1 --- Makefile.in.orig 2004-09-26 10:35:50.000000000 +0200 d5 1 a5 18 @@@@ -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 d19 1 d26 1 d33 1 d36 3 a38 3 + ${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 a39 2 clean: rm -f $(OBJS) tworld mklynxcc comptime.h config.* @ 1.2 log @Use bl3, update to 1.1.3. Changes: * Added -a cmdline switch to help improve sound. * New images for the chip and the socket * Added -f switch to get fullscreen mode * Display code rewritten. Faster all around. * Miscellaneous other bugfixes @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Makefile.in.orig 2002-04-25 07:02:56.000000000 -0700 +++ Makefile.in 2004-03-09 16:45:56.000000000 -0800 @@@@ -68,14 +68,14 @@@@ err.o : err.c oshw.h err.h d22 1 a22 1 @@@@ -89,17 +89,18 @@@@ tworldres.o: tworld.ico d26 1 a26 1 - cp -i ./tworld $(bindir)/. d31 1 d34 3 a36 3 - cp -i resources/rc $(sharedir)/res/. - cp -i resources/*.bmp $(sharedir)/res/. - cp -i resources/*.wav $(sharedir)/res/. d38 1 a38 1 + ${BSD_INSTALL_PROGRAM} tworld $(bindir)/ d42 8 a49 5 + ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/ + ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/ + ${BSD_INSTALL_DATA} resources/rc resources/*.bmp \ + resources/*.wav $(sharedir)/res/ + ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/ d51 2 a52 2 + ${BSD_INSTALL_DATA} README $(prefix)/share/doc/tworld/ + ${BSD_INSTALL_DATA} docs/tworld.html $(prefix)/share/doc/tworld/ @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- Makefile.in.orig Thu Apr 25 16:02:56 2002 +++ Makefile.in Sat Feb 15 08:41:09 2003 @@@@ -68,14 +68,14 @@@@ d22 1 a22 1 @@@@ -89,17 +89,15 @@@@ d46 3 @ 1.1.1.1 log @Tile World is an emulation of the game "Chip's Challenge" (a registered trademark of Bridgestone Multimedia) created by Chuck Sommerville for the Atari Lynx. The player navigates Chip through various challenges and obstacles. The levels may have teleports, tools, protective gear, chips, keys, and other items. The goal is to reach the exit tile which takes you to the next level. Some levels have time limits. Package submitted by Jeremy C. Reed via PR pkg/20303 with some cleanups by me. @ text @@