summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorahoka <ahoka>2008-12-14 01:31:01 +0000
committerahoka <ahoka>2008-12-14 01:31:01 +0000
commitd2596e1c245249e214b5ba95a6ff6649fd915d32 (patch)
tree950f4372513d6ee2772f925a4b55de1c6ac7de4d /games
parent182ae7e9e8dd80102508e7613628266d471bcd0a (diff)
downloadpkgsrc-d2596e1c245249e214b5ba95a6ff6649fd915d32.tar.gz
0.6.3 (2008-10-01)
------------------------------------------------------------------------ - Fix: NewGRF VarAction 2 variable 43 for industries saw MP_VOID tiles as land tiles and was inefficient (r14417, r14416, r14415) - Fix: Possible buffer overrun/wrong parameter type passed to printf (r14414, r14397) - Fix: Generation seed set using -G was always overwritten by -g (r14408) - Fix: Do not allow extending signals by dragging in any direction other than the track direction [FS#2202] (r14013) 0.6.3-RC1 (2008-09-22) ------------------------------------------------------------------------ - Fix: Invalid v->u.air.targetairport could cause crashes at several places [FS#2300] (r14383, r14344, r14343) - Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain which might not be available (r14384) - Fix: Trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner [FS#1852] (r14371) - Fix: Multiheaded parts in free wagon chains weren't connected (could cause desyncs) (r14366, r14362) - Fix: [Win32] Some keypress combinations could be handled twice [FS#2206] (r14363) - Fix: The ownership of roadtiles was not properly set for very old savegames (including TTD's) making it impossible to remove some pieces of road [FS#2311] (r14359) - Fix: Desync due to randomly ordered vehicle hash by flooding and road vehicle overtake/following (r14356, r14258) - Fix: Signs were not updated on company bankrupcy/sell, and thus could have the colour of invalid player (r14348) - Fix: Delete the RenameSignWindow when 'its' sign is deleted (r14345) - Fix: Signs from old savegames were lost (causing little memory leaks) (r14340) - Fix: When a company was renamed and then manager was renamed before building anything, company name changed (r14328) - Fix: When you rename a town before building something and build something near that town your company would be called "<old townname> Transport" [FS#2251] (r14327) - Fix: Free any blocks that a helicopter may have on an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies [FS#2241] (r14324) - Fix: Possible assert when renaming removed waypoint (r14322) - Fix: Properly delete orders so the pool doesn't fill up (r14319) - Fix: Do not allow building road over level crossings and drive-through road stops in the wrong direction; do not allow adding roadtypes to non-drive through road stops; pay for all added road bits [FS#2268] (r14316, r14315, r14314, r14308) - Fix: Aircraft frozen above oil rig when the next order is invalid [FS#2244] (r14309) - Fix: [YAPF] Only reserve road slots for multistop when they are really reachable [FS#2294] (r14305) - Fix: One could be trying to get the station name of a station that is outside of the pool (r14297) - Fix: Default for sound effects and music volume should be in the valid range for that setting [FS#2286] (r14289) - Fix: Make small UFO aware of articulated RVs so they crash the complete vehicle instead of a small part of it (r14270) - Fix: Desyncs after deleting a waypoint because of explicit destructor call instead of using operator delete (r14265) - Fix: Merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people do not get confused that the keypad does not work as expected [FS#2277] (r14260) - Fix: Clicking on the smallmap didn't break the "follow vehicle in main viewport" [FS#2269] (r14243) - Fix: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines [FS#2267] (r14239) - Fix: Feeder share was computed wrong when splitting cargo packet (r14234) - Fix: Signs (town name, station name, ...) could be too long for 8bit width in pixels (r14221) - Fix: 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data (r14219) - Fix: When determining length of a string with limited size, first check if we are not out of bounds already (r14204) - Fix: Properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set [FS#2236] (r14192) - Fix: Sprite payload skipping would not skip enough bytes in a very small subset of compressed sprites (r14191) - Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early (r14182) - Fix: Close all related vehicle lists when closing a station window (and not only the train list) (r14180) - Fix: RemoveOrderFromAllVehicles() did not mark enough windows dirty (r14179) - Fix: Incorrect cargo weights (r14144) - Fix: GetSlopeZ() gets a virtual coordinate, not a tile (r14139) - Fix: Close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0 [FS#2249] (r14133) - Fix: [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY} (r14111) - Fix: Desync due to bubbles in toyland (r14110) - Fix: Make NewGRF action 0x06's changes persistent over the several loading stages [FS#1986] (r14102) - Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle (r14098) - Fix: Do not flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5) [FS#2230] (r14093) - Fix: The vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot (r14090) - Fix: Flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension [FS#2228] (r14087) - Fix: Division by 0 in NewAI [FS#2226] (r14062) - Fix: NewGRF callback 23 did not use the NewGRF compatible text stack [FS#2224] (r14058) - Fix: NewGRF text stack's "push word" didn't move the data around properly (r14057) - Fix: Long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box (r14054) - Fix: [OSX] changed the condition for selecting 8 or 32 bpp blitter by default. Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock) (r14032) - Fix: Crash when the AI tries to find the depot of an airport that doesn't have a depot [FS#2190] (r13999) - Fix: MSVC cannot handle changed files in the prebuild event, so make the version determination a separate subproject [FS#2004] (r13998) - Fix: The dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too [FS#2189] (r13992) - Fix: Resetting construction stage counter reset more than it should (r13981) - Fix: Wrong tooltip for the industry directory's list [FS#2178] (r13917)
Diffstat (limited to 'games')
-rw-r--r--games/openttd/Makefile6
-rw-r--r--games/openttd/PLIST25
-rw-r--r--games/openttd/distinfo10
-rw-r--r--games/openttd/patches/patch-aa78
-rw-r--r--games/openttd/patches/patch-ab13
5 files changed, 24 insertions, 108 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 62bfff0a9bf..055a175fb0e 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2008/08/21 11:37:01 abs Exp $
+# $NetBSD: Makefile,v 1.30 2008/12/14 01:31:01 ahoka Exp $
-DISTNAME= openttd-0.6.2-source
-PKGREVISION= 1
+DISTNAME= openttd-0.6.3-source
PKGNAME= ${DISTNAME:S/-source//}
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/}
@@ -23,6 +22,7 @@ USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --prefix-dir=${PREFIX}
CONFIGURE_ARGS+= --binary-dir=bin
CONFIGURE_ARGS+= --data-dir=share/openttd
+CONFIGURE_ARGS+= --man-dir=${PKGMANDIR}/man6
# disable custom assert for Mac OS X (XXX: still needed?)
CFLAGS+= -DNDEBUG=1
diff --git a/games/openttd/PLIST b/games/openttd/PLIST
index 302e351fafd..a524c1dfbf6 100644
--- a/games/openttd/PLIST
+++ b/games/openttd/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.11 2008/08/05 12:38:22 kefren Exp $
+@comment $NetBSD: PLIST,v 1.12 2008/12/14 01:31:01 ahoka Exp $
bin/openttd
+man/man6/openttd.6
share/openttd/data/openttdd.grf
share/openttd/data/openttdw.grf
share/openttd/data/opntitle.dat
@@ -9,10 +10,6 @@ ${PLIST.ttd-data}share/openttd/data/trgcr.grf
${PLIST.ttd-data}share/openttd/data/trghr.grf
${PLIST.ttd-data}share/openttd/data/trgir.grf
${PLIST.ttd-data}share/openttd/data/trgtr.grf
-share/openttd/docs/32bpp.txt
-share/openttd/docs/changelog.txt
-share/openttd/docs/known-bugs.txt
-share/openttd/docs/multiplayer.txt
${PLIST.ttd-data}share/openttd/gm/gm_tt00.gm
${PLIST.ttd-data}share/openttd/gm/gm_tt01.gm
${PLIST.ttd-data}share/openttd/gm/gm_tt02.gm
@@ -73,12 +70,24 @@ share/openttd/lang/swedish.lng
share/openttd/lang/traditional_chinese.lng
share/openttd/lang/turkish.lng
share/openttd/lang/ukrainian.lng
-share/pixmaps/openttd.32.bmp
share/pixmaps/openttd.32.xpm
-share/pixmaps/openttd.64.png
+share/applications/openttd.desktop
+share/doc/openttd/32bpp.txt
+share/doc/openttd/multiplayer.txt
+share/icons/hicolor/128x128/apps/openttd.128.png
+share/icons/hicolor/16x16/apps/openttd.16.png
+share/icons/hicolor/256x256/apps/openttd.256.png
+share/icons/hicolor/32x32/apps/openttd.32.png
+share/icons/hicolor/48x48/apps/openttd.48.png
+share/icons/hicolor/64x64/apps/openttd.64.png
+share/openttd/data/generictrams_v0.4.grf
+share/openttd/scenario/Greenistan.scn
+share/openttd/scenario/Polopolis.scn
+share/openttd/scenario/Skadi Islands.scn
+share/openttd/scenario/Terra Incognita.scn
+share/openttd/scenario/Wales and West England.scn
@comment in xdg-dirs: @dirrm share/pixmaps
@dirrm share/openttd/lang
-@dirrm share/openttd/docs
@unexec ${RMDIR} %D/share/openttd/data 2>/dev/null || ${TRUE}
@unexec ${RMDIR} %D/share/openttd/gm 2>/dev/null || ${TRUE}
@unexec ${RMDIR} %D/share/openttd 2>/dev/null || ${TRUE}
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index cb9a3f002d2..5ec88e6fcb3 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.13 2008/08/05 12:38:22 kefren Exp $
+$NetBSD: distinfo,v 1.14 2008/12/14 01:31:01 ahoka Exp $
-SHA1 (openttd-0.6.2-source.tar.bz2) = c53ec5515729613fe55bbb714af48b908e70af39
-RMD160 (openttd-0.6.2-source.tar.bz2) = 6e6d8864773138ed2f588b19c0a7f399607cf6ea
-Size (openttd-0.6.2-source.tar.bz2) = 3670638 bytes
-SHA1 (patch-aa) = 389ff1a447804e53df12072184c99b6ca3d70d62
-SHA1 (patch-ab) = ae1ff320072c65f68f09a34df55514c2be122b79
+SHA1 (openttd-0.6.3-source.tar.bz2) = 5fb359789fae9b03550da268973fb1238ddf224c
+RMD160 (openttd-0.6.3-source.tar.bz2) = ab1f2ae17cbc97c2ebc4eceb1496bc708e6d83d4
+Size (openttd-0.6.3-source.tar.bz2) = 4609714 bytes
SHA1 (ttd/gm_tt00.gm) = 79d21ad066867e9d737fb7b2fb1fbec9a7e3ff67
RMD160 (ttd/gm_tt00.gm) = 682df44d2080f78d26bfc7095b1da4b026c24e31
Size (ttd/gm_tt00.gm) = 29714 bytes
diff --git a/games/openttd/patches/patch-aa b/games/openttd/patches/patch-aa
deleted file mode 100644
index 8724295e8f0..00000000000
--- a/games/openttd/patches/patch-aa
+++ /dev/null
@@ -1,78 +0,0 @@
---- ./config.lib.orig 2008-08-02 02:52:22.000000000 +0300
-+++ ./config.lib 2008-08-05 13:34:05.000000000 +0300
-@@ -392,9 +392,9 @@
- exit 1
- fi
- # OS only allows DETECT, UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-- if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
-+ if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|OPENBSD|NETBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
- echo "configure: error: invalid option --os=$os"
-- echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
-+ echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|OPENBSD|NETBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
- exit 1
- fi
- # cpu_type can be either 32 or 64
-@@ -1003,6 +1003,10 @@
- LIBS="$LIBS -pthread"
- fi
-
-+ if [ "$os" = "NETBSD" ]; then
-+ LIBS="$LIBS -lpthread"
-+ fi
-+
- if [ "$os" = "FREEBSD" ]; then
- LIBS="$LIBS -lpthread"
- fi
-@@ -1019,7 +1023,7 @@
- fi
-
- # Most targets act like UNIX, just with some additions
-- if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "OPENBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
-+ if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "OPENBSD" ] || [ "$os" = "NETBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
- CFLAGS="$CFLAGS -DUNIX"
- fi
- # And others like Windows
-@@ -1542,7 +1546,7 @@
-
- detect_os() {
- if [ "$os" = "DETECT" ]; then
-- # Detect UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-+ # Detect UNIX, OSX, FREEBSD, OPENBSD, NETBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
-
- # Try first via dumpmachine, then via uname
- os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
-@@ -1550,6 +1554,8 @@
- /darwin/ { print "OSX"; exit}
- /freebsd/ { print "FREEBSD"; exit}
- /openbsd/ { print "OPENBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
- /morphos/ { print "MORPHOS"; exit}
- /beos/ { print "BEOS"; exit}
- /sunos/ { print "SUNOS"; exit}
-@@ -1566,6 +1572,7 @@
- /linux/ { print "UNIX"; exit}
- /darwin/ { print "OSX"; exit}
- /freebsd/ { print "FREEBSD"; exit}
-+ /netbsd/ { print "NETBSD"; exit}
- /openbsd/ { print "OPENBSD"; exit}
- /morphos/ { print "MORPHOS"; exit}
- /beos/ { print "BEOS"; exit}
-@@ -1579,7 +1586,7 @@
- if [ -z "$os" ]; then
- log 1 "detecting OS... none detected"
- log 1 "I couldn't detect your OS. Please use --os=OS to force one"
-- log 1 "Allowed values are: UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
-+ log 1 "Allowed values are: UNIX, OSX, FREEBSD, OPENBSD, NETBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
- exit 1
- fi
-
-@@ -2320,7 +2327,7 @@
- echo " --awk=AWK the awk to use in configure [awk]"
- echo " --lipo=LIPO the lipo to use (OSX ONLY) [HOST-lipo]"
- echo " --os=OS the OS we are compiling for [DETECT]"
-- echo " DETECT/UNIX/OSX/FREEBSD/OPENBSD/MORPHOS/"
-+ echo " DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/MORPHOS/"
- echo " BEOS/SUNOS/CYGWIN/MINGW/OS2/WINCE/PSP"
- echo " --endian=ENDIAN set the endian of the HOST (AUTO/LE/BE)"
- echo " --revision=rXXXX overwrite the revision detection."
diff --git a/games/openttd/patches/patch-ab b/games/openttd/patches/patch-ab
deleted file mode 100644
index 4852912440a..00000000000
--- a/games/openttd/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2008/04/07 19:44:19 tnn Exp $
-
---- Makefile.in.orig 2008-01-14 21:30:05.000000000 +0100
-+++ Makefile.in
-@@ -258,7 +258,7 @@ ifdef OSXAPP
- install:
- @echo '[INSTALL] Cannot install the OSX Application Bundle'
- else
--install: bundle
-+install:
- @echo '[INSTALL] Installing OpenTTD'
- $(Q)install -d "$(INSTALL_BINARY_DIR)"
- $(Q)install -d "$(INSTALL_ICON_DIR)"