summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-04 11:02:26 +0000
committernia <nia@pkgsrc.org>2021-09-04 11:02:26 +0000
commit53c3533e7df77b05ba135c6910d2dce9e220700d (patch)
treece1755a65317a1e32f8524a7461400588bc6484d /games
parent8156536d628087191ff24fd9d1ef37592d3f7e9a (diff)
downloadpkgsrc-53c3533e7df77b05ba135c6910d2dce9e220700d.tar.gz
corsix-th: update to 0.65.1
New Features/Enhancements * On MacOS DMG files are now supported as disk images for Theme Hospital data * Hospital policies will now carry over to your next level in the campaign * You can now remove destroyed rooms for a fee (config option) * The information dialogs that appear when a room is first built can be disabled in the configuration file * Fire extinguishers in rooms now have a chance to save a smoking machine from exploding * Advisor has more advice * Additional trophy of the original game is implemented * Windows and room size now impact staff happiness * Roujin's challenge cheat is back * Experimental direct_zoom config option, for more efficient zoom. Fixes zoom on some hardware. Defaults off. Changes * Emergencies with unknown diseases will no longer occur * The VIP system has been overhauled to provide more balanced ratings * Overpriced/Underpriced treatments now scale with difficulty * Placing a receptionist on a desk will now call her to the desk * Boiler breakdowns now depend on handymen * Faxes can no longer be opened while paused (unless editing while paused is enabled) * Improvements to receptionist announcement frequency and behaviour * The game will now check common locations for Theme Hospital on startup if it has not been configured * Games compiled without movie/audio can no longer access these settings * Update check now occurs over TLS for better security * English names are now shown in a tooltip when hovering over a language option * Improved TTF font rendering Translations * Greek language added! (thanks to dimitrios-iliadis!) * Updates to Brazilian-Portuguese language * Updates to English language * Fixes to Chinese unicode encoding Bug Fixes * Issues scheduling emergencies have been resolved * Games will no longer crash on load if the jukebox was open * Games will no longer crash because of an empty music folder * Fixed a scenario where editing a room caused staff to get stuck * Games that scrolled while saving stop scrolling on load * Psychiatrists in the Operating Theatre are now properly counted * Losing a game now gives the reason if the movie is skipped * Exiting the game will no longer hang when using the Wayland backend * The mouse will now be freed on game crash Packager Notes * Support added for Lua 5.4.x. (5.4.0 and 5.4.1 are not supported) * CMake minimum version has been increased to 3.5 * The CMake option to enable AnimView is now BUILD_ANIMVIEW=ON
Diffstat (limited to 'games')
-rw-r--r--games/corsix-th/Makefile15
-rw-r--r--games/corsix-th/PLIST12
-rw-r--r--games/corsix-th/distinfo10
3 files changed, 22 insertions, 15 deletions
diff --git a/games/corsix-th/Makefile b/games/corsix-th/Makefile
index b74c848373c..3f14c270c4e 100644
--- a/games/corsix-th/Makefile
+++ b/games/corsix-th/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/08/18 17:57:50 leot Exp $
+# $NetBSD: Makefile,v 1.6 2021/09/04 11:02:26 nia Exp $
-DISTNAME= corsix-th-0.64
-PKGREVISION= 2
+DISTNAME= corsix-th-0.65.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=CorsixTH/}
GITHUB_PROJECT= CorsixTH
@@ -12,8 +11,12 @@ HOMEPAGE= https://github.com/CorsixTH/CorsixTH
COMMENT= Reimplementation of the game engine of Theme Hospital
LICENSE= mit
-DEPENDS+= lua53-filesystem-[0-9]*:../../devel/lua-filesystem
-DEPENDS+= lua53-lpeg-[0-9]*:../../devel/lua-lpeg
+LUA_VERSIONS_ACCEPTED= 54 53 52 51
+
+.include "../../lang/lua/luaversion.mk"
+
+DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+= ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
USE_CMAKE= yes
USE_TOOLS+= pkg-config
@@ -36,7 +39,7 @@ CMAKE_ARGS+= -D${module}_LIBRARIES=${PREFIX}/lib/ffmpeg4/lib${module:tl}.${SOEXT
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/corsix-th/PLIST b/games/corsix-th/PLIST
index 8c093560f95..46f311999ce 100644
--- a/games/corsix-th/PLIST
+++ b/games/corsix-th/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2020/03/05 13:59:55 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/09/04 11:02:26 nia Exp $
bin/corsix-th
man/man6/corsix-th.6
-share/applications/com.corsixth.CorsixTH.desktop
+share/applications/com.corsixth.corsixth.desktop
share/corsix-th/Bitmap/aux_ui.dat
share/corsix-th/Bitmap/aux_ui.tab
share/corsix-th/Bitmap/bootstrap_font.dat
@@ -66,6 +66,7 @@ share/corsix-th/Lua/app.lua
share/corsix-th/Lua/audio.lua
share/corsix-th/Lua/base_config.lua
share/corsix-th/Lua/calls_dispatcher.lua
+share/corsix-th/Lua/cheats.lua
share/corsix-th/Lua/class.lua
share/corsix-th/Lua/config_finder.lua
share/corsix-th/Lua/date.lua
@@ -108,7 +109,7 @@ share/corsix-th/Lua/dialogs/place_staff.lua
share/corsix-th/Lua/dialogs/queue_dialog.lua
share/corsix-th/Lua/dialogs/resizable.lua
share/corsix-th/Lua/dialogs/resizables/calls_dispatcher.lua
-share/corsix-th/Lua/dialogs/resizables/cheats.lua
+share/corsix-th/Lua/dialogs/resizables/cheats_dialog.lua
share/corsix-th/Lua/dialogs/resizables/customise.lua
share/corsix-th/Lua/dialogs/resizables/directory_browser.lua
share/corsix-th/Lua/dialogs/resizables/dropdown.lua
@@ -188,6 +189,8 @@ share/corsix-th/Lua/filesystem.lua
share/corsix-th/Lua/game_ui.lua
share/corsix-th/Lua/graphics.lua
share/corsix-th/Lua/hospital.lua
+share/corsix-th/Lua/hospitals/ai_hospital.lua
+share/corsix-th/Lua/hospitals/player_hospital.lua
share/corsix-th/Lua/humanoid_action.lua
share/corsix-th/Lua/humanoid_actions/answer_call.lua
share/corsix-th/Lua/humanoid_actions/call_checkpoint.lua
@@ -230,6 +233,7 @@ share/corsix-th/Lua/languages/english.lua
share/corsix-th/Lua/languages/finnish.lua
share/corsix-th/Lua/languages/french.lua
share/corsix-th/Lua/languages/german.lua
+share/corsix-th/Lua/languages/greek.lua
share/corsix-th/Lua/languages/hungarian.lua
share/corsix-th/Lua/languages/iberic_portuguese.lua
share/corsix-th/Lua/languages/italian.lua
@@ -347,4 +351,4 @@ share/corsix-th/Lua/walls/yellow.lua
share/corsix-th/Lua/window.lua
share/corsix-th/Lua/world.lua
share/icons/hicolor/scalable/apps/corsix-th.svg
-share/metainfo/com.corsixth.CorsixTH.appdata.xml
+share/metainfo/com.corsixth.corsixth.metainfo.xml
diff --git a/games/corsix-th/distinfo b/games/corsix-th/distinfo
index ac3c3f37df2..80c39d35f3f 100644
--- a/games/corsix-th/distinfo
+++ b/games/corsix-th/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/06/29 14:59:26 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/09/04 11:02:26 nia Exp $
-SHA1 (corsix-th-0.64.tar.gz) = e0bbc2522a3623f84fade42dfcb8b6a80927fd00
-RMD160 (corsix-th-0.64.tar.gz) = 34691711d40d4d049f5e76f1a1154130ebfda4e8
-SHA512 (corsix-th-0.64.tar.gz) = c02d07ae4fb9a1ce008f32c4b9ea12a949316feddca4e2a29e860e0d88efdfa0440d372b00b9d3eda5e5c3ca739085510ebe8650790d06a7e91255b7d0990e6c
-Size (corsix-th-0.64.tar.gz) = 4062048 bytes
+SHA1 (corsix-th-0.65.1.tar.gz) = d4f58d5382baca6e91cf98bf39f3a172863197fa
+RMD160 (corsix-th-0.65.1.tar.gz) = 0d59b232ea6f8ed02291ba297b555699f0291c9a
+SHA512 (corsix-th-0.65.1.tar.gz) = b7e964c22517b94cb1dafb0529368c87a2e58cf1f784062b9f2f72749ba69523b63d4f846ebd582c71cf5ca7e7c437a34717ca3877ad3737139ba2fd6a316577
+Size (corsix-th-0.65.1.tar.gz) = 4163922 bytes