Commit graph

1328 commits

Author SHA1 Message Date
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
Robert Beckebans
1870c57308 Cull envprobes that aren't connected to any visible area 2021-05-05 11:51:36 +02:00
Robert Beckebans
9a1ccf644a Don't render SSAO during multi bounce lightgrid bake 2021-05-04 19:33:22 +02:00
Robert Beckebans
0c07739483 bakeLightGrids grid( 32 32 64 ) light grid size option 2021-05-04 19:10:16 +02:00
Robert Beckebans
458f8f5155 Added options to bakeLightGrids -limit[num] -bounce[num] 2021-05-04 16:16:08 +02:00
Robert Beckebans
fc7e7acff2 Updated default builtin irradiance/radiance probe data 2021-05-03 22:38:51 +02:00
Robert Beckebans
c119cf3513 Several bugfixes that address cubemap processing for SH/GGX data 2021-05-03 20:36:26 +02:00
Robert Beckebans
7d5c840ec3 Updated changelog for upcoming release 2021-05-03 14:41:30 +02:00
Robert Beckebans
544ea11ce1
Merge pull request #557 from SRSaunders/master
Restore PCH for macOS Vulkan builds
2021-05-02 19:24:10 +02:00
Stephen Saunders
f6de8ee716 Restore PCH for macOS Vulkan builds 2021-05-02 13:10:03 -04:00
Robert Beckebans
443c852745 Updated zip script 2021-05-02 15:59:51 +02:00
Robert Beckebans
4026fea4a9 Surpress some warnings for retail builds 2021-05-02 15:42:40 +02:00
Robert Beckebans
460719336e Print time results at the end of all baking commands 2021-05-02 14:29:01 +02:00
Robert Beckebans
3786c3aa51 Fixed progressbar updates with bakeEnvironmentProbes 2021-05-01 16:28:05 +02:00