Commit graph

19809 commits

Author SHA1 Message Date
Christoph Oelckers
1d0aed219e - replaced MIN/MAX in all non-common code. 2021-10-30 10:16:52 +02:00
Christoph Oelckers
226666ce7f - replaced MIN/MAX with min/max from the C++ standard library in the software renderer 2021-10-30 10:08:11 +02:00
Christoph Oelckers
cc617d9085 - Backend update from Raze.
Mostly warning fixes reported by Clang, plus GLES update.
2021-10-30 09:29:21 +02:00
Magnus Norddahl
8e59ed754e Fix vulkan validation errors for wrong image transitions and buffers used after destroyed 2021-10-29 22:38:18 +02:00
nashmuhandes
c2b3600981 Add a render style parameter to Screen.Dim 2021-10-29 21:08:32 +02:00
Magnus Norddahl
d853961a83 Fix vulkan buffers not using the stream usage for the 2d drawer
Add BufferUsageType enum to clarify what kind of usage is expected by the buffer allocated by SetData
2021-10-26 22:43:38 -04:00
Rachael Alexanderson
efdc6a50a1 - remove another vestigial file from the time back when Widepix was submoduled 2021-10-25 11:49:40 -04:00
Christoph Oelckers
1995581893 - moved hacx widescreen assets to hacx.hacx1
They are not compatible and not intended for the Hacx 2 IWAD.
2021-10-25 08:10:41 +02:00
alexey.lysiuk
8e1dd7d2c5 - removed obsolete code from Cocoa backend 2021-10-23 13:46:59 +03:00
Blue Shadow
6799566dc2 - fixed: menu delegate class error message referenced the wrong gameinfo property 2021-10-23 09:22:39 +02:00
nashmuhandes
1c3e0f1a75 Added 'NoPerPixelLighting' flag to models to force it to not use per-pixel lighting. Main use case is for voxels that have been converted to models. 2021-10-22 07:57:11 +02:00
Rachael Alexanderson
2420371c46 - change cvars gl_custompost and gl_customshader to archive and save to .ini since there are uses for these shaders beyond mere debugging. 2021-10-20 11:23:05 -04:00
Rachael Alexanderson
bb44f3dcd9 - add cvar r_skipmats - speeds up rendering on slower cards for mods that use a lot of specularity/pbr, effective on both the opengl and vulkan backends 2021-10-20 06:49:45 -04:00
Christoph Oelckers
2fc1481202 - validate the newly added menu customizations. 2021-10-20 08:08:51 +02:00
nashmuhandes
ab3146054b Fixed: SBar_DrawTextureRotated was missing the angle parameter 2021-10-19 11:44:34 +02:00
Marisa Kirisame
58e66f4805 ReadThisMenu / MenuDelegate overriding. 2021-10-19 11:43:27 +02:00
Christoph Oelckers
047c0c9537 - fixed recreation of state lights
This must also happen if the previous state had a light but the current one does not.
2021-10-19 08:07:06 +02:00
alexey.lysiuk
8ec6c21195 - fixed deprecation warnings in Cocoa backend 2021-10-18 11:03:34 +03:00
alexey.lysiuk
7741a934b8 - bump macOS version to 10.12 in .plist 2021-10-18 10:41:02 +03:00
alexey.lysiuk
c27fc92776 - fixed xcode bundle identifier warning
warning: User-supplied CFBundleIdentifier value 'org.drdteam.gzdoom' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''.
2021-10-18 10:40:25 +03:00
alexey.lysiuk
b85282fe5e - disabled nullability warnings in Vulkan memory allocator 2021-10-18 10:27:03 +03:00
alexey.lysiuk
e0cdb1e32e - removed NoVirtualRefCountedBase class 2021-10-18 10:26:21 +03:00
alexey.lysiuk
94b77de5ed - fixed Vulkan memory allocator initialization 2021-10-18 09:50:33 +03:00
alexey.lysiuk
bc33856875 - bump minimum macOS version to 10.12
src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h:2450:18: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
2021-10-18 09:47:44 +03:00
alexey.lysiuk
df2d07e0d5 - update Vulkan headers to the latest released SDK
https://github.com/KhronosGroup/Vulkan-Headers/releases/tag/sdk-1.2.189.1

This fixes missing `VK_ERROR_UNKNOWN` definition
2021-10-18 09:47:44 +03:00
alexey.lysiuk
80b8ab8fa2 - add missing vk_mem_alloc.natvis
1b0bd18053/src/vk_mem_alloc.natvis
2021-10-18 09:44:47 +03:00
Christoph Oelckers
eb9f752db8 - updated vk_mem_alloc. 2021-10-17 09:12:03 +02:00
Christoph Oelckers
8149c3e936 - text update. 2021-10-16 21:52:36 +02:00
Rachael Alexanderson
0b1668ce25 - remove vestigial folder from the now removed submodule 2021-10-16 15:31:12 -04:00
Rachael Alexanderson
4e88a25d38 - readd widepix as content 2021-10-16 15:29:18 -04:00
Rachael Alexanderson
c12a09c2ad - remove submodule 2021-10-16 15:20:40 -04:00
Rachael Alexanderson
8fbde52e39 - another widepix update 2021-10-16 15:14:09 -04:00
Rachael Alexanderson
c2eda1d65d - update widepix 2021-10-16 15:01:59 -04:00
Marisa Kirisame
95b8629fe0 Allow customization of pause screen. 2021-10-16 11:33:30 +02:00
Marisa Kirisame
d5ad8b28ec PreTravelled virtual for player and inventory. 2021-10-15 17:37:19 +02:00
Marisa Kirisame
bc75dc056e Compat patch for misplaced items in Hexen MAP08. 2021-10-14 21:35:32 +02:00
Hugo Locurcio
d0975467f5 Add cvars to control automap line alpha and thickness
This can be used to improve automap readability on high-resolution
displays.

Some automap options in the menu were reordered to follow a more
logical order.
2021-10-11 22:30:31 +02:00
Marisa Kirisame
7c591cd0e9 Allow map markers to scale relative to automap zoom. 2021-10-08 16:03:51 +02:00
Rachael Alexanderson
3fcb1cc847 - update widepix 2021-10-08 09:58:35 -04:00
Christoph Oelckers
19aac25f19 - fixed some imprecisions in font luminosity calculation.
This was still going through the palette which could result in off-by-one errors.
2021-10-07 00:13:34 +02:00
Christoph Oelckers
60bf096912 - fixed palette initialization for single lump fonts (FON2 and BMF)
The bad increment was due to the palette being a byte array in older versions.
2021-10-06 20:30:29 +02:00
Christoph Oelckers
a8ea5bef00 - removed unused static array. 2021-10-06 14:10:22 +02:00
Christoph Oelckers
8d9d56c339 - push sprite shadows a little back for distance sorting
They always need to be behind sprites with the same distance.
2021-10-05 13:57:31 +02:00
Christoph Oelckers
3c961a2aa2 - avoid multiple Dehacked mappings to the same function.
Due to some MBF21 related changes these would cause interference.
Instead the two affected functions, A_NailBomb and A_RadiusDamage are now separate script functions that just call A_Explode with the correct parameters.
2021-10-03 18:16:37 +02:00
Christoph Oelckers
6e9e75c02c - disallow changing the line spacing for option menus.
With the VGA font this makes no sense anymore.
2021-10-03 15:54:08 +02:00
Christoph Oelckers
6bf487dac3 - fixed wrong state being checked for dynamic light updating. 2021-10-03 15:44:42 +02:00
Christoph Oelckers
b4d03501af - be a bit more aggressive with the GC when not running the game loop.
Since most CheckGC calls are within the main game ticker, the engine can accumulate a lot of data when creating/deleting objects in the menu or other UI parts and never manage to collect everything
2021-10-03 14:01:27 +02:00
Christoph Oelckers
88be3b8a1b - fixed base class for DShape2DBufferInfo. 2021-10-03 13:09:39 +02:00
Christoph Oelckers
6da9f00e6e - allow "INDEXFON" as an alias for "INDEXFONT". 2021-10-03 09:00:24 +02:00
Marisa Kirisame
457f7c31c3 Allow WorldUnloaded events to know the next map name (if any). 2021-10-01 20:18:36 +02:00