diff options
author | Erich Eckner <git@eckner.net> | 2021-07-30 23:02:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-30 23:02:20 +0200 |
commit | 236c0e6fdf067b7e5e9673dbc28a64e2aa97ed5b (patch) | |
tree | 3c34f6c05b35417f38f8d58befceb93cb76d7b83 | |
parent | 7144f8c847c8022484f22f54551578d1c69bf2da (diff) | |
download | crux-ports-236c0e6fdf067b7e5e9673dbc28a64e2aa97ed5b.tar.xz |
openttd-git: fix loading of old games
-rw-r--r-- | manualPorts/openttd-git/.md5sum | 2 | ||||
-rw-r--r-- | manualPorts/openttd-git/.signature | 6 | ||||
-rw-r--r-- | manualPorts/openttd-git/Pkgfile | 2 | ||||
-rw-r--r-- | manualPorts/openttd-git/underground.patch | 12 |
4 files changed, 17 insertions, 5 deletions
diff --git a/manualPorts/openttd-git/.md5sum b/manualPorts/openttd-git/.md5sum index 0b58d69..9cee40c 100644 --- a/manualPorts/openttd-git/.md5sum +++ b/manualPorts/openttd-git/.md5sum @@ -5,4 +5,4 @@ b552fbca542e6c216ff657b072292da8 dea999566.tar.gz 00fd6afd1ab1bfbd8d775175a42c3899 opntitle.dat 6cdd860cfb59c8e1aee2a118538ed802 signaltunnel.patch b1f3b6435c873053bfe6328fb989812e sloped-stations.patch -2782bb00aa71abf851c4f36a877ef5d6 underground.patch +0555f3fb59c02a3e2f8bb83b6608456a underground.patch diff --git a/manualPorts/openttd-git/.signature b/manualPorts/openttd-git/.signature index 8413177..0171f7f 100644 --- a/manualPorts/openttd-git/.signature +++ b/manualPorts/openttd-git/.signature @@ -1,12 +1,12 @@ untrusted comment: verify with /etc/ports/deepthought.pub -RWQxCptPusLGGi00Pgi9dpRIBexhyQeN80fv+42wofAl/DNzXwHnklk4xdqnaPEorenlyHz1kyH2dHxIQGYiqlWPwC6R/zTxXA0= -SHA256 (Pkgfile) = 8f909d732b5c474bbc0147c94f88701ba505283093a32546df56c72f2efa9f29 +RWQxCptPusLGGhzvYWqiBfMNMCKlN/UqXTSOe6cj7qa6c7ntycNd/g+Yy4Bu7qdRxshkjEloC2edyRSrOqQ+69PjW+j96W5kWws= +SHA256 (Pkgfile) = ecef8d27b6f0705afff4815a5e07583150c6fad9c39c6db3f4b3d8ae275825f9 SHA256 (.footprint) = b8abc09ddb43fa55f57ab7bfe2be10cc5a70a765d23a2c9554ff270ee3b0d801 SHA256 (opengfx-0.5.4.zip) = 3d136d776906dbe8b5df1434cb9a68d1249511a3c4cfaca55cc24cc0028ae078 SHA256 (opensfx-0.2.3.zip) = 3574745ac0c138bae53b56972591db8d778ad9faffd51deae37a48a563e71662 SHA256 (openmsx-0.3.1.zip) = 92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5 SHA256 (signaltunnel.patch) = 38909003a1ae4d3ce76c3136c1843f8fc3708756aab62b85c98ee2791d010ce9 SHA256 (sloped-stations.patch) = 2edbe8cecda584ba371baa7c91407875861e0f3a8f9d26d2bd980e3a8f21e906 -SHA256 (underground.patch) = 7db05e7863b2c1b59ccce8ec037af1b73eca40ba798cfbe9e6a8816a4cbe319e +SHA256 (underground.patch) = c8158a2daec1067e5a126879d373824911d0614ffc74546ad26622dbee0f0641 SHA256 (opntitle.dat) = f4931200a68a6f592716ec2dce468530670484dd357ab52c3a2272b9db3dfd95 SHA256 (dea999566.tar.gz) = e5e103dd3d0efc4bb10e76f18812c2b3b305400f22976f7d7fd210a2216f9cea diff --git a/manualPorts/openttd-git/Pkgfile b/manualPorts/openttd-git/Pkgfile index 17b1087..6f51bcd 100644 --- a/manualPorts/openttd-git/Pkgfile +++ b/manualPorts/openttd-git/Pkgfile @@ -10,7 +10,7 @@ version=31095.dea999566 gfxversion=0.5.4 sfxversion=0.2.3 msxversion=0.3.1 -release=1 +release=2 source=(http://bundles.openttdcoop.org/opengfx/releases/$gfxversion/opengfx-$gfxversion.zip http://bundles.openttdcoop.org/opensfx/releases/$sfxversion/opensfx-$sfxversion.zip http://bundles.openttdcoop.org/openmsx/releases/$msxversion/openmsx-$msxversion.zip diff --git a/manualPorts/openttd-git/underground.patch b/manualPorts/openttd-git/underground.patch index 99209d9..ecca3e9 100644 --- a/manualPorts/openttd-git/underground.patch +++ b/manualPorts/openttd-git/underground.patch @@ -2082,6 +2082,18 @@ index 70a014434..649c4a56a 100644 return cost; } +diff --git a/src/saveload/compat/map_sl_compat.h b/src/saveload/compat/map_sl_compat.h +index 84cfb2865..87ff25630 100644 +--- a/src/saveload/compat/map_sl_compat.h ++++ b/src/saveload/compat/map_sl_compat.h +@@ -16,6 +16,7 @@ + const SaveLoadCompat _map_sl_compat[] = { + SLC_VAR("dim_x"), + SLC_VAR("dim_y"), ++ SLC_VAR("layer_count"), + }; + + #endif /* SAVELOAD_COMPAT_MAP_H */ diff --git a/src/saveload/map_sl.cpp b/src/saveload/map_sl.cpp index 07a36d6a3..b86328de8 100644 --- a/src/saveload/map_sl.cpp |