Commit graph

18,388 commits

Author SHA1 Message Date
Magnus Norddahl
2498b2d3bc Add hint which of the uniforms are used by SetColor (maybe later move them to a secondary uniform block for independent updating) 2023-04-26 00:38:00 +02:00
Magnus Norddahl
eef9b05f46 Remove mAlphaThreshold 2023-04-24 22:50:04 +02:00
Magnus Norddahl
02be512738 Remove mClipSplit 2023-04-24 22:45:19 +02:00
Magnus Norddahl
ac1a918989 Remove mLightParms 2023-04-24 22:41:07 +02:00
Magnus Norddahl
b7236f3031 Remove unused uniforms and restrict push constants to only control offsets into buffers 2023-04-24 22:10:17 +02:00
Magnus Norddahl
e0c11c1e48 Remove EPassType from VkShaderManager::Get and CompileNextShader() from VkShaderManager constructor 2023-04-24 00:14:04 +02:00
Magnus Norddahl
1730a2d5b2
Merge pull request #11 from nashmuhandes/gzd_master
Sync to GZDoom master branch
2023-04-23 03:26:26 +02:00
Magnus Norddahl
b1ebb8231f Change the options menu to follow a more logical modern layout
Remove the old simple menu as that only made things worse
2023-04-23 02:00:49 +02:00
Ricardo Luís Vaz Silva
575887b5c9 Fix value of X = Y when Y is an int constant 2023-04-21 00:44:29 +08:00
Christoph Oelckers
16eceadc7e - fixed handling for Turkish i's.
* islowermap and isuppermap were not set for the new characters.
* special handling for the lowercase dotted i in allcaps fonts returned the wrong character.
2023-04-21 00:44:28 +08:00
Mitchell Richters
534a7f8246 - Move invertmouse CVARs into common code.
* Removes duplication of CVAR definitions between Raze and GZDoom.
2023-04-21 00:44:01 +08:00
Mitchell Richters
c10ab58f70 - Properly fix default mouse x sensitivity. 2023-04-21 00:43:13 +08:00
Christoph Oelckers
44437faa5d - fixed crash when checking the extended character list for the current language.
For English this will be null because it got no extended characters.
2023-04-21 00:43:12 +08:00
Christoph Oelckers
33052385e7 - backported RapidJSON fix from Raze. 2023-04-21 00:43:12 +08:00
Christoph Oelckers
f6affef791 - adapted font system to properly handle Turkish.
Those i's are really messy, especially when dealing with allcaps or pure lowercase fonts.
2023-04-21 00:43:12 +08:00
Christoph Oelckers
7b26a144c2 - moved all service code to 'common'.
This needs to work on Raze as well!
2023-04-21 00:41:21 +08:00
Christoph Oelckers
18daf2c510 - update comment on SSBOs. 2023-04-21 00:41:21 +08:00
Christoph Oelckers
a8bff8e559 - fixed a few warnings pointed out by GCC. 2023-04-21 00:41:21 +08:00
Christoph Oelckers
912068118a - avoid arithmetics with literal null pointers in ParseCommandLine.
Also avoid using longs.
2023-04-21 00:41:20 +08:00
Christoph Oelckers
36591d2493 - fixed a few more leftover Clang warnings. 2023-04-21 00:41:20 +08:00
Christoph Oelckers
5a36680a11 - made D_WriteUserInfoStrings memory safe.
Its callers are anything but for now but this function was the main blocker for refactoring so it had to come first.
2023-04-21 00:41:20 +08:00
Christoph Oelckers
783ea20ec8 - updated RapidJson library.
This still needed the Nan hotfix to be reapplied. The problem hasn't been addressed yet. :(
2023-04-21 00:41:20 +08:00
Christoph Oelckers
b8f5511ee4 - fixed several warnings emitted by Clang. 2023-04-21 00:41:19 +08:00
Ricardo Luís Vaz Silva
5d0a7392fa Fix possible memory corruption in TArray::Delete(index, count) 2023-04-21 00:39:00 +08:00
RaveYard
fe99da4104 Use simpler constructor for TArray in FBlockThingsIterator 2023-04-21 00:39:00 +08:00
RaveYard
2c55266f6b Fix TArray allocating 0 bytes in constructor 2023-04-21 00:39:00 +08:00
CandiceJoy
ef9cd53653 Fixed incorrect parameter type in A_CheckForResurrection. 2023-04-21 00:39:00 +08:00
Magnus Norddahl
9afc518bc1 Also update the mac icon 2023-04-19 16:12:53 +02:00
Magnus Norddahl
adc3d06d6c Replace the icon 2023-04-19 16:10:16 +02:00
Magnus Norddahl
5c9ff283a6 Only add the lightmode actually being used into the shader 2023-04-19 02:28:32 +02:00
Magnus Norddahl
6381280177 Remove virtual inheritance 2023-04-16 21:49:05 +02:00
Magnus Norddahl
6894eb013f Begin removing binding points from the hwrenderer layer.
Well known buffers should be created and managed by the backend, otherwise the backend just becomes an OpenGL emulator.
2023-04-16 19:30:27 +02:00
Magnus Norddahl
1b221db996 Remove dead code 2023-04-16 17:34:52 +02:00
Magnus Norddahl
184e73ab28 Add GetDevice function instead of accessing device member directly 2023-04-16 17:07:55 +02:00
Magnus Norddahl
cd35a0ad76 More folder adjustments 2023-04-16 16:51:52 +02:00
Magnus Norddahl
295eb252ab Change the folder structure of the vulkan backend to better reflect what is going on 2023-04-16 16:39:15 +02:00
Magnus Norddahl
4638cc44d2 Fix null pointer crash when drawing sprites with a null actor 2023-04-16 14:35:01 +02:00
Magnus Norddahl
1f5b7a0256 Add support for gl_light_raytrace for cards that do not support rayquery 2023-04-12 02:09:28 +02:00
nashmuhandes
8204879ff8 Allow ZScript to control saving and the automap 2023-04-09 03:52:58 +08:00
Magnus Norddahl
76c692ab7e
Merge pull request #7 from nashmuhandes/RotatingModelsWhenPausedFix
Stop rotating the models if the game is actually paused.
2023-04-08 02:36:26 +02:00
nashmuhandes
217e47db3a Stop rotating the models if the game is actually paused. 2023-04-08 06:55:32 +08:00
Magnus Norddahl
9c67187c13
Merge pull request #5 from nashmuhandes/gl_texture_modeldebugfix
Allow gl_texture to affect models. Aids in debugging lightmap contrib…
2023-04-08 00:20:04 +02:00
nashmuhandes
fb49a919cb Allow gl_texture to affect models. Aids in debugging lightmap contribution on models. 2023-04-08 05:58:15 +08:00
nashmuhandes
3a2b451955 Add hitbox debug rendering (r_showhitbox) 2023-04-08 05:19:23 +08:00
Magnus Norddahl
4c3848cfb2 Cache the result of traces so that it only needs to be done for visible moving actors 2023-04-07 18:44:59 +02:00
Magnus Norddahl
ba0243e378 Fix sunlight not working on models 2023-04-07 18:00:48 +02:00
Magnus Norddahl
caefc09549 Improve shader performance significantly by only including raytracing or shadowmaps in the shader if enabled 2023-04-07 04:22:43 +02:00
Magnus Norddahl
74a4ad4633 Fix coronas 2023-04-06 21:11:29 +02:00
Magnus Norddahl
5ca4c51b7d Avoid stepping further into VkShaderManager::Get unless the shader has not been compiled 2023-04-06 19:48:28 +02:00
Magnus Norddahl
d5d6c07f53 Fix misc shader related issues 2023-04-06 19:36:58 +02:00