Commit graph

17391 commits

Author SHA1 Message Date
alexey.lysiuk
63b44ec5d4 - limited disabling of FXAA discard to Vulkan on AMD hardware 2019-06-07 10:38:58 -04:00
alexey.lysiuk
3f90620940 - implemented GPU vendor string assingment in Vulkan backend 2019-06-07 10:38:51 -04:00
alexey.lysiuk
9aed388242 - disabled discard in FXAA shader with Vulkan backend
Discard caused graphical corruptions on AMD hardware with Vulkan backend enabled

https://forum.zdoom.org/viewtopic.php?t=64230
2019-06-07 10:38:46 -04:00
Rachael Alexanderson
405ac161c4 - added a third state for cl_blockcheats. ==2 now blocks them silently. 2019-06-07 10:38:41 -04:00
Alexander
fc701c8d39 added native double round(double) function 2019-06-07 10:38:24 -04:00
alexey.lysiuk
d5cb48b476 - reset internal console state on clear CCMD
'last line needs update' flag cannot be set when console is empty as there are no lines at all in this case

https://forum.zdoom.org/viewtopic.php?t=64909
2019-06-07 10:38:18 -04:00
Edoardo Prezioso
d0ead3e195 - Fixed uninitialized variable in case GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS does not exist.
Old graphics, like mine (Intel Sandybridge Mobile, GL 3.0 Mesa) do not support this, therefore most of the time RFL_SHADER_STORAGE_BUFFER wasn't unset (I found no consequence of this on my machine, but better safe than sorry).

Found out by Valgrind.
2019-06-07 10:38:12 -04:00
Edoardo Prezioso
5c1fa3d632 - Fixed a buffer overflow with Timidity++ when playing Sigil e5m5 music.
See https://forum.zdoom.org/viewtopic.php?f=2&t=64910 .
2019-06-07 10:38:03 -04:00
Kevin Caccamo
0d19156372 Fix OBJ face normal direction
https://forum.zdoom.org/viewtopic.php?f=2&t=64740
2019-06-07 10:37:56 -04:00
David Carlier
20708aed5b Inclusion of check symbol cmake's module. 2019-06-07 10:37:51 -04:00
Danilo Spinella
fb74832a0c Check for execinfo.h and add libexecinfo if needed
Some systems (e.g. musl) do not have execinfo.h header.
Check if libexecinfo (library that provides execinfo.h header
and its functions) is installed in the system, and add
its linker flag if needed.
2019-06-07 10:37:46 -04:00
Danilo Spinella
d34b355065 Add support for musl-fts library 2019-06-07 10:37:41 -04:00
Kyle Evans
d955c298b6 Fix clang/32-bit build
Rendering bits got restructured and the SSE_MATTERS paths were not updated
to reflect that. A 32-bit build with clang subsequently complaints as the
files in question are not compiled with -mmmx.
2019-06-07 10:37:19 -04:00
Christoph Oelckers
1818b5d9a0 - fixed fillSimplePoly for indexed data.
On OpenGL this merely caused some visual glitches on the cheat automap - but the bad data in the buffer can make Vulkan abort entirely.
2019-06-07 10:37:12 -04:00
alexey.lysiuk
d050627cb0 - fixed crash when loading a saved game with unknown class
During serialization, when map shutdown because of unknown class stored inside saved game may occur, level member is not assigned yet to already spawned thinkers
2019-06-07 10:37:06 -04:00
alexey.lysiuk
d94786a132 - adjusted condition for ZScript global variable deprecation warning
The message is always printed for any use of deprecated global variable
If such variable is accessed inside a deprecated function from a core script lump, the message is printed only when verbosity level is set to highest

https://forum.zdoom.org/viewtopic.php?t=64830
2019-06-07 10:37:00 -04:00
alexey.lysiuk
ae94aa029c - fixed missing deprecation warnings for ZScript global variables
https://forum.zdoom.org/viewtopic.php?t=64830
2019-06-07 10:36:55 -04:00
alexey.lysiuk
1f69013de8 - fixed: version wasn't set for ZScript global variables
https://forum.zdoom.org/viewtopic.php?t=64830
2019-06-07 10:36:49 -04:00
alexey.lysiuk
3fff8e1c3a - fixed code generation for ternary operator with vector result types
https://forum.zdoom.org/viewtopic.php?t=64831
2019-06-07 10:36:37 -04:00
alexey.lysiuk
5745df4d7e - fixed crash on message output during decorate parsing
Script position is now initialized at the very beginning of decorate parsing process
Script position no longer contains uninitialized file name

https://forum.zdoom.org/viewtopic.php?t=64836
2019-06-07 10:36:32 -04:00
Nemrtvi
927e05d26f Improved SMALLFONT letter Ч for Doom
In its past appearance, the letter was based on the number 4, which looks inconsistent among all letters. This new one is a modified Y.
2019-06-07 10:35:44 -04:00
alexey.lysiuk
3c386684c0 - fixed conversation links with pages referenced by name
https://forum.zdoom.org/viewtopic.php?t=64177
2019-06-07 10:35:37 -04:00
alexey.lysiuk
0727f939dd - fixed 'Pause by <playername>' message in multiplayer
https://forum.zdoom.org/viewtopic.php?t=64765
2019-06-07 10:35:31 -04:00
alexey.lysiuk
c7dc4f0f0f - fixed wrong native call for Actor.Vec2Offset()
https://forum.zdoom.org/viewtopic.php?t=64810
2019-06-07 10:35:24 -04:00
alexey.lysiuk
1225a68de3 - fixed character position assignment for multi-lump fonts
https://forum.zdoom.org/viewtopic.php?t=64741#p1104427
2019-06-07 10:35:18 -04:00
David Carlier
c9c895b420 Fixing crash when loaded module, using proper function liberate them. 2019-06-07 10:34:51 -04:00
alexey.lysiuk
7957686fee - fixed loading of 32-bit TGA textures with alpha channel
https://forum.zdoom.org/viewtopic.php?t=64741#p1104564
2019-06-07 10:34:39 -04:00
alexey.lysiuk
791d29b732 - removed array length() function from shadowmap shader
Array's length() function is not yet supported by SPIRV-cross and MoltenVK
Its usage was replaced by explicit nodes count value passed as uniform
2019-06-07 10:34:31 -04:00
Magnus Norddahl
cddc945d5d - create a new error class for vulkan errors as they are only recoverable during initialization (unlike CRecoverableError which is recoverable during normal processing)
- improve vulkan errors by including the status code returned by vulkan if they fail
2019-06-07 10:34:12 -04:00
drfrag
7e338a0b44 - Fixed compilation with old gcc and clang. 2019-06-07 10:34:02 -04:00
Rachael Alexanderson
137326b7ed - add some debugging information for GZSDF pagenames feature 2019-06-07 10:33:48 -04:00
alexey.lysiuk
68ca01096e - do not pass TObjPtr<> instances as ScriptUtil::Exec() arguments
There was no read barrier inserted for AActor object while it's a subject of garbage collection
Pointer stored in TObjPtr<> was reinterpreted as void* because of vararg function

https://forum.zdoom.org/viewtopic.php?t=64771
2019-06-07 10:33:38 -04:00
Christoph Oelckers
f25c16c30d - fixed bad statnum in Light_Stop. 2019-06-07 10:33:33 -04:00
Christoph Oelckers
a4d5ee83ca - fixed text color setup for added console message. 2019-06-07 10:33:20 -04:00
Christoph Oelckers
3aa4425026 - allow certain replacements to be valid for CanPrint
The Romanian letters with comma below, the second Greek Sigma variant and a few special Cyrillic letters have replacements that should not result in rejection.
2019-06-07 10:32:44 -04:00
Magnus Norddahl
e1790771fe - don't run the custom shaders twice on screenshots 2019-06-07 10:32:39 -04:00
Magnus Norddahl
51eab9d5db - apply present shader on screenshots 2019-06-07 10:32:32 -04:00
Christoph Oelckers
634f3288d2 - made the colorset names and the texts in the color picker localizable. 2019-06-07 10:32:24 -04:00
alexey.lysiuk
3f0d66f9f0 - fixed erroneous texture mipmapping in Vulkan render
https://forum.zdoom.org/viewtopic.php?t=64257
2019-06-07 10:32:19 -04:00
Christoph Oelckers
56ec04d16f - implemented subtitle display for Blackbird's voiceover messages. 2019-06-07 10:32:11 -04:00
alexey.lysiuk
a282c99f40 - added missing quotation mark in menu definition
Script error, "gzdoom.pk3:menudef.txt" line 1472:
Insufficient parameters for OptionMenuItemOption
2019-06-07 10:32:06 -04:00
Christoph Oelckers
a9e94c8252 - implemented subtitles for intermission slideshows. 2019-06-07 10:31:26 -04:00
Christoph Oelckers
2dd5f8b061 - changed menu scaling so that on 1366x768 a factor of 2 gets used.
This turned out the smallest one on which a factor of 2 still works without cutting off texts but at least allows to use a larger menu display on this important laptop size.
2019-06-07 10:31:19 -04:00
Christoph Oelckers
5e67c39fc1 - language update. 2019-06-07 10:30:56 -04:00
Christoph Oelckers
de49c779fb - renamed misplaced characters. 2019-06-07 10:30:34 -04:00
Christoph Oelckers
bb265845c2 - added European Portuguese to the menu.
This is sufficiently complete with only some intermission texts and the Strife dialogues falling back to the Brazilian version.
2019-06-07 10:30:28 -04:00
Nemrtvi
2e7f3b78f8 Raven smallfont fixes 2019-06-07 10:30:12 -04:00
William Breathitt Gray
11838ef875 Force STATIC for internal GZDoom libraries
This makes sure the internal versions of these libraries bundled with
the GZDoom source code is used. This prevents the system from building
GZDoom for dynamic linking with incompatible external libraries (see
<https://forum.zdoom.org/viewtopic.php?f=2&t=64633>).
2019-06-07 10:30:04 -04:00
alexey.lysiuk
ec2fb94eec - improved control over MoltenVK logging capabilities 2019-06-07 10:29:43 -04:00
Christoph Oelckers
d2c629e7d3 - missed the Heretic font. 2019-06-07 10:29:25 -04:00