Accepting request 889293 from home:susnux:branches:games

Update to 0.11.1

OBS-URL: https://build.opensuse.org/request/show/889293
OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=30
This commit is contained in:
Ferdinand Thiessen 2021-05-19 20:51:47 +00:00 committed by Git OBS Bridge
parent 6dc27b9dbe
commit 442cbe4afc
5 changed files with 60 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ab6036e65c83e98156317aebb3cd6013c8e25081fa8547007a25d299657f93d
size 25030267

3
cdogs-sdl-0.11.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c077b363859f22e5701f9fe1a0b3cf5f9e3464cf7110942f8ad7e70e833d6b1
size 26076067

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Apr 29 11:55:05 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 0.11.1
* Add building interior map generator
* Add mouse controls for menus
* Add fists weapon
* Add custom footstep sounds for bones character class
* Add auto-play --demo mode
* Add live backgrounds
* Add pigtails hair
* Fix crash when changing options
* Fix score popups not updating position
* Fix friendly fire from status-inducing weapons e.g. poison
* Fix flower not dropping pickups
* Fix frequent hangs at game startup, interior map generator
* Fix alert sounds for invisible characters
* Fix donut hair
* Improve options menus with left/right arrows
* Change menu sounds
* Change hitsounds enabled on invulnerable characters
* Editor:
* Add some new tile types and map objects e.g. cobble wall
* Add ability to place map objects of different types
on same tile
* Add random door position option for classic/interior
map types
* Add collapse UI area via grave key
* Fix flood fill crashing when applied at map edge
* Fix non-solid map objects added repeatedly at same position
-------------------------------------------------------------------
Tue Jan 5 23:57:23 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -17,14 +17,16 @@
Name: cdogs-sdl
Version: 0.10.2
Version: 0.11.1
Release: 0
Summary: Classic overhead run-and-gun game
License: GPL-2.0-only AND BSD-2-Clause AND CC-BY-3.0 AND CC-BY-SA-3.0
Group: Amusements/Games/Action/Shoot
URL: https://cxong.github.io/cdogs-sdl
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.12
# PATCH-FIX-UPSTREAM fix-multiple-definitions.patch -- Fix multiple definitions linking error in test file
Patch0: fix-multiple-definitions.patch
BuildRequires: cmake >= 3.1
BuildRequires: enet-devel
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
@ -46,6 +48,7 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
%prep
%setup -q
%patch0 -p1
# use system enet
rm -rf src/cdogs/enet
@ -57,9 +60,12 @@ rm -rf src/cdogs/enet
%cmake_install
%fdupes %{buildroot}%{_datadir}
%check
%ctest
%files
%license COPYING
%doc README.md
%doc %{_datadir}/%{name}/README.md
%{_datadir}/applications/*.desktop
%{_bindir}/%{name}*
%{_datadir}/%{name}/

View File

@ -0,0 +1,17 @@
diff -Nur cdogs-sdl-0.11.1/src/tests/player_test.c cdogs-new/src/tests/player_test.c
--- cdogs-sdl-0.11.1/src/tests/player_test.c 2021-04-13 12:56:58.000000000 +0200
+++ cdogs-new/src/tests/player_test.c 2021-04-29 14:16:24.644077308 +0200
@@ -11,13 +11,6 @@
#include <player_template.h>
#include <utils.h>
-// Stubs
-Campaign gCampaign;
-NetClient gNetClient;
-PlayerTemplates gPlayerTemplates;
-Config gConfig;
-
-
FEATURE(assign_unused, "Assign unused input device")
// This feature is used to assign input devices to players, before the game
// begins. All input devices can emit the "fire" command, at which point