Commit graph

18348 commits

Author SHA1 Message Date
Christoph Oelckers
62b9243142 - made some changes to vectors.h so that it can be used without the floating point function replacements.
Using __has_include and providing fallback implementations.
2023-06-16 20:51:25 +02:00
Christoph Oelckers
40679294df - fixed some warnings. 2023-06-16 20:50:48 +02:00
alexey.lysiuk
3ddf72104b - added detection of macOS 14 2023-06-11 12:14:58 +03:00
alexey.lysiuk
170cc8d7ba - reduced string duplication in macOS detection 2023-06-11 12:14:35 +03:00
l2ksolkov
245dac814e Add missing include guards 2023-05-29 07:35:26 +02:00
Christoph Oelckers
acfe82b9a8 - Backend update from Raze. 2023-05-27 09:31:17 +02:00
Ricardo Luís Vaz Silva
1589afb46e Add Voodoo Zombie Compatflag 2023-05-14 08:14:47 +02:00
Chris Cowan
ca0db39027 Fix BUILD_SHARED_LIBS build option on Windows
This commit fixes the build error "unresolved external symbol GetModuleInformation" when the project is built on Windows with BUILD_SHARED_LIBS enabled.

Gzdoom must be linked against "psapi". When BUILD_SHARED_LIBS is off (default), it gets linked because the discord-rpc library is linked against it and then statically linked into the project. The issue is fixed by making Gzdoom itself explicitly link against "psapi" too.
2023-05-14 07:21:27 +02:00
Chris Cowan
6f964e8d35 add changeskill command 2023-05-14 07:20:09 +02:00
Ricardo Luís Vaz Silva
9ca30826db Fix win32 mouse cursor permanently disappearing 2023-05-14 07:15:41 +02:00
Rachael Alexanderson
a5f0174e07 - addendum to previous commit: forgot one line 2023-04-30 10:50:14 -04:00
Rachael Alexanderson
e5fcb331df - remove vid_gpuswitch and all its handling; it is only as of now useful in old unsupported versions of Windows 7/8/10 which are no longer supported 2023-04-30 10:38:46 -04:00
Ricardo Luís Vaz Silva
86bc9cafd4 Fix value of X = Y when Y is an int constant 2023-04-12 22:57:06 +02:00
Christoph Oelckers
e3f8230035 - fixed handling for Turkish i's.
* islowermap and isuppermap were not set for the new characters.
* special handling for the lowercase dotted i in allcaps fonts returned the wrong character.
2023-04-05 19:01:19 +02:00
Mitchell Richters
f1f6e3a607 - Move invertmouse CVARs into common code.
* Removes duplication of CVAR definitions between Raze and GZDoom.
2023-04-04 17:11:28 +02:00
Mitchell Richters
034202e6f6 - Properly fix default mouse x sensitivity. 2023-04-04 17:08:02 +02:00
Christoph Oelckers
25c984ff6e - fixed crash when checking the extended character list for the current language.
For English this will be null because it got no extended characters.
2023-04-03 17:03:44 +02:00
Christoph Oelckers
15465f0785 - backported RapidJSON fix from Raze. 2023-04-01 12:45:55 +02:00
Christoph Oelckers
7e1982fa65 - adapted font system to properly handle Turkish.
Those i's are really messy, especially when dealing with allcaps or pure lowercase fonts.
2023-03-31 17:40:19 +02:00
Christoph Oelckers
9fbac8f1d4 - moved all service code to 'common'.
This needs to work on Raze as well!
2023-03-26 10:55:09 +02:00
Christoph Oelckers
7537f415ce - update comment on SSBOs. 2023-03-26 10:43:27 +02:00
Christoph Oelckers
cffe67dcee - fixed a few warnings pointed out by GCC. 2023-03-26 10:35:33 +02:00
Christoph Oelckers
72d7a70732 - avoid arithmetics with literal null pointers in ParseCommandLine.
Also avoid using longs.
2023-03-26 09:49:40 +02:00
Christoph Oelckers
c1cb7783a6 - fixed a few more leftover Clang warnings. 2023-03-26 09:27:46 +02:00
Christoph Oelckers
ee5b6e45f8 - made D_WriteUserInfoStrings memory safe.
Its callers are anything but for now but this function was the main blocker for refactoring so it had to come first.
2023-03-26 09:27:26 +02:00
Christoph Oelckers
cbff526cc7 - updated RapidJson library.
This still needed the Nan hotfix to be reapplied. The problem hasn't been addressed yet. :(
2023-03-26 08:48:54 +02:00
Christoph Oelckers
47b76180d6 - fixed several warnings emitted by Clang. 2023-03-26 08:48:54 +02:00
Ricardo Luís Vaz Silva
9e19134016 Fix possible memory corruption in TArray::Delete(index, count) 2023-03-22 18:59:59 +01:00
RaveYard
c041b437e1 Use simpler constructor for TArray in FBlockThingsIterator 2023-03-19 16:11:07 +01:00
RaveYard
9514d1b120 Fix TArray allocating 0 bytes in constructor 2023-03-19 16:11:07 +01:00
CandiceJoy
89fb5d0a92 Fixed incorrect parameter type in A_CheckForResurrection. 2023-03-18 08:47:19 +01:00
John Stebbins
c3d99fa699 Allow GAMEINFO LOAD to load directories
Addresses part of enhancement issue #2011
2023-02-23 18:35:15 +01:00
Christoph Oelckers
7acf23f213 - fixed typo in string label. 2023-02-19 12:47:16 +01:00
Ricardo Luís Vaz Silva
590475a8e3 Improve Services 2023-02-19 08:11:08 +01:00
Magnus Norddahl
b0dfa06201 Add dynamic light support to true color slope drawer 2023-02-19 08:06:49 +01:00
Magnus Norddahl
99f2b5d891 Fix misc bugs for dynamic lights in the pal slope drawer 2023-02-19 08:06:49 +01:00
Magnus Norddahl
18bc384807 Add dynamic lights to pal slope drawer 2023-02-19 08:06:49 +01:00
Christoph Oelckers
087050c201 - use uniform buffers for dynamic lights everywhere.
Branching on SSBO content does not work that well on NVidia so it is better disabled.
So far only implemented for OpenGL - Vulkan needs more work.
2023-02-18 12:22:26 +01:00
Ricardo Luís Vaz Silva
b84bf176e1 Fix Software Slope Rendering for non-1.2 pixel ratios 2023-02-17 14:15:46 -05:00
Rachael Alexanderson
4475240da8 - rename the flags MNOTVISIBLE and VISALWAYSFAIL to MINVISIBLE and MVISBLOCKED respectively, to reflect what they really do 2023-02-15 11:51:48 -05:00
Rachael Alexanderson
ee18123f01 - check VISALWAYSFAIL against SF_IGNOREVISIBILITY 2023-02-15 10:47:31 -05:00
Rachael Alexanderson
45f67bdd50 - add +VISALWAYSFAIL flag 2023-02-14 23:14:35 -05:00
Rachael Alexanderson
8af2f5aaf6 - add +mnotvisible flag as per feature suggestion: https://forum.zdoom.org/viewtopic.php?t=77277 2023-02-13 13:32:44 -05:00
Rachael Alexanderson
ea720605d4 Revert "Fixed an error where implicit pointer casts should've failed but didn't."
This reverts commit 68d3f474ce.

# Conflicts:
#	src/common/scripting/backend/codegen.cpp
2023-02-11 11:30:05 -05:00
Christoph Oelckers
17800f2504 - removed bad #include 2023-02-11 12:37:28 +01:00
Christoph Oelckers
f6bfc48d9f - Backend update from Raze. 2023-02-11 12:05:45 +01:00
CandiceJoy
68d3f474ce Fixed an error where implicit pointer casts should've failed but didn't.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-11 00:02:51 -05:00
Emile Belanger
c41b07531a Fixing GLES mode to work on real GLES hardware and OpenGL 2 again 2023-02-10 13:44:11 -05:00
CandiceJoy
a5a7e2d19b Added the rest of the Apple frameworks used.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-09 17:42:51 -05:00
CandiceJoy
ef0dcc9956 Easier MacOS Compilation w/Open AL
Added frameworks CoreAudio and AudioUnit for OpenAL on Mac.

Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-09 17:42:51 -05:00