2021-11-25 22:05:49 +00:00
committed by Git OBS Bridge
7 changed files with 62 additions and 40 deletions
+51
View File
@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Sun Nov 21 17:58:50 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.8.2
New features
* Added a smooth scrolling and movement mode. When this is
enabled, the game is taking full advantage of the display
framerate (60 FPS or higher) by interpolating object and
camera movement during rendering (internal game logic is
still running at 15 FPS). This is currently still work in
progress, see known issues.
* The engine has a built-in screenshot function now. Press F12
to take a screenshot. It will be saved as PNG in either your
Duke Nukem II game files directory, or in the user profile
directory if the former is not writable.
* It's now possible to skip the bonus screen after finishing a
level by pressing Enter or Esc (or controller button A or B).
* Added an option to the Enhancements tab to skip the intro
when RigelEngine starts (same as the -s command line option).
* Added information about currently active gamepads to the
options menu
Improvements
* In widescreen mode, out of bounds areas are now drawn in
black instead of showing the background.
* Replacement backgrounds (mods) can now be wider than the
original art they are replacing, and will be displayed
correctly (without distortion)
* For auto-scrolling backgrounds, the scroll position is now
saved/restored when quick saving/loading.
* The game will now run even if the intro movie files
(NUKEM2.F1, .F2 etc.) are missing. The movies will be
skipped instead of exiting the game.
* Game physics are more correct now w.r.t. the original code
when it comes to items falling down.
Bug fixes
* Fixed the "wall dance" glitch. This glitch allows Duke to move
through walls using a specific sequence of moves.
* Fixed spiders sometimes not latching on to Duke when touching
him.
* Fixed items getting stuck in the ceiling when the box was shot
while hidden behind a rock that would later fall down (e.g. in
N2).
* Fixed missing animation for the Computer merchandise pickup.
* Fixed a glitch when starting a level while having high
resolution mods enabled, where the graphics would briefly show
as low resolution.
* Fixed in-game messages not being affected by screen shake when
in widescreen mode.
- Remove patches:
* 749.patch
-------------------------------------------------------------------
Sun Sep 26 09:30:00 UTC 2021 - Martin Hauke <mardnh@gmx.de>
+3 -5
View File
@@ -18,15 +18,13 @@
Name: RigelEngine
Version: 0.8.1beta
Version: 0.8.2beta
Release: 0
Summary: A modern reimplementation of the game Duke Nukem II
License: GPL-2.0-only
Group: Amusements/Games/Action/Arcade
URL: https://github.com/lethal-guitar/RigelEngine
Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM: 749.patch - Fix "threads" not found on Tumbleweed
Patch0: https://patch-diff.githubusercontent.com/raw/lethal-guitar/RigelEngine/pull/749.patch
# PATCH-FIX-OPENSUSE: fix-find-boost-program_options
Patch1: fix-find-boost-program_options.patch
BuildRequires: boost-devel
@@ -51,7 +49,6 @@ available shareware version.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
@@ -59,7 +56,8 @@ available shareware version.
export CC="gcc-9"
export CXX="g++-9"
%endif
%cmake \
%cmake -DBUILD_TESTS=ON \
-DBUILD_MODDING_TOOLS=ON \
%ifarch %arm aarch64
-DUSE_GL_ES=1 \
%endif
+2 -2
View File
@@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/lethal-guitar/RigelEngine.git</param>
<param name="revision">v0.8.1</param>
<param name="versionformat">v0.8.1beta</param>
<param name="revision">v0.8.2</param>
<param name="versionformat">v0.8.2beta</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="recompress" mode="disabled">
-27
View File
@@ -1,27 +0,0 @@
From b3cddf23087754e46fb221e7d67f689e7a0bc86a Mon Sep 17 00:00:00 2001
From: lethal-guitar <lethal_guitar128@web.de>
Date: Thu, 30 Sep 2021 14:04:37 +0200
Subject: [PATCH] Fix openSUSE Tumbleweed build
According to the CMake docs [1], CMAKE_THREAD_LIBS_INIT may be empty
even if threads are available. Therefore, we should use Threads_FOUND
instead. This fixes the build on openSUSE Tumbleweed.
[1] https://cmake.org/cmake/help/latest/module/FindThreads.html
---
cmake/Modules/FindSDL2.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/Modules/FindSDL2.cmake b/cmake/Modules/FindSDL2.cmake
index 5f84690c..2c86179f 100644
--- a/cmake/Modules/FindSDL2.cmake
+++ b/cmake/Modules/FindSDL2.cmake
@@ -227,7 +227,7 @@ endif()
# But for non-OSX systems, I will use the CMake Threads package.
if(NOT APPLE AND NOT MSVC)
find_package(Threads QUIET)
- if(NOT CMAKE_THREAD_LIBS_INIT)
+ if(NOT Threads_FOUND)
set(SDL2_THREADS_NOT_FOUND "Could NOT find Threads (Threads is required by SDL2).")
if(SDL2_FIND_REQUIRED)
message(FATAL_ERROR ${SDL2_THREADS_NOT_FOUND})
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c77c1b264e055297d70f671b3386a695e342e477ada42dda4cadfea1eb84b9b8
size 5261820
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffc0762ddf4169b35ebad3247a302c521aa8b51a3dd3c47e484187857dc37793
size 5202300
+3 -3
View File
@@ -1,13 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 405533e..084da2e 100644
index 80bd62c..85e7cf5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,7 +54,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Emscripten")
@@ -55,7 +55,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Emscripten")
rigel_define_wasm_targets_for_dependencies()
else()
- set(Boost_USE_STATIC_LIBS ON)
+ set(Boost_USE_STATIC_LIBS OFF)
find_package(Boost 1.65 COMPONENTS program_options)
find_package(Boost 1.64 COMPONENTS program_options)
find_package(SDL2 REQUIRED)
find_package(SDL2_mixer REQUIRED)