Commit graph

50 commits

Author SHA1 Message Date
Rachael Alexanderson
d5638a591a
- mirror changes with ZWidget, remove SDL_Wait failure message 2024-04-28 03:35:09 -04:00
Rachael Alexanderson
ae05d260d8
- demote SDL_Wait errors to console printouts 2024-04-24 07:25:26 -04:00
Christoph Oelckers
247319096f
optimized last commit to not retrieve the function repeatedly if it has already failed. 2024-04-21 09:39:18 -04:00
Rachael Alexanderson
82064ae73a
- dynamically import GetDpiForWindow from USER32.dll, else return a default value 2024-04-21 09:39:17 -04:00
Christoph Oelckers
f21f248588
ZWidgets: disabled SetClientFrame.
On Win32 this function is unused, but it contains two API calls that only exist in Windows 10 or later.
2024-04-21 09:39:17 -04:00
Rachael Alexanderson
2d5f908bcd
- transplant libwebp import from gzdoom 2024-04-11 15:00:41 -04:00
Christoph Oelckers
e5d6296581 add missing files for last commit. 2024-02-04 14:17:19 +01:00
Christoph Oelckers
b27dbc18d8 Backend update from GZDoom. 2024-02-04 14:12:22 +01:00
Christoph Oelckers
436f24add5 disable the buffering file reader.
This was definitely crashing on Death Wish's E1 movie and probably caused other problems as well.
2024-01-12 00:30:56 +01:00
Christoph Oelckers
21db5d33c2 updated the game picker code. 2024-01-12 00:22:08 +01:00
Christoph Oelckers
57198e0232 reduce excessive stack use in libschrift. 2024-01-06 14:43:37 +01:00
Christoph Oelckers
763259d654 silence warnings in nanosvg.h 2024-01-06 10:07:15 +01:00
Mitchell Richters
6aa706ce79 - ZWidget: Remove canvas->fillRect() call in ImageBox::OnPaint().
* This was causing transparent images to sit on a pure black canvas rather than the colour of the dialogue box.
* This change has been submitted upstream also.
2024-01-06 09:04:23 +11:00
Christoph Oelckers
a5760dc52f add missing headers to pathfill.h 2024-01-05 17:31:35 +01:00
Christoph Oelckers
463190f528 add missing files. 2024-01-05 17:23:09 +01:00
Christoph Oelckers
673a913f92 Backend update from GZDoom.
Mainly remembering the game list's initial setting.
2024-01-05 17:08:47 +01:00
Christoph Oelckers
6948ed41a1 added ZWidget based game picker 2024-01-04 20:54:04 +01:00
Christoph Oelckers
bbbb61f450 backend update from GZDoom
LZMA update plus several ZScript improvements.
2023-12-05 22:39:26 +01:00
Christoph Oelckers
4a87003408 - backend update from GZDoom.
* Vulkan backend updated.
* zlib replaced with miniz.
* FileReader is now 64 bit capable.
* jpeg replaced with stb-image.
* CMake project warnings fixed.
2023-09-23 09:56:27 +02:00
Christoph Oelckers
5eee7b80b1 - backend update from GZDoom.
* controller handling improvements
* use stb_sprintf.
* various smaller fixes.
2023-08-09 12:17:17 +02:00
Brian Koropoff
2081cb1d34 Fix build on recent gcc/libstdc++ 2023-05-19 22:53:16 +02:00
alexey.lysiuk
38ded76575 - updated zlib to 1.2.13
https://zlib.net/zlib-1.2.13.tar.gz
2023-01-13 18:57:08 +02:00
Christoph Oelckers
d5b217df2a - Vulkan shader cache from GZDoom. 2023-01-07 19:32:15 +01:00
alexey.lysiuk
c15315f318 - removed clangformat from discord-rpc 2022-12-15 10:25:48 +02:00
Christoph Oelckers
9cd1e9adb1 - updated Vulkan backend to use ZVulkan. 2022-12-11 18:30:01 +01:00
Mitchell Richters
6b4561f3bd - Commit changes that Discord compilation always makes on Linux, leading to -m on compiles. 2022-07-20 11:18:31 +10:00
Christoph Oelckers
2c3fcbaf51 - glslang compiler and Vulkan backend update. 2022-07-02 10:20:11 +02:00
Christoph Oelckers
0c03d3e364 - lzma and zlib update. 2022-07-02 09:58:48 +02:00
Rachael Alexanderson
f5579caa8f - replicate commit from gzdoom 201652bb36 2022-04-17 11:50:41 -04:00
Rachael Alexanderson
da5d9fcde2 - implement discord rich presence, expand window title code. (still wip) 2022-03-18 04:17:46 -04:00
Christoph Oelckers
85e0198b65 - fix triangulation issue with certain doors in Blood. 2021-12-30 09:58:09 +01:00
Christoph Oelckers
931903e291 - added libtess2 to the project. 2021-12-30 09:53:07 +01:00
Mitchell Richters
ff1149d274 - Silence unused parameter warnings for glslang for GCC and Clang. 2021-11-29 00:56:33 +01:00
Christoph Oelckers
19363ac23e - project contortions to make MSVC print our own deprecations but silence the ones from the compiler.
Since everything uses the same warning number, the old setup resulted in [[deprecated]] being silenced.
So this explicitly adds the needed #defines to silence the very noisy warning from the MSVC headers but leaves warning 4996 active otherwise.

In particlular this does:

* silence all warnings in the subprojects
* do not derive TIterator from std::iterator anymore as C++17 deprecates this.
* silence the above for RapidJSON because altering that code is not desirable.
* explicitly disable warning 4996 in some Windows files that call the deprecated (but still needed) GetVersionEx function.
* define _CRT_SECURE_NO_DEPRECATE, _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS through CMake to disable the CRT's deprecation and security warnings.

Currently this will print several (intended) deprecation warnings about 'updatesector' that point to code that needs to be changed but cannot yet without other refactorings being done first.
2021-11-06 16:48:31 +01:00
Christoph Oelckers
c3071edc60 - updated CMake project files. 2021-03-14 16:44:58 +01:00
alexey.lysiuk
b0fc0e648b - fixed wrong gdtoa definitions for Apple ARM64
https://forum.zdoom.org/viewtopic.php?t=71303
2021-01-28 14:44:11 +02:00
Christoph Oelckers
611dad7f69 - added the softpoly and Vulkan backend code fron GZDoom.
Not hooked up yet.
2020-05-31 10:53:11 +02:00
Christoph Oelckers
4d44682603 - integrated ZScript backend 2020-05-23 22:43:03 +02:00
Christoph Oelckers
6231cec7c1 - sound backend update. 2020-02-09 13:26:51 +01:00
Christoph Oelckers
67a2952ead - fixed RR's music. 2020-02-05 22:03:42 +01:00
alexey.lysiuk
9a235bebb6 - fixed Linux linking issue
libraries/zmusic/libzmusic.a(i_module.cpp.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
2020-02-02 14:37:07 +02:00
Magnus Norddahl
11cbdb9fef Fix some uninitialized variables 2020-01-19 15:52:00 +01:00
Christoph Oelckers
e43d2c10c0 - removed the OPL synth because parts of it are GPLv3 and even under the best circumstances not compatible with the license mix here. 2020-01-02 19:20:12 +01:00
Magnus Norddahl
0ae9d3b93e Fix crash when fluidsynth is not compiled in 2019-11-13 22:56:01 +01:00
Christoph Oelckers
9f9748ede6 - initial ZMusic hookup. 2019-11-10 23:58:51 +01:00
Christoph Oelckers
2316957026 - made things compile again after updating enet. Also removed the redundant dumb and game_music_emu libraries which just got imported by accident when using other things from GZDoom.
Note: enet uses 'malloc' and 'free' as field names in a struct - this does not work with any compiler using some sort of heap instrumentation that #defines these names!
This had to be changed to allow MSVC debug builds to compile again.
2019-10-20 09:16:01 +02:00
terminx
63713002b3 Swap out our old deprecated version of ENet for a single-file header-based fork, including features like IPv6 support
git-svn-id: https://svn.eduke32.com/eduke32@8175 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	GNUmakefile
#	libraries/enet/LICENSE
#	libraries/enet/callbacks.c
#	libraries/enet/compress.c
#	libraries/enet/enet/callbacks.h
#	libraries/enet/enet/enet.h
#	libraries/enet/enet/list.h
#	libraries/enet/enet/protocol.h
#	libraries/enet/enet/time.h
#	libraries/enet/enet/types.h
#	libraries/enet/enet/unix.h
#	libraries/enet/enet/utility.h
#	libraries/enet/enet/win32.h
#	libraries/enet/host.c
#	libraries/enet/list.c
#	libraries/enet/packet.c
#	libraries/enet/peer.c
#	libraries/enet/protocol.c
#	libraries/enet/unix.c
#	libraries/enet/win32.c
#	platform/Windows/build.vcxproj
#	platform/Windows/build.vcxproj.filters
#	platform/Windows/eduke32.sln
#	platform/Windows/eduke32.vcxproj
#	source/duke3d/src/player.cpp
2019-10-20 08:43:36 +02:00
Christoph Oelckers
07e38f3d12 - made enet a separate library. 2019-09-23 08:40:02 +02:00
Christoph Oelckers
527d99008b - fixed the setup.
Renamed all elements still referring to zdoom.
removed the frontend specific resource data.
fixed startup dialog to accept ANSI date despite building as Unicode. This needed a bit of hackery because the macros in windowsx.h are not character set sensitive.
2019-09-23 01:28:18 +02:00
Christoph Oelckers
718112a8fe - added external libraries for music format playback and decompression from GZDoom.
Currently none of these is being used, but eventually they will, once more code gets ported over.
So it's better to have them right away and avoid editing the project file too much, only to revert that later.
2019-09-22 08:59:48 +02:00