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
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
Rachael Alexanderson
9c3907136d
- update some copyright years
2023-03-25 08:06:23 -04: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
Christoph Oelckers
3d38d5e30c
- fixed bad character offset.
2023-03-04 10:47:21 +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
Rachael Alexanderson
1f2809244d
Update service.zs
...
remove erroneous semicolon
2023-02-19 10:14:36 -05:00
Christoph Oelckers
da72f8f36a
- converted the PNG's in Strife's tiny font.
2023-02-19 15:52:18 +01:00
Christoph Oelckers
9ea60b4641
- added 9 more characters for all fonts.
...
This covers everything needed for displaying proper names from all European languages.
2023-02-19 15:50:06 +01:00
Christoph Oelckers
fb97a97086
- remapped a few duplicate strings.
2023-02-19 12:49:13 +01:00
Christoph Oelckers
7acf23f213
- fixed typo in string label.
2023-02-19 12:47:16 +01:00
Ricardo Luís Vaz Silva
d6e72b5264
Add data-scoped getters for Services
2023-02-19 08:11:08 +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
1355b9669e
Added JetBrains and VSCode to gitignore
...
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-09 21:38:52 -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
Ricardo Luís Vaz Silva
1dcdfcc4d3
Mark const methods as const in pseudo-generics
2023-02-09 17:02:40 +01:00
Ricardo Luís Vaz Silva
569263efe9
Extend pseudo-generics system used by maps to dynarrays
2023-02-09 17:02:40 +01:00
Rachael Alexanderson
e29011ecde
- (win32) increase compatibility with indirect renders/inputs - instruct the operating system that the cursor is actually hidden - for some API's this actually gives a hint that the cursor is grabbed, which allows for relative mouse movement. In particular, Parallels and Microsft RDP need this.
2023-02-07 13:47:39 -05:00
Rachael Alexanderson
4ac76d82d8
- redirected maps need to be defined in order to redirect
2023-02-03 20:21:40 -05:00
Ricardo Luís Vaz Silva
b50d7f4db5
Let custom CVar handlers to be called on cloned cvars
2023-02-01 10:35:28 -05:00
Rachael Alexanderson
82b7e93d26
- oops, nullptr check
2023-02-01 10:23:30 -05:00
Rachael Alexanderson
33b217bcc9
- unlatch cvars before checking cvar map redirections
2023-02-01 01:56:10 -05:00
Rachael Alexanderson
04ea28defc
- add RedirectCVAR directive for loading alternate maps based on a Bool CVAR setting
2023-02-01 00:06:01 -05:00
Ricardo Luís Vaz Silva
c8f3aa3fd1
ZScript Custom CVars -- ONLY WORKS FROM THE CONSOLE
2023-01-29 14:42:20 -05:00
Ricardo Luís Vaz Silva
8dbe0ae353
Don't change static variable when updating callback for single CVars
2023-01-29 14:42:20 -05:00