Commit graph

132 commits

Author SHA1 Message Date
Magnus Norddahl
cfe30c1d47 Fix stdexcept include errors 2023-09-18 04:59:13 -04:00
Cacodemon345
ba9ce0e83f Switch to miniz from zlib 2023-09-17 23:52:51 +02:00
Magnus Norddahl
45a2cbe081 Update zvulkan to latest version 2023-09-16 00:32:15 -04:00
alexey.lysiuk
76734201e6 - updated zlib to 1.3
https://www.zlib.net/zlib-1.3.tar.gz
2023-09-13 12:50:42 +03:00
Romain Tisserand
06f13006ca Allows building gzdoom with Vulkan with either X11 or Wayland WSI integration through CMake options 2023-09-07 10:17:12 -04:00
Christoph Oelckers
351e0d7ed9 - removed obsolete CMake version requirements.
Most were still at 3.1 which prompts noisy warnings from up-to-date CMake versions.
Version requirements have been removed entirely from dependent subprojects, all others were upped to 3.16.
2023-09-03 09:04:17 +02:00
Christoph Oelckers
4baabf98c4 - use stb-image for JPEG decoding.
the statically provided library did not provide any advantage over it whatsoever and even libjpeg-turbo's better performance cannot really play out here so ease of use and getting rid of a dependency wins.
2023-09-03 08:34:58 +02:00
Christoph Oelckers
fdad3186a6 - replaced zstrformat with stb_sprintf.
The main advantage here is that this allows to get rid of the gdtoa dependency, it is also preferable to have some code here that's being maintained.
Feature-wise both are mostly identical, stb also support MSFT integer size modifiers and hexadecimal floats.
2023-08-09 11:51:46 +02:00
Jan Engelhardt
a6b9dd0c30 build: resolve missing includes under gcc-13
$ make
...
~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp: In member function ‘std::unique_ptr<VulkanShader> ShaderBuilder::Create(const char*, VulkanDevice*)’:
~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp:168:28: error: ‘runtime_error’ is not a member of ‘std’
~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h: In function ‘void VmaUint32ToStr(char*, size_t, uint32_t)’:
~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h:2410:9: error: ‘snprint ’ was not declared in this scope
2023-03-31 08:01:55 -04:00
Christoph Oelckers
47b76180d6 - fixed several warnings emitted by Clang. 2023-03-26 08:48:54 +02:00
alexey.lysiuk
7b2d54da35 - updated zlib to 1.2.13
https://zlib.net/zlib-1.2.13.tar.gz
2023-01-13 09:51:29 +02:00
Magnus Norddahl
7b864fd665 Add vulkan pipeline cache 2022-12-19 17:40:27 +01:00
Christoph Oelckers
79a38f1f3a Merge branch 'master' of https://github.com/coelckers/gzdoom 2022-12-18 15:21:42 +01:00
Christoph Oelckers
e17e6868e6 - removed bogus errno check from Dehacked parser.
This checked errno without first confirming that there has been an error, it is also pointless because the value range check will automatically catch the error case as well.
2022-12-11 21:08:22 +01:00
alexey.lysiuk
561bce40fc
- removed clangformat from discord-rpc 2022-12-11 17:15:09 +02:00
Magnus Norddahl
03ab65ab1e Fix linux compile errors from the zvulkan switch 2022-12-05 07:49:43 +01:00
Magnus Norddahl
6a005e3a2a Switch vulkan backend to use the zvulkan library 2022-12-05 07:49:43 +01:00
Rachael Alexanderson
37da5268e1 - remove clang-format directives 2022-11-08 11:01:50 -05:00
alexey.lysiuk
7afcf43f20 - disabled discord-rpc debug info for configurations without it 2022-08-29 10:42:07 +03:00
Magnus Norddahl
386cb5bfb2 Mute some warnings 2022-06-22 07:55:19 +02:00
Magnus Norddahl
dba514a2cf Fix CMakeLists.txt missing file error 2022-06-22 07:55:19 +02:00
Magnus Norddahl
5cc21c5a4a Upgrade glslang to 11.10.0 2022-06-22 07:55:19 +02:00
Magnus Norddahl
5e9906e3d3 Upgrade glsl compiler to 11.6.0 2022-06-22 07:55:19 +02:00
alexey.lysiuk
201652bb36 - removed useless linker flags set by Discord RPC for macOS
This fixes lots of 'object file was built for newer macOS version than being linked' warnings
2022-04-17 16:52:00 +03:00
alexey.lysiuk
4049a0d8f1 - updated zlib to 1.2.12
https://www.zlib.net/zlib-1.2.12.tar.gz
2022-03-31 09:47:31 +03:00
Christoph Oelckers
701b7c3902 - silence the noisy warning output of the discordrpc subproject. 2022-03-17 08:14:08 +01:00
Rachael Alexanderson
bfd0f8fa0a - silence error C5045 in MSVC 2022-03-11 11:02:55 -05:00
Rachael Alexanderson
47333badba - remove extra rapidjson library, use internal one from gzdoom instead 2022-03-11 10:55:30 -05:00
Rachael Alexanderson
e212fa1310 - remove drpc example files 2022-03-10 15:12:18 -05:00
Rachael Alexanderson
18def622b4 - remove examples from DiscordRPC library - we don't need them. the library is freely available for anyone who needs them. 2022-03-10 15:09:53 -05:00
Rachael Alexanderson
85c432c699 - Discord RPC presence. Adds new IWADINFO and GAMEINFO keys: DiscordAppId - this should point to your AppId for your game. It will use a default GZDoom one if not found. 2022-03-09 22:45:59 -05:00
alexey.lysiuk
6aea7694bc - updated LZMA to 21.07
https://www.7-zip.org/sdk.html
https://www.7-zip.org/a/lzma2107.7z
2022-01-01 15:58:40 +02:00
drfrag
bb8534ed00 Fix LZMA compilation with VS 32 bit.
(patch by Igor Pavlov)
2021-11-29 16:17:47 +01:00
alexey.lysiuk
9fac6058b7 - enabled LZMA multithreading on all platforms 2021-11-27 17:02:12 +02:00
alexey.lysiuk
121b89306a - updated LZMA to 21.06
https://www.7-zip.org/sdk.html
https://www.7-zip.org/a/lzma2106.7z
2021-11-27 17:00:53 +02:00
Christoph Oelckers
ba618d308c - bumped CMake version to 3.1.0 in all projects to reduce warning spam in recent versions.
3.1.0 is the highest minimum set in the existing subprojects so this will not exclude anything that hadn't been already.
2021-03-08 13:58:29 +01:00
alexey.lysiuk
0036f7fade - fixed wrong gdtoa definitions for Apple ARM64
https://forum.zdoom.org/viewtopic.php?t=71303
2021-01-28 12:56:10 +02:00
William Breathitt Gray
63aeea5b9e Force STATIC for internal GZDoom SPIRV library
This makes sure the internal version of this library bundled with the
GZDoom source code is used. This prevents the system from building
GZDoom for dynamic linking with an incompatible external library (see
commit 6fafa297bf and
<https://forum.zdoom.org/viewtopic.php?f=2&t=64633>).
2020-06-21 15:52:31 +03:00
Christoph Oelckers
c485256c74 Merge remote-tracking branch 'remotes/origin/zmusic_dll' 2020-02-15 10:22:45 +01:00
Magnus Norddahl
a056307218 Upgrade glslang to 8.13.3559 (stable release January 6, 2020) 2020-02-15 08:51:03 +01:00
Christoph Oelckers
2dd3c28d05 - transitioned engine to use ZMusic as a DLL. 2020-02-09 08:56:49 +01:00
alexey.lysiuk
c466422095 - fixed uninitialized variable in OPL song
Mono streams could be erroneously treated as stereo, doubling their playback speed

https://forum.zdoom.org/viewtopic.php?t=66939
2020-01-12 18:02:26 +02:00
Petr Mrázek
3c20d5fe88 - Run the Alsa MIDI thread every 40ms or so, use non-blocking sequencer 2020-01-04 20:19:36 +01:00
Christoph Oelckers
829d43baed - fixed warnings. 2020-01-04 09:44:48 +01:00
Rachael Alexanderson
3e4d53e8b6 - add EnumerateDevices for alsa per suggestion of the original author 2020-01-03 10:35:13 -05:00
Rachael Alexanderson
fabf3d8ca4 - fix compiler error with Alsa enumeration 2020-01-02 20:21:10 -05:00
Christoph Oelckers
8898448014 - refactored the MIDI list code.
Let's hope nothing got broken on the Linux side, the recent submission's code was not usable.
2020-01-02 14:21:26 +01:00
Christoph Oelckers
f442d2dc54 - made the sound decoding interface DLL friendly and added compile switches to the MIDI players so that different licenses can be uses as compile target. 2020-01-02 12:43:37 +01:00
Christoph Oelckers
77a20ea7d1 - forgot to save this one. 2020-01-02 08:47:03 +01:00
Christoph Oelckers
71cd4ef488 Merge branch 'master' of https://github.com/coelckers/gzdoom
# Conflicts:
#	libraries/zmusic/zmusic/mididefs.h
#	libraries/zmusic/zmusic/zmusic.h
2020-01-02 08:45:48 +01:00