Page 1 of 1

New Release: 2.4.26 "Tanksgiving"

Posted: Sun Nov 20, 2022 10:34 pm
by blast
We are pleased to announce the release of BZFlag 2.4.26. Platform binaries and the source code are available for download using the following links:

Windows: https://download.bzflag.org/bzflag/wind ... 2.4.26.exe
macOS (Intel): https://download.bzflag.org/bzflag/maco ... x86_64.zip
macOS (Apple Silicon): https://download.bzflag.org/bzflag/maco ... -arm64.zip
Source Code: https://download.bzflag.org/bzflag/source/2.4.26/

This release mainly fixes a few client bugs:
  • Audio pops should be fixed.
  • Positional audio in observer mode now uses the camera direction.
  • Fixed a regression that caused some textures to render skewed.
  • Fixed the Machine Gun firing continuously when the mouse wheel is used to fire.

Re: New Release: 2.4.26 "Tanksgiving"

Posted: Sun Dec 25, 2022 12:06 am
by WHAMMO!
any hope of fixing machine bug within Mac OS version?

Re: New Release: 2.4.26 "Tanksgiving"

Posted: Sun Dec 25, 2022 2:10 pm
by blast
The mac version of 2.4.26 hasn't been released yet. Once it is, it would have that fix.

Re: New Release: 2.4.26 "Tanksgiving"

Posted: Mon Jan 02, 2023 6:58 pm
by macsforme
The macOS builds are posted. As usual, we are not yet signing and notarizing the builds, so you will need to right-click (or ctrl-click) on the application and select "Open" from the contextual menu in order to bypass Gatekeeper for the first launch.

For the nerds among us, both builds still ship with the following small patch to the included SDL 2.0.20 framework to correct an issue with switching from fullscreen mode to windowed mode (later versions of SDL are not fixed by this patch, but I hope to look into that later):

Code: Select all

diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index cad77f1a8..4c296334b 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -2958,13 +2958,11 @@ SDL_OnWindowResized(SDL_Window * window)
     int display_index = SDL_GetWindowDisplayIndex(window);
     window->surface_valid = SDL_FALSE;
 
-    if (!window->is_destroying) {
-        SDL_SendWindowEvent(window, SDL_WINDOWEVENT_SIZE_CHANGED, window->w, window->h);
+    SDL_SendWindowEvent(window, SDL_WINDOWEVENT_SIZE_CHANGED, window->w, window->h);
 
-        if (display_index != window->display_index && display_index != -1) {
-            window->display_index = display_index;
-            SDL_SendWindowEvent(window, SDL_WINDOWEVENT_DISPLAY_CHANGED, window->display_index, 0);
-        }
+    if (display_index != window->display_index && display_index != -1) {
+        window->display_index = display_index;
+        SDL_SendWindowEvent(window, SDL_WINDOWEVENT_DISPLAY_CHANGED, window->display_index, 0);
     }
 }