Commit graph

1591 commits

Author SHA1 Message Date
Robert Beckebans
cc659683f3 Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-06-12 10:30:12 +02:00
Robert Beckebans
7f41a7b3cc Updated contributor credits 2021-06-12 10:30:08 +02:00
Robert Beckebans
f7fb7831b6
Merge pull request #580 from SRSaunders/master
Fix openal-soft includes on macOS; fix default sysroot for cmd line builds
2021-06-12 09:58:24 +02:00
Robert Beckebans
5b1be1613d Extended Q/A 2021-06-11 23:21:28 +02:00
Robert Beckebans
49363c0cbe Added single spot light example to README.md 2021-06-11 17:18:00 +02:00
Stephen Saunders
4c3a9ad3df Use custom _aligned_alloc on macOS for better SDK and runtime portability 2021-06-11 11:12:49 -04:00
Robert Beckebans
30dc354df6 Updated README.md for upcoming PBR release on ModDB 2021-06-11 15:18:34 +02:00
Stephen Saunders
ab9857987c Add note to macOS vulkan build script re MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE env var 2021-06-10 12:33:17 -04:00
Stephen Saunders
1d35964f82 Fix openal-soft includes on macOS; fix default sysroot for cmd line builds 2021-06-10 12:01:22 -04:00
Robert Beckebans
c705e894fd Don't lookup Steam and GOG D3BFG paths by default.
This breaks development builds however you can set this behaviour by
setting +set sys_useSteamPath 1 or +set sys_useGOGPath 1
2021-06-04 13:06:34 +02:00
Robert Beckebans
6ee08ed8a4 Formatting 2021-06-03 12:27:40 +02:00
Robert Beckebans
583de344b6
Merge pull request #575 from BielBdeLuna/patch-3
Fix dmap errors: added -ffp-contract=off and took out -ffast-math
2021-06-03 11:37:42 +02:00
Robert Beckebans
3c80a8de53
Merge pull request #570 from raynorpat/fix-classicdoom-music-xaudio2
Fix Classic Doom Music playback with XAudio2 backend
2021-06-03 11:34:58 +02:00
Robert Beckebans
7ee0123763
Merge pull request #565 from SRSaunders/master
Fix build on macOS for latest Vulkan SDK 1.2.176.1
2021-06-03 11:33:34 +02:00
Biel Bestué de Luna
9395db18c8
also added -fno-math-errno and -fno-trapping-math 2021-06-01 22:15:39 +02:00
Biel Bestué de Luna
fb31e404a4
added -ffp-contract=off and took out -ffast-math
took out `-ffast-math` because according to the gcc optimize documentation it could bring:
> incorrect output for programs that depend on an exact implementation of IEEE or ISO rules/specifications for math functions.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffast-math

and put in `-ffp-contract=off` because at optimization levels of `-O2` and higher the operations of multiply and summing  are not handled correctly and give wrong values, breaking in our case the Cross product of the vector math:
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffp-contract
2021-06-01 14:24:08 +02:00
Stephen Saunders
baedc98b6d Update cmake shell scripts for macOS with improved Xcode integration 2021-05-27 23:41:05 -04:00
raynorpat
2e0adb4af9 Fix Classic Doom Music playback with XAudio2 backend 2021-05-27 17:57:15 -04:00
Robert Beckebans
4ce0f587cb Fixed typo 2021-05-26 10:35:59 +02:00
Robert Beckebans
306fb42cda Updated Changelog 2021-05-26 09:33:33 +02:00
Robert Beckebans
b14a5b4fbb Applied Astyle 2021-05-26 09:25:28 +02:00
Robert Beckebans
4c7e6ba501
Merge pull request #568 from raynorpat/steam-gog-path-win-support
Steam and GOG.com base path support for Windows
2021-05-26 09:22:43 +02:00
Robert Beckebans
eba1bf978c
Merge pull request #567 from raynorpat/cmake-update
Some improvements to CMakeLists.txt
2021-05-26 09:20:04 +02:00
Robert Beckebans
7c7964154a
Merge pull request #566 from raynorpat/master
Add define wrappers for classic Doom in sound/OpenAL/AL_SoundHardware.cpp
2021-05-26 09:12:39 +02:00
raynorpat
90a20aec42 Support for Steam and GOG.com base path detection for Windows.
This uses the registry unfortunately, but is fairly clean.

This will check the Steam App ID first, then the Steam install path, then finally will check the GOG.com App ID.
2021-05-25 23:20:54 -04:00
raynorpat
b91080902b Convert USE_INTRINSICS to USE_INTRINSICS_SSE and fix CMakeLists.txt logic surrounding its check to focus on x86 and x86_64 CPU types 2021-05-25 20:06:37 -04:00
raynorpat
49e46df731 Fix two compiler warnings in idlib/math/Vector.h - floor to floorf 2021-05-25 20:04:41 -04:00
raynorpat
4281dd6dcf Some improvements to CMakeLists.txt:
- Change tests for Clang and AppleClang to use MATCHES instead of STREQUAL
 - Add USE_FOLDERS global property, which helps keep the CMake default targets neat in IDEs
 - Sets the default startup project in MSVC to RBDoom3BFG instead of ALL_BUILD, helps for easier debugging when opening the solution for the first time
 - Sets the default debug directory path for MSVC, setting it to the root directory, which again helps for easier debugging
2021-05-25 18:46:12 -04:00
raynorpat
e574c50526 Add define wrappers for classic Doom in sound/OpenAL/AL_SoundHardware.cpp, similar to XAudio2
Also add MSVC 2019 Win10 OpenAL CMake batch file
2021-05-25 18:38:49 -04:00
Stephen Saunders
2068e92d92 Use default VULKAN_SDK location on macOS; disable broken ZERO_CHECK for Xcode Vulkan builds 2021-05-25 13:33:28 -04:00
Stephen Saunders
ea8096d949 Remove erroneous comment from CMakeLists 2021-05-25 01:04:23 -04:00
Stephen Saunders
2429e8bda0 Fix build on macOS for latest Vulkan SDK 1.2.176.1 2021-05-23 12:00:01 -04:00
Robert Beckebans
447d11b1ee Run astyle 2021-05-20 08:10:50 +02:00
Robert Beckebans
f7c1ab7bfb Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-05-20 08:08:40 +02:00
Robert Beckebans
85993e28ad Give generated envprobes proper names 2021-05-20 08:08:35 +02:00
Robert Beckebans
dcbd2de28a
Merge pull request #564 from erickzmx/fix-empty-ase
Fix for ASE meshes without materials.
2021-05-20 08:05:11 +02:00
Robert Beckebans
b2cc747084
Merge pull request #561 from SRSaunders/master
Fix com_smp = -1 logic error in Frame() if com_editors active
2021-05-20 08:05:02 +02:00
ErickMx
b60f3907fc Fixed loading empty ASE Models 2021-05-20 00:21:13 -05:00
Robert Beckebans
72a737d992 Updated release notes, added angles support for lights 2021-05-09 21:25:25 +02:00
Stephen Saunders
fdd9bbbcf8 Fix com_smp = -1 logic error in Frame() if com_editors active 2021-05-08 10:49:44 -04:00
Robert Beckebans
d7a96ca21b Allow sys_lang to be saved to config 2021-05-08 15:05:47 +02:00
Robert Beckebans
0814287639 Updated release notes with screenshots 2021-05-08 11:34:12 +02:00
Robert Beckebans
5cd5f21564 Fixed reloading of images after bakeEnvironmentProbes... 2021-05-07 13:14:00 +02:00
Robert Beckebans
e466940b95 Write smaller EXR files using TinyEXR zip compression 2021-05-07 11:31:03 +02:00
Robert Beckebans
fb7558ca1e Updated LICENSE_EXCEPTIONS.md with non-GPL stuff 2021-05-06 17:37:04 +02:00
Robert Beckebans
b633582dff
Merge pull request #559 from SRSaunders/master
Fixed uint64_t print formatting in Allocator_VK.cpp
2021-05-06 14:51:27 +02:00
Robert Beckebans
329d822d32 Show all valid light material textures with editLights 2021-05-06 13:31:58 +02:00
Robert Beckebans
cde3a596ee Added editLights cmd as shortcut for g_editEntityMode 1 2021-05-06 10:03:06 +02:00
Stephen Saunders
7918e9af5e Fixed uint64_t print formatting in Allocator_VK.cpp 2021-05-05 12:33:53 -04:00
Robert Beckebans
5a24940e08 Fixed reloading of images after bakeEnvironmentProbes 2021-05-05 12:34:45 +02:00