Skip to content

Commit 085aa11

Browse files
committed
fixed a crash that could occur depending on windows redist
1 parent 356e08d commit 085aa11

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3333
- All music-related functionality from AudioMan has been removed due to the addition of the MusicMan. Generic DynamicSongs have been put in to use instead.
3434
Mod activities that used to queue up all the vanilla music should now instead call, for example, `MusicMan:PlayDynamicSong("Generic Battle Music")`
3535

36-
- Increased fog of war resolution in all vanilla activities, and conquest, from 20x20 to 4x4.
37-
The Ronin Scrambler, the basic scanner, and `SceneMan:CastUnseenRay` have been changed to accomodate fog of war resolutions as fine as 1x1 and as course as 20x20.
36+
- Increased fog-of-war resolution in all vanilla activities, and conquest, from 20x20 to 4x4.
37+
The Ronin Scrambler, the basic scanner, and `SceneMan:CastUnseenRay` have been changed to accomodate fog-of-war resolutions as fine as 1x1 and as course as 20x20.
38+
The fog-of-war revealing code is now multithreaded to increase performance.
3839

3940
- All vanilla scenario activities have had their settings polished, respecting settings which make sense and disabling settings which don't.
4041
You can now have fog of war in the test scene, and can no longer require path to orbit in Zero-G Diggers-Only One Man Army.
@@ -45,6 +46,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4546

4647
<details><summary><b>Fixed</b></summary>
4748

49+
- Fixed a crash on launch that could occur depending on what Microsoft Visual C++ Redistributable the user has installed.
50+
4851
- Fixed an issue where palette index 255 was incorrectly showing as black.
4952

5053
- Fixed instances of `CameraMan:GetScrollTarget()` and `CameraMan:SetScrollTarget()` supplying a player index instead of a screen index. This could prevent the functions from working properly, or at all, when playing as a player other than 1, potentially screwing up camera effects.

Source/System/StandardIncludes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#define _HAS_AUTO_PTR_ETC 1
55
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
66

7+
// without this, BS threadpool can crash on launch in some builds
8+
#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
9+
710
// Inclusion of relevant C++ Standard Library headers.
811
#include <cstdlib>
912
#include <cstdarg>

0 commit comments

Comments
 (0)