Commit graph

17385 commits

Author SHA1 Message Date
Edoardo Prezioso
589f9b5c24 - 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-02 21:20:53 +02:00
Edoardo Prezioso
74e69567ef - Fixed a buffer overflow with Timidity++ when playing Sigil e5m5 music.
See https://forum.zdoom.org/viewtopic.php?f=2&t=64910 .
2019-06-02 21:20:19 +02:00
Kevin Caccamo
9f99d1b2cc Fix OBJ face normal direction
https://forum.zdoom.org/viewtopic.php?f=2&t=64740
2019-06-02 21:19:10 +02:00
David Carlier
6ba8faa7fb Inclusion of check symbol cmake's module. 2019-06-02 08:28:30 +03:00
Danilo Spinella
1802b7c6fe 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-05-31 21:40:12 +02:00
Danilo Spinella
f4f39becbd Add support for musl-fts library 2019-05-31 21:40:12 +02:00
Kyle Evans
e0c7bf7708 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-05-30 21:16:51 +02:00
Christoph Oelckers
6ace482266 - 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-05-30 13:32:42 +02:00
alexey.lysiuk
ffd464c26c - 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-05-30 10:26:06 +03:00
alexey.lysiuk
d9c619c800 - 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-05-30 10:20:49 +03:00
alexey.lysiuk
249e658f8b - fixed missing deprecation warnings for ZScript global variables
https://forum.zdoom.org/viewtopic.php?t=64830
2019-05-29 17:37:31 +03:00
alexey.lysiuk
38291dfacc - fixed: version wasn't set for ZScript global variables
https://forum.zdoom.org/viewtopic.php?t=64830
2019-05-29 17:37:08 +03:00
alexey.lysiuk
d336a83355 - fixed code generation for ternary operator with vector result types
https://forum.zdoom.org/viewtopic.php?t=64831
2019-05-29 13:24:03 +03:00
alexey.lysiuk
677b24b108 - 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-05-28 18:13:34 +03:00
Nemrtvi
8127af1082 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-05-27 19:56:03 +02:00
alexey.lysiuk
a54bc61678 - fixed conversation links with pages referenced by name
https://forum.zdoom.org/viewtopic.php?t=64177
2019-05-26 15:46:30 +03:00
alexey.lysiuk
d9da513f74 - fixed 'Pause by <playername>' message in multiplayer
https://forum.zdoom.org/viewtopic.php?t=64765
2019-05-25 17:50:18 +03:00
alexey.lysiuk
64ce71eae2 - fixed wrong native call for Actor.Vec2Offset()
https://forum.zdoom.org/viewtopic.php?t=64810
2019-05-25 17:14:52 +03:00
alexey.lysiuk
688f130af6 - fixed character position assignment for multi-lump fonts
https://forum.zdoom.org/viewtopic.php?t=64741#p1104427
2019-05-25 13:16:39 +03:00
David Carlier
57a0a4c066 Fixing crash when loaded module, using proper function liberate them. 2019-05-25 11:37:57 +02:00
alexey.lysiuk
733dea55da - fixed loading of 32-bit TGA textures with alpha channel
https://forum.zdoom.org/viewtopic.php?t=64741#p1104564
2019-05-25 10:47:54 +03:00
alexey.lysiuk
da2d0e47e6 - 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-05-24 14:29:37 +03:00
Magnus Norddahl
756c593e96 - 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-05-23 14:09:05 +02:00
drfrag
afa644fe47 - Fixed compilation with old gcc and clang. 2019-05-22 18:25:24 -04:00
Rachael Alexanderson
a27990885e - add some debugging information for GZSDF pagenames feature 2019-05-22 11:50:53 -04:00
alexey.lysiuk
a04d79d871 - 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-05-22 17:39:27 +02:00
Christoph Oelckers
34a13cae04 - fixed bad statnum in Light_Stop. 2019-05-22 10:24:07 +02:00
Christoph Oelckers
4d2a7930ac - fixed text color setup for added console message. 2019-05-22 10:18:28 +02:00
Christoph Oelckers
8a90946094 - 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-05-21 02:00:45 +02:00
Magnus Norddahl
e4dab707e4 - don't run the custom shaders twice on screenshots 2019-05-20 12:46:05 +02:00
Magnus Norddahl
2a15f65065 - apply present shader on screenshots 2019-05-20 12:36:45 +02:00
Christoph Oelckers
61ead74492 - made the colorset names and the texts in the color picker localizable. 2019-05-19 18:57:39 +02:00
alexey.lysiuk
bbb75a40ca - fixed erroneous texture mipmapping in Vulkan render
https://forum.zdoom.org/viewtopic.php?t=64257
2019-05-19 14:24:59 +02:00
Christoph Oelckers
04334aa0fe - implemented subtitle display for Blackbird's voiceover messages. 2019-05-19 12:16:42 +02:00
alexey.lysiuk
270f8fb381 - added missing quotation mark in menu definition
Script error, "gzdoom.pk3:menudef.txt" line 1472:
Insufficient parameters for OptionMenuItemOption
2019-05-19 13:01:09 +03:00
Christoph Oelckers
2c226afff1 - implemented subtitles for intermission slideshows. 2019-05-19 10:28:07 +02:00
Christoph Oelckers
6b51c05870 - 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-05-19 08:53:10 +02:00
Christoph Oelckers
35e25a8aea - language update. 2019-05-19 08:11:11 +02:00
Christoph Oelckers
131e97e02a - renamed misplaced characters. 2019-05-18 18:53:03 +02:00
Christoph Oelckers
7a8defd76f - 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-05-18 18:46:07 +02:00
Nemrtvi
a794193780 Raven smallfont fixes 2019-05-18 18:23:08 +02:00
William Breathitt Gray
6fafa297bf 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-05-18 18:15:51 +02:00
alexey.lysiuk
0c40faf0b4 - improved control over MoltenVK logging capabilities 2019-05-18 17:27:13 +03:00
Christoph Oelckers
6a74c44de6 - missed the Heretic font. 2019-05-18 12:07:36 +02:00
Christoph Oelckers
067aee64eb - added missing Latin characters to the Raven small font. 2019-05-18 11:52:18 +02:00
Alexander
c1dbaa7d4b made "netevent cannot be used outside of a map" message a warning 2019-05-18 11:33:22 +02:00
Alexander
7540de4027 added a crosshair on/off toggle 2019-05-18 11:32:48 +02:00
Magnus Norddahl
680a6f348b - use one render pass for the entire scene or until postprocess or command buffer flushing forces it to end 2019-05-18 08:12:46 +02:00
Magnus Norddahl
7e37d640dc - avoid creating a new render pass if a pipeline bind will suffice 2019-05-18 06:54:35 +02:00
Magnus Norddahl
9ab19d057d - centralize how image transitions are done in the vulkan backend 2019-05-16 18:26:47 +02:00