pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RigelEngine: update to RigelEngine-0.8.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon Aug 23 16:23:12 2021 +0200
Changeset:	114103241362bcdc31f05f267f26eac7b4d5eea9

Modified Files:
	RigelEngine/Makefile
	RigelEngine/distinfo
	RigelEngine/patches/patch-3rd__party_CMakeLists.txt
	RigelEngine/patches/patch-CMakeLists.txt

Log Message:
RigelEngine: update to RigelEngine-0.8.0

Beta v0.8.0

Release notes

New features

  * Extended modding support: It's now possible for sprites,
    tilesets, backdrops, sound effects, and music to be replaced with
    higher fidelity assets in modern formats. See modding support for
    more info.
  * More sound options: In addition to SoundBlaster sound effects,
    AdLib and combined AdLib + SB effects can now be chosen, like in
    the original game
  * Added a "About" tab to the options menu with version information
    and credits
  * Added an option to disable screen flash effects
  * Added an optional bilinear filtering up-scaling mode (only works
    if no high-res replacement graphics are used)

Gamepad support and usability improvements

  * More types of gamepads are supported out of the box in the
    Windows and Mac versions (on Linux, it depends on the SDL version
    installed in the system)
  * Added support for multiple gamepads/controllers: When multiple
    gamepads are connected at the same time, the game will react to
    inputs from all of them.
  * Added a "Quick Save" entry to the gamepad in-game menu as an
    alternative to using the "select"/"back" button
  * The Mac build now supports high DPI displays (e.g. Retina).
    Previously, the game would appear slightly blurry on these kinds
    of displays.
  * The Windows build now ships with a much newer version of SDL
    (2.0.14 instead of 2.0.4).
  * The Windows build doesn't pop up a console window in the
    background anymore.
  * Errors during initialization (e.g. because of missing OpenGL
    support) are now popping up a message box with the error message
  * Improved boss health bar in episode 3: In the original game, the
    health bar is too big to fit on screen, causing it to not move
    for most of the boss battle. In RigelEngine, the health bar now
    shows this particular boss' health as a percentage instead of
    showing one pixel per unit of health, making the health bar
    always fit on screen.
  * It's now possible to switch between windowed and fullscreen modes
    in the OpenGL ES version, when running in a Desktop environment
    (e.g. X11/Wayland).
  * Improved layout of the options menu (the game path selection is
    now bottom-aligned, and thus doesn't move around anymore when
    switching between tabs)
  * The numpad arrow keys can now be used for menu navigation.

Bug fixes

  * Fixed alt-tabbing on Linux (the game would freeze after
    alt-tabbing away and back)
  * Fixed broken backdrop flash effect when destroying the reactors
    in L5
  * Fixed sound/music toggles in options menu not fitting on screen
    at very small resolutions (e.g. on OGA)
  * Fixed a problem in wide-screen mode where some sprites in the
    lower left part of the screen (to the left of the HUD) would
    sometimes not be rendered
  * Fixed incorrect background after quick loading in L1, when the
    quick save was made before using the teleporter but the loading
    was triggered after using it (i.e. from outside the prison
    environment back into the prison environment)
  * Fixed sound effect that kept playing after exiting the intro
    movie at the right moment
  * When switching to windowed mode for the first time, the window
    was stuck in the top-left corner with the title bar off screen,
    making it hard to move the window. This is now fixed.
  * Fixed crash in wide-screen mode when the screen was too wide
    (wider than the level)
  * Fixed an issue where switching wide-screen on while in windowed
    mode and then resizing the window afterwards would sometimes
    result in parts of the window not being drawn (remaining black)
  * Fixed spiders incorrectly animating while waiting in ambush (e.g.
    in L8)
  * Fixed Duke briefly hovering in the air when unlocking a key/force
    field while in the air
  * Small bombs (e.g. dropped by 1st episode boss) were incorrectly
    damaging the player on touch (only the explosion is meant to be
    damaging). This is now fixed.
  * Fixed incorrect death animation for final boss (episode 4)
  * Fire bombs (from red boxes) didn't destroy laser turrets, only
    stunning them like Duke's regular shot. This is now fixed.
  * Fixed a soft-lock related to the snake enemy that eats Duke:
    Killing a snake at the exact moment that it started swallowing
    Duke would result in Duke disappearing and the level not being
    playable anymore

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=114103241362bcdc31f05f267f26eac7b4d5eea9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 RigelEngine/Makefile                               |  6 +++---
 RigelEngine/distinfo                               | 12 ++++++------
 .../patches/patch-3rd__party_CMakeLists.txt        | 22 +++++++++++-----------
 RigelEngine/patches/patch-CMakeLists.txt           | 10 +++++-----
 4 files changed, 25 insertions(+), 25 deletions(-)

diffs:
diff --git a/RigelEngine/Makefile b/RigelEngine/Makefile
index 8a7e77a6b5..49e27af77c 100644
--- a/RigelEngine/Makefile
+++ b/RigelEngine/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	RigelEngine
-GITHUB_TAG=	v0.7.1-beta
+GITHUB_TAG=	v0.8.0
 DISTNAME=	${GITHUB_TAG}
-PKGNAME=	RigelEngine-0.7.1
+PKGNAME=	RigelEngine-${GITHUB_TAG:S/^v//}
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=lethal-guitar/}
 DIST_SUBDIR=	${GITHUB_PROJECT}
@@ -17,7 +17,7 @@ HOMEPAGE=	https://github.com/lethal-guitar/RigelEngine/
 COMMENT=	Modern re-implementation of the classic DOS game Duke Nukem II
 LICENSE=	gnu-gpl-v2
 
-WRKSRC=		${WRKDIR}/RigelEngine-0.7.1-beta
+WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++17
 
diff --git a/RigelEngine/distinfo b/RigelEngine/distinfo
index ea59fd96a5..989d46702c 100644
--- a/RigelEngine/distinfo
+++ b/RigelEngine/distinfo
@@ -4,9 +4,9 @@ SHA1 (RigelEngine/imgui-1.7.9.tar.gz) = da92c36e123002475cd6adba8e3429051a317e71
 RMD160 (RigelEngine/imgui-1.7.9.tar.gz) = 2ae1cb43d0048e1f74f812ec47de5280dda53a84
 SHA512 (RigelEngine/imgui-1.7.9.tar.gz) = 35ed7af89123e09989ef81085f19ed15f97f4798e2b35834fd8b4ae918889b51132d85901f867ab2f379711a734bc7b2edd309d74f3f7527eaaaebfd766d3737
 Size (RigelEngine/imgui-1.7.9.tar.gz) = 1299303 bytes
-SHA1 (RigelEngine/v0.7.1-beta.tar.gz) = 42098673b7ed460071b3f4e94b29839f08e5ea4c
-RMD160 (RigelEngine/v0.7.1-beta.tar.gz) = 3cc71f845402ec7932f3ee9365bc9f150ddee9ca
-SHA512 (RigelEngine/v0.7.1-beta.tar.gz) = 84d398c08bfaea16d2e9a9f8d4eea860f62f7f5ff8166456dd5c61cc8f2ab1bf7a70c37e8180cc412a875325f6ecc7a14600a76948197c9407d85146599bfaed
-Size (RigelEngine/v0.7.1-beta.tar.gz) = 774503 bytes
-SHA1 (patch-3rd__party_CMakeLists.txt) = 5f478b0f4888c91367d87eb72453a10a585c2d93
-SHA1 (patch-CMakeLists.txt) = 148e401abbed52fc5747f6c182f2efeb9018fbd6
+SHA1 (RigelEngine/v0.8.0.tar.gz) = aa15de72ed75294a98310a3ddddf47a0ecfd5313
+RMD160 (RigelEngine/v0.8.0.tar.gz) = 9c053e502af7cab3ffa64fb27a32c80e68bd1faa
+SHA512 (RigelEngine/v0.8.0.tar.gz) = 829c3b27084e42c1eca0de2f57c4888c731516396547951031ef23a7e1780a6ef04b06a28dd7d7a942f184f6200039f26a122ee31e8652ec5c277eb14ddeec51
+Size (RigelEngine/v0.8.0.tar.gz) = 931596 bytes
+SHA1 (patch-3rd__party_CMakeLists.txt) = f49945a17edea545a69f1cb50525843cea161fa7
+SHA1 (patch-CMakeLists.txt) = 16d0f7280af0f937874348bc3a49016dc582d849
diff --git a/RigelEngine/patches/patch-3rd__party_CMakeLists.txt b/RigelEngine/patches/patch-3rd__party_CMakeLists.txt
index 9e28a477cc..b8bafce2c9 100644
--- a/RigelEngine/patches/patch-3rd__party_CMakeLists.txt
+++ b/RigelEngine/patches/patch-3rd__party_CMakeLists.txt
@@ -2,19 +2,19 @@ $NetBSD$
 
 Don't download entityx. Use the pkgsrc version.
 
---- 3rd_party/CMakeLists.txt.orig	2021-01-24 14:40:40.000000000 +0000
+--- 3rd_party/CMakeLists.txt.orig	2021-08-22 10:14:12.000000000 +0000
 +++ 3rd_party/CMakeLists.txt
-@@ -28,11 +28,11 @@ set(ENTITYX_RUN_BENCHMARKS false CACHE I
- set(ENTITYX_MAX_COMPONENTS 64 CACHE INTERNAL "")
+@@ -34,11 +34,11 @@ set(ENTITYX_MAX_COMPONENTS 64 CACHE INTE
  
- add_subdirectory(dbopl)
--add_subdirectory(entityx)
-+#add_subdirectory(entityx)
- add_subdirectory(glad)
- add_subdirectory(speex_resampler)
- add_subdirectory(stb)
- add_subdirectory(imgui)
- add_subdirectory(imgui-filebrowser)
+ # EXCLUDE_FROM_ALL to disable installing these HO or static library deps
+ add_subdirectory(dbopl EXCLUDE_FROM_ALL)
+-add_subdirectory(entityx EXCLUDE_FROM_ALL)
++#add_subdirectory(entityx EXCLUDE_FROM_ALL)
+ add_subdirectory(glad EXCLUDE_FROM_ALL)
+ add_subdirectory(speex_resampler EXCLUDE_FROM_ALL)
+ add_subdirectory(stb EXCLUDE_FROM_ALL)
+ add_subdirectory(imgui EXCLUDE_FROM_ALL)
+ add_subdirectory(imgui-filebrowser EXCLUDE_FROM_ALL)
  
 -rigel_disable_warnings(entityx)
 +#rigel_disable_warnings(entityx)
diff --git a/RigelEngine/patches/patch-CMakeLists.txt b/RigelEngine/patches/patch-CMakeLists.txt
index aeaef92b3f..b388b13109 100644
--- a/RigelEngine/patches/patch-CMakeLists.txt
+++ b/RigelEngine/patches/patch-CMakeLists.txt
@@ -2,9 +2,9 @@ $NetBSD$
 
 Don't download entityx. Use the pkgsrc.
 
---- CMakeLists.txt.orig	2020-11-28 16:11:39.000000000 +0000
+--- CMakeLists.txt.orig	2021-08-22 10:14:12.000000000 +0000
 +++ CMakeLists.txt
-@@ -25,10 +25,10 @@ include("${CMAKE_SOURCE_DIR}/cmake/rigel
+@@ -30,10 +30,10 @@ include("${CMAKE_SOURCE_DIR}/cmake/rigel
  # initialized. It's still possible to get in a state where entityx is present
  # but other submodules are not, but that's unlikely to happen to someone who
  # has just cloned the repo and wants to build for the first time.
@@ -19,12 +19,12 @@ Don't download entityx. Use the pkgsrc.
  
  
  if("${CMAKE_SYSTEM_NAME}" STREQUAL "Emscripten")
-@@ -53,6 +53,8 @@ else()
-     find_package(Boost 1.65 COMPONENTS program_options REQUIRED)
+@@ -58,6 +58,8 @@ else()
+     find_package(Boost 1.65 COMPONENTS program_options)
      find_package(SDL2 REQUIRED)
      find_package(SDL2_mixer REQUIRED)
 +    find_package(PkgConfig REQUIRED)
 +    pkg_check_modules(ENTITYX entityx REQUIRED)
  endif()
  
- find_package(Filesystem REQUIRED)
+ find_package(Filesystem REQUIRED COMPONENTS Final)


Home | Main Index | Thread Index | Old Index