8 Commits

Author SHA256 Message Date
51071f7a17 Accepting request 1325698 from games
OBS-URL: https://build.opensuse.org/request/show/1325698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bstone?expand=0&rev=19
2026-01-07 15:02:19 +00:00
ac2c25a9f6 - Update to version 1.3.2
* Fixed [#505] Elevator stats screen sound timing.
- Update to version 1.3.1
  * Fixed [#525][VK] Handle resize and swapchain image acquisition.
- Update to version 1.3.0
  Added
  * Vulkan 1.0 renderer.
  * New values for cvar 'vid_renderer': 'vulkan' and 'null'
    (debug build only).
  * [CMake] New option 'BSTONE_VULKAN_COMPILE_SHADERS' to control
    compiling Vulkan shaders. Useful for development.
  * [CMake] New option 'BSTONE_VULKAN_COMPILE_SHADERS_DEBUG_BUILD'
    to control debug information in Vulkan shaders. Useful for
    development.
  Changed
  * Use short Git hash for window caption and package version.
  Fixed
  * [GLAPIGEN] Fix possible sub-expression overflow.
  * [GLAPIGEN] Fix operator precedence.

OBS-URL: https://build.opensuse.org/package/show/games/bstone?expand=0&rev=43
2026-01-07 05:09:48 +00:00
e752247c48 Accepting request 1279926 from games
OBS-URL: https://build.opensuse.org/request/show/1279926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bstone?expand=0&rev=18
2025-05-26 16:37:18 +00:00
583ee23024 - Update to version 1.2.16
Added
  * Exclusive fullscreen mode and borderless fullscreen windowed
    mode.
  * Cvar to control refresh rate in exclusive fullscreen mode
    (vid_refresh_rate).
  * Cvar to control window mode (vid_window_mode).
  Fixed
  * [CMake] Do not use command 'project' in the intermediate
    scripts.
- Update to version 1.2.15
  Fixed
  * MacOS build with embeded SDL v2.32.2.

OBS-URL: https://build.opensuse.org/package/show/games/bstone?expand=0&rev=41
2025-05-25 17:29:49 +00:00
0618bcf97e Accepting request 1256048 from games
OBS-URL: https://build.opensuse.org/request/show/1256048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bstone?expand=0&rev=17
2025-03-25 22:09:59 +00:00
68172d4eaf - Update to version 1.2.14
Fixed
  * Crash if external textures are on and there are no any texture
    file.
  * Crash when extracting the sprites.
  *  Missing path normalization in extractors.
  * Crash when level to extract is missing.

OBS-URL: https://build.opensuse.org/package/show/games/bstone?expand=0&rev=39
2025-03-25 19:31:30 +00:00
2f58dd4fb7 Accepting request 1231562 from games
OBS-URL: https://build.opensuse.org/request/show/1231562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bstone?expand=0&rev=16
2024-12-17 18:23:08 +00:00
5c0e993991 Accepting request 1231021 from home:mnhauke:games
- Update to version 1.2.13
  Fixed
  * [AOG][HWR] Fix weapon position when toggle widescreen.
  * Hide back-to-demo menu item when there is no mission active.
  * Informants Die Upon Reloading a QuickSave.
  * Fizzle fade on death.
  * Don't increase a turn speed when running.
  * [AOG] Walking sounds for Cyborg Warrior and Bio-Mech Guardian.
  * "Full map" cheat.
  * Asleep enemies when dumps info to log.
  * [Windows] DPI awarness.
  * [HWR] Render walls on both sides of a door to avoid a possible
    gap.
  * Possible saved game corruption.
  * Load maps from https://legacy.3drealms.com/stuff/bsflrs.zip.
  * Boss spawning in AOG.
  * Error at startup when profile directory is empty.
  * Buffer overflow for textured ceiling or floor.
  * [CFG] Escape argument string on serialization.
  * Sprite extraction error "Sprite page index out of range."
  * "Actor is in actorat" condition.
  * Order buttons inside the message box from right to left.
  * Possible out of range index access in ClearNClose.
  * [HWR] Crash on E5M14.
  * [SDL] Audio mixer crash on exit.
  * Crash when playing UI sound and there is no audio devices
    detected.
  Added
  * [#503] If the player score for the level is above 96%, the
    informant will tell the location of a single missing enemy or

OBS-URL: https://build.opensuse.org/request/show/1231021
OBS-URL: https://build.opensuse.org/package/show/games/bstone?expand=0&rev=37
2024-12-16 17:41:09 +00:00
5 changed files with 127 additions and 95 deletions

View File

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

3
bstone-1.3.2.tar.gz Normal file
View File

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

View File

@@ -1,85 +0,0 @@
diff --git a/src/bstone_binary_reader.cpp b/src/bstone_binary_reader.cpp
index a144997..870ea7d 100644
--- a/src/bstone_binary_reader.cpp
+++ b/src/bstone_binary_reader.cpp
@@ -5,6 +5,7 @@ Copyright (c) 2013-2022 Boris I. Bendovsky (bibendovsky@hotmail.com)
SPDX-License-Identifier: GPL-2.0-or-later
*/
+#include <cstdint>
#include <utility>
#include "bstone_binary_reader.h"
#include "bstone_endian.h"
diff --git a/src/bstone_binary_writer.h b/src/bstone_binary_writer.h
index f72f98c..5b24493 100644
--- a/src/bstone_binary_writer.h
+++ b/src/bstone_binary_writer.h
@@ -8,6 +8,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#ifndef BSTONE_BINARY_WRITER_INCLUDED
#define BSTONE_BINARY_WRITER_INCLUDED
+#include <cstdint>
#include "bstone_stream.h"
namespace bstone
diff --git a/src/bstone_cl_args.cpp b/src/bstone_cl_args.cpp
index 4002a23..c8f9600 100644
--- a/src/bstone_cl_args.cpp
+++ b/src/bstone_cl_args.cpp
@@ -10,6 +10,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#include "bstone_string_helper.h"
+#include <cstdint>
namespace bstone
{
diff --git a/src/bstone_memory_stream.h b/src/bstone_memory_stream.h
index 11b7205..90440d9 100644
--- a/src/bstone_memory_stream.h
+++ b/src/bstone_memory_stream.h
@@ -12,6 +12,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#ifndef BSTONE_MEMORY_STREAM_INCLUDED
#define BSTONE_MEMORY_STREAM_INCLUDED
+#include <cstdint>
#include <vector>
#include "bstone_stream.h"
#include "bstone_un_value.h"
diff --git a/src/bstone_ren_3d_shader_var.h b/src/bstone_ren_3d_shader_var.h
index ce2c38b..dd486d9 100644
--- a/src/bstone_ren_3d_shader_var.h
+++ b/src/bstone_ren_3d_shader_var.h
@@ -14,7 +14,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#ifndef BSTONE_REN_3D_SHADER_VAR_INCLUDED
#define BSTONE_REN_3D_SHADER_VAR_INCLUDED
-
+#include <cstdint>
#include <memory>
#include <string>
diff --git a/src/bstone_string_helper.h b/src/bstone_string_helper.h
index d2df6e2..1796c57 100644
--- a/src/bstone_string_helper.h
+++ b/src/bstone_string_helper.h
@@ -11,6 +11,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#include <string>
+#include <cstdint>
namespace bstone
diff --git a/src/id_heads.h b/src/id_heads.h
index 1a3dc44..e330cec 100644
--- a/src/id_heads.h
+++ b/src/id_heads.h
@@ -11,6 +11,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#include <array>
+#include <cstdint>
#include "bstone_cl_args.h"

View File

@@ -1,3 +1,117 @@
-------------------------------------------------------------------
Tue Jan 6 16:18:19 UTC 2026 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.3.2
* Fixed [#505] Elevator stats screen sound timing.
- Update to version 1.3.1
* Fixed [#525][VK] Handle resize and swapchain image acquisition.
- Update to version 1.3.0
Added
* Vulkan 1.0 renderer.
* New values for cvar 'vid_renderer': 'vulkan' and 'null'
(debug build only).
* [CMake] New option 'BSTONE_VULKAN_COMPILE_SHADERS' to control
compiling Vulkan shaders. Useful for development.
* [CMake] New option 'BSTONE_VULKAN_COMPILE_SHADERS_DEBUG_BUILD'
to control debug information in Vulkan shaders. Useful for
development.
Changed
* Use short Git hash for window caption and package version.
Fixed
* [GLAPIGEN] Fix possible sub-expression overflow.
* [GLAPIGEN] Fix operator precedence.
-------------------------------------------------------------------
Tue May 13 19:00:19 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.2.16
Added
* Exclusive fullscreen mode and borderless fullscreen windowed
mode.
* Cvar to control refresh rate in exclusive fullscreen mode
(vid_refresh_rate).
* Cvar to control window mode (vid_window_mode).
Fixed
* [CMake] Do not use command 'project' in the intermediate
scripts.
- Update to version 1.2.15
Fixed
* MacOS build with embeded SDL v2.32.2.
-------------------------------------------------------------------
Sat Mar 22 08:22:24 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.2.14
Fixed
* Crash if external textures are on and there are no any texture
file.
* Crash when extracting the sprites.
* Missing path normalization in extractors.
* Crash when level to extract is missing.
-------------------------------------------------------------------
Sat Dec 14 18:32:44 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.2.13
Fixed
* [AOG][HWR] Fix weapon position when toggle widescreen.
* Hide back-to-demo menu item when there is no mission active.
* Informants Die Upon Reloading a QuickSave.
* Fizzle fade on death.
* Don't increase a turn speed when running.
* [AOG] Walking sounds for Cyborg Warrior and Bio-Mech Guardian.
* "Full map" cheat.
* Asleep enemies when dumps info to log.
* [Windows] DPI awarness.
* [HWR] Render walls on both sides of a door to avoid a possible
gap.
* Possible saved game corruption.
* Load maps from https://legacy.3drealms.com/stuff/bsflrs.zip.
* Boss spawning in AOG.
* Error at startup when profile directory is empty.
* Buffer overflow for textured ceiling or floor.
* [CFG] Escape argument string on serialization.
* Sprite extraction error "Sprite page index out of range."
* "Actor is in actorat" condition.
* Order buttons inside the message box from right to left.
* Possible out of range index access in ClearNClose.
* [HWR] Crash on E5M14.
* [SDL] Audio mixer crash on exit.
* Crash when playing UI sound and there is no audio devices
detected.
Added
* [#503] If the player score for the level is above 96%, the
informant will tell the location of a single missing enemy or
item.
* [CMake] Option BSTONE_INTERNAL_SDL2 to use bundled SDL2 source
code.
* CVar facility.
* Add tool to trim file paths in the executable.
* Add option to control checking for error of 3D renderer API.
* [PS] Add option to toggle a map in stats like in AOG.
* Add Git commit's hash to the version.
* Log error when message box fails.
* Option extract_levels to extract levels in MapEdit format (FLR).
* Button to error message box to open a log file.
Changed
* [#383] Change description of "is windowed" for windowed
fullscreen.
* Relicense completely new source code under MIT license.
* [AUDIO] Rename audio driver type 2d_sdl to system.
* [AUDIO] Rename audio driver type 3d_openal to openal.
* Rename cvar vid_aa_kind to vid_aa_type.
* [CVAR] Rename audio drivers (r2_sdl -> system,
r3_openal -> openal).
* Rename cvar vid_aa_kind to vid_aa_type.
* Use multiple search paths (data, mod) for external resources.
* Update Nuked OPL3 to cfedb09efc03f1d7b5fc1f04dd449d77d8c49d50.
* Update stb (stb_image.h v2.29; stb_image_write.h v1.16).
* Set CMake minimum version to v3.5.0.
* Option --data_dir does not affect auto-detection of original
assets.
- Drop patch:
* bstone-fix-build-with-gcc13.patch
-------------------------------------------------------------------
Thu Feb 22 10:31:29 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,8 +1,8 @@
#
# spec file for package bstone
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2019-2022, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2019-2026, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: bstone
Version: 1.2.12
Version: 1.3.2
Release: 0
Summary: A source port of Blake Stone
# bstone is GPL-2.0+, but statically links GLM (MIT license), STB (public domain or MIT), and xbrz (GPL-3.0+)
@@ -26,9 +26,10 @@ License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later
Group: Amusements/Games/3D/Shoot
URL: https://bibendovsky.github.io/bstone/
Source: https://github.com/bibendovsky/bstone/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: bstone-fix-build-with-gcc13.patch
BuildRequires: ImageMagick
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl2)
@@ -44,23 +45,25 @@ Supported games:
* Aliens of Gold (v1.0/v2.0/v2.1/v3.0) full or shareware
* Planet Strike (v1.0/v1.1)
NOTE: To play Blake Stone with bstone you need the original game files
You need to start the game from within the folder with these files.
%prep
%autosetup -p1
magick convert src/bstone/src/resources/win32/bstone_icon.ico %{name}.png
%build
%cmake
%cmake_build
%install
install -Dm0755 build/src/bstone %{buildroot}%{_bindir}/bstone
install -Dm0755 build/src/bstone/bstone %{buildroot}%{_bindir}/bstone
install -Dm0644 %{name}-4.png %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
%files
%license LICENSE "Blake Stone source code license.doc"
%license LICENSE.txt "Blake Stone source code license.doc"
%doc CHANGELOG.md README.md
%{_bindir}/bstone
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog