Commit graph

17412 commits

Author SHA1 Message Date
alexey.lysiuk
ca90516238 - removed explicit self null tests from dynarray native wrappers
They are useless since d3e6ed3c9b in which generation of implicit self null pointer check was added to JIT
2019-06-11 07:33:16 -04:00
Gutawer
360d97657d - added a linear transformation system to Shape2D so that things like rotations and scales can be changed without having to clear and push a large amount of data 2019-06-11 07:33:05 -04:00
Rachael Alexanderson
d3e04a94c0 - version 4.1.3 2019-06-08 07:56:19 -04:00
Rachael Alexanderson
ba89b9d383 - language update 2019-06-08 07:55:49 -04:00
Gutawer
d575f9890a - cleaned up SDL mouse event handling
* Right/middle clicking no longer cancels out the mouse motion events
* The events for the side mouse buttons (EV_GUI_BackButtonDown/Up, EV_GUI_FwdButtonDown/Up) were never fired
* The EV_GUI_WheelRight/Left events were never fired
* The key bindings for mouse buttons above 3 (from 4-8) were broken - pressing MOUSE4 would bind to MOUSE6, for example
2019-06-08 06:43:18 -04:00
alexey.lysiuk
5df12221bb - report implicitly initialized variable in code generator once
Vectors are no longer reported several times
Previously, warnings were issued per every register
2019-06-08 06:02:07 -04:00
alexey.lysiuk
c731bb4758 - fixed access to wrong event data in SDL backend
Wrong button state event data were read on mouse motion

https://forum.zdoom.org/viewtopic.php?t=64950
2019-06-08 06:01:59 -04:00
Christoph Oelckers
a3ae9c436b - Language update for Chex Quest 3 for Polish. 2019-06-07 15:29:59 -04:00
alexey.lysiuk
60d4c5462f - added implicit initialization of reused register variables in ZScript 2019-06-07 12:14:22 -04:00
alexey.lysiuk
366d39c22c - added null check for self pointer before calling a native function
With JIT enabled, an implicit test for null self pointer is added to generated code
This has no effect without JIT as VM verifies a pointer before calling a native method

https://forum.zdoom.org/viewtopic.php?t=64961
2019-06-07 11:04:35 -04:00
alexey.lysiuk
32556f62d7 - removed erroneous assignment of dialog reply
https://forum.zdoom.org/viewtopic.php?t=64943
2019-06-07 10:45:11 -04:00
Rachael Alexanderson
1416171043 - language update 2019-06-07 10:40:13 -04:00
alexey.lysiuk
1b1a85a283 - check for presence of fonts in message box menu
https://forum.zdoom.org/viewtopic.php?t=64958
2019-06-07 10:40:08 -04:00
Magnus Norddahl
b818beca4b - fix loadgame crash 2019-06-07 10:40:02 -04:00
alexey.lysiuk
e87cdedefc - fixed hires texture lookup in Doomsday style .pk3
IWAD wasn't detected properly, and wrong texture can be picked as a hires replacement (e.g., SLADRIP1 from Ultimate Doom instead of TNT)

https://forum.zdoom.org/viewtopic.php?t=64915
2019-06-07 10:39:58 -04:00
Christoph Oelckers
75507ce564 - fixed the write barriers for the HUD message linked list.
To ensure that no broken relations occur, any change in the list must be handled by a write barrier, not just the single message that gets added.
2019-06-07 10:39:42 -04:00
Magnus Norddahl
6a4e60ef71 - FXAA_DISCARD should never be enabled. It only works when the output framebuffer is the same as the original. 2019-06-07 10:39:33 -04:00
alexey.lysiuk
ec172b50e5 - simplified AppVeyor configuration
Visual Studio 2015 and 2019, Release only, no more WinXP toolset, reorder targets by importance
Visual Studio 2017 builds are now verified by Travis only
2019-06-07 10:39:27 -04:00
Blue Shadow
6e7764572d - fixed PlaySpawnSound call in A_ThrowGrenade 2019-06-07 10:39:19 -04:00
Chronos Ouroboros
4161ef7646 Really fixed arrays of dynarrays this time. 2019-06-07 10:39:13 -04:00
William Breathitt Gray
08cda06a11 Cephes code is released under BSD license
The Cephes Mathematical Library author Steve Moshier has released the
Cephes Mathematical Library under the BSD license. This patch patch
replaces the cephes license with the BSD license for all Cephes
Mathematical Library code.

See also: https://bugs.gentoo.org/687276
See also: https://lists.debian.org/debian-legal/2004/12/msg00295.html
See also: https://github.com/deepmind/torch-cephes/blob/master/LICENSE.txt
See also: https://github.com/nearform/node-cephes/blob/master/LICENSE
2019-06-07 10:39:05 -04:00
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