Commit graph

17415 commits

Author SHA1 Message Date
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
Christoph Oelckers
2fe0401e7c - added missing Latin characters to the Raven small font. 2019-06-07 10:29:12 -04:00
Alexander
9d9fd74e49 made "netevent cannot be used outside of a map" message a warning 2019-06-07 10:29:02 -04:00
Alexander
9c833bf79a added a crosshair on/off toggle 2019-06-07 10:28:54 -04:00
Magnus Norddahl
d4b99db4e5 - use one render pass for the entire scene or until postprocess or command buffer flushing forces it to end 2019-06-07 10:28:32 -04:00
Magnus Norddahl
0fc367a9bf - avoid creating a new render pass if a pipeline bind will suffice 2019-06-07 10:28:26 -04:00
Magnus Norddahl
b85a139dde - centralize how image transitions are done in the vulkan backend 2019-06-07 10:28:10 -04:00
Magnus Norddahl
1bdd1412e7 - transition scene images used for the screenshot to color attachment optimal before rendering to them 2019-06-07 10:28:05 -04:00
Rachael Alexanderson
fdd8ee312a - oops, copied the wrong file 2019-05-14 15:08:00 -04:00
Rachael Alexanderson
ef5ed99982 - language update 2019-05-14 14:16:22 -04:00
Rachael Alexanderson
bf5c423441 - this is 4.1.2 2019-05-14 10:32:14 -04:00
Magnus Norddahl
5db5eb68ed - always apply vid_maxfps even when vid_vsync is on. Some users may override the application in their driver control panel and this helps stabilize their fps if they did it this way 2019-05-14 09:58:25 -04:00
Magnus Norddahl
0156bf2c71 - SIMPLE is never ever defined for main.fp 2019-05-14 09:58:20 -04:00
Magnus Norddahl
b6f2ce3f1a - fix stencil test not being active when applying SSAO to portals 2019-05-14 09:58:14 -04:00
Magnus Norddahl
91fdd72cf2 - fix some vulkan warnings 2019-05-14 09:58:07 -04:00
alexey.lysiuk
bbf9a9ab21 - removed useless assertions
https://forum.zdoom.org/viewtopic.php?t=64616#p1103673
2019-05-14 09:58:02 -04:00
alexey.lysiuk
5d59f29302 - do not show par time when it's zero
https://forum.zdoom.org/viewtopic.php?t=64551
2019-05-14 09:57:57 -04:00
Magnus Norddahl
25ba1baf48 - fix validation error for shader input not declared by main.vp 2019-05-14 09:57:33 -04:00
Magnus Norddahl
2c804499d9 - fix model chasecam crash 2019-05-14 09:57:27 -04:00
XxMiltenXx
0cb5ea1f7e Fixes for Door_AnimatedClose (#838)
* Fixes for Door_AnimatedClose

- Fixing that Door_AnimatedClose would be activated on an already closed door (playing the sound and the 1st frame of the animation)
- There was no check if the Door is already Animated when a tag was used with Door_AnimatedClose

* Removed doubled "door->StartClosing();".
2019-05-14 09:57:18 -04:00
Christoph Oelckers
e1f2e342e3 - fixed: The software renderer was accessing the global viewpoint in several places.
Aside from using incorrect values this could crash the renderer if used in the very first rendering frame because the software renderer always operates on a copy.
2019-05-14 09:57:12 -04:00
alexey.lysiuk
98c88d2b92 - fixed crash when VM exception is raised during entering a level 2019-05-14 09:57:07 -04:00
alexey.lysiuk
97045ae8b2 - added missing newline to scriptstat CCMD output 2019-05-14 09:57:03 -04:00
Magnus Norddahl
6343ddfc11 - fix wrong screenshot gamma 2019-05-14 09:56:58 -04:00
alexey.lysiuk
676658ed4c - made DUMB library always static
DUMB uses dumb_decode_vorbis() function from the main executable, so it failed to link as a dynamic library
2019-05-14 09:56:37 -04:00
alexey.lysiuk
850529b51b - made setting actor TID more explicit
Now it's no longer possible to manipulate TID hash from arbitrary location
For example, this prevents linking of destroyed object into the hash
TID member is still public but writing to it is limited to a few very specific cases like serialization and player traveling between levels

https://forum.zdoom.org/viewtopic.php?t=64476
2019-05-14 09:56:33 -04:00
Magnus Norddahl
d00ff65a42 - Intel on Linux used the footnote in the standard saying a descriptor pool can become fragmented (thanks guys!) 2019-05-14 09:56:27 -04:00