Commit graph

19,857 commits

Author SHA1 Message Date
Magnus Norddahl
7bbd69e7e3 Improve start screen logo rendering by rendering it directly to screen instead of using StartupTexture 2024-10-30 00:00:46 +01:00
nashmuhandes
a37c47cf92 Change SetSunDirection to take in angle and pitch 2024-10-24 12:59:12 +08:00
nashmuhandes
42a02eb2db Fix default lightmap sample distance (16 is too blurry; plus 8 matches what it is in UDB) 2024-10-24 11:20:03 +08:00
nashmuhandes
521d44d623 Fix compile error 2024-10-24 11:15:59 +08:00
Nash Muhandes
7092550d3e
Merge branch 'master' into pr_lightmap_modding_vkdoom 2024-10-24 11:06:26 +08:00
dpjudas
4fee895c2b Remove unused struct 2024-10-22 02:30:18 +02:00
dpjudas
dfbef085e6 Group lightmap variables and put polyobj walls in a dynamic lightmap atlas 2024-10-22 02:29:12 +02:00
Magnus Norddahl
c866937262 Fix upload bug and skip upload when RT cores are available 2024-10-21 20:50:25 +02:00
dpjudas
e7c2716191 Remove old node header node from upload code 2024-10-21 02:03:09 +02:00
dpjudas
9bf6e60021 Fix TLAS to BLAS links not pointing at the root node of the BLAS 2024-10-21 01:38:23 +02:00
dpjudas
8cbef52626 Fix typo making it rebuild every BLAS if level changes 2024-10-21 00:52:33 +02:00
Magnus Norddahl
1073bcfa69 Fix TLAS bug 2024-10-21 00:09:47 +02:00
dpjudas
4a425c4493 Add support for updating the CPU-side accelstruct used for actor tracing 2024-10-20 23:54:15 +02:00
Rachael Alexanderson
7980d351b7
Merge branch '4.13' of ../gzdoom into gz4.13.1-merge 2024-10-20 10:25:15 -04:00
Ricardo Luís Vaz Silva
689dc61fa8
Fully revert #2479
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
2024-10-19 18:37:58 -04:00
nashmuhandes
a45bf49616
Move no-mipmapping from actor renderflag/particle flag, to a material property in GLDEFS, where it makes more sense. The feature was introduced in the short-lived engine version of 4.13 which was deemed too broken and needed to be replaced with a newer version anyway, so might as well perform an API-breaking change at this point in time. Note that this currently only works for sprites (its primary targeted use case) -- walls, flats and models can be patched in later. 2024-10-19 18:36:34 -04:00
Rachael Alexanderson
5fb83d4762
Revert "Added SECMF_HURTMONSTERS, SECMF_HARMINAIR and NOSECTORDAMAGE."
This reverts commit 391f496512.
2024-10-19 10:25:19 -04:00
Rachael Alexanderson
3b07747af4
Revert "- simplify and deconstruct logic for applying sector damage - also fixes voodoo doll sector damage in TNT MAP30"
This reverts commit 3e33e31d19.

Revert "Added MF9_FORCESECTORDAMAGE."

This reverts commit 61bd3a739a.
2024-10-19 10:17:52 -04:00
Christoph Oelckers
769274656e
made FCommandLine::operator[] return a const char * and fixed two places where this triggered a compile error. 2024-10-19 08:06:53 -04:00
Christoph Oelckers
b5fdd6deff
fix bad string comparison. 2024-10-19 08:06:53 -04:00
Christoph Oelckers
6921bf18ce
do not open resource files from non-open file readers. 2024-10-19 08:06:53 -04:00
dileepvr
131ce183db
Missed a line in RenderOrthoNoFog
Tying up the fov fix.
2024-10-18 03:35:28 -04:00
dileepvr
ee16e47b11
FOV scales ortho up to 180 degrees
One line change in r_utility.cpp affecting a custom field.

Orthographic projection sees "more" of the sceen as fov increases, but only up to 180 degrees, after which it will have no effect.
Orthographic projection has no meaning for fov since there is no Frustum. But since this is fundamental to the engine, I am reinterpreting it. Cherno wanted this too.
I'll update the wiki if this gets in.
2024-10-18 03:35:28 -04:00
Rachael Alexanderson
48b23bdfae
- readd canvas check 2024-10-17 23:45:22 -04:00
Rachael Alexanderson
7a4a7146f5
Revert "- Actor.GetSpecies() is a non-destructive function"
This reverts commit ee5442c06b.
2024-10-17 21:29:07 -04:00
Ricardo Luís Vaz Silva
7baa25e993
allow getting checksum for current map 2024-10-17 17:01:30 -04:00
Christoph Oelckers
bf84d8152b
do not set console mode from an uninitialized variable. 2024-10-16 17:30:21 -04:00
Magnus Norddahl
fee5e3a58b Fix lightmap lights not updating 2024-10-16 21:38:30 +02:00
Magnus Norddahl
bb1174172a Don't render the lightmap lights as dynlights in gl_levelmesh 2024-10-16 15:01:37 +02:00
Rachael Alexanderson
3af3b2e742
- keep ENABLE_VIRTUAL_TERMINAL_PROCESSING mode in isolated console mode 2024-10-16 06:05:05 -04:00
Rachael Alexanderson
e242330c96
- we don't need these includes anymore 2024-10-16 06:02:05 -04:00
Rachael Alexanderson
86cd212d7f
- fix isolated console mode (i.e. launching from explorer.exe) 2024-10-16 05:59:40 -04:00
nashmuhandes
83b988c76e Merge branch '4.13' of https://github.com/ZDoom/gzdoom 2024-10-16 02:31:44 +08:00
Ricardo Luís Vaz Silva
38b8c7bed9 switch defines to template 2024-10-15 19:37:38 +02:00
Ricardo Luís Vaz Silva
44e69451cf Hook up 3d floor updates to the level mesh 2024-10-15 18:33:30 +02:00
Rachael Alexanderson
9a9440a6f7
- enable console subsystem processing for Windows, enable runtime detection 2024-10-15 10:56:57 -04:00
Rachael Alexanderson
ffcce790de
- Actor.GetSpecies() is a non-destructive function 2024-10-15 10:56:50 -04:00
Major Cooke
cca1946201
Added (SPF_)STRETCHPIXELS.
This counteracts the squaring implied by rolling sprites.
2024-10-15 10:56:43 -04:00
Rachael Alexanderson
2f30f720a4
- simplify and deconstruct logic for applying sector damage - also fixes voodoo doll sector damage in TNT MAP30 2024-10-15 10:56:27 -04:00
Jan Engelhardt
0785038120
Resolve compiler warning about destructor syntax
gcc-14 warns:

tarray.h:927:9: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
  927 |         ~TDeletingArray<T, TT> ()
2024-10-15 10:56:13 -04:00
Rachael Alexanderson
1a699c08af
- this is version 4.13.0
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
2024-10-12 01:28:09 -04:00
Rachael Alexanderson
e562111a51
- don't show iwad box if priority iwad has been located for the currently loaded mods gameinfo 2024-10-12 01:25:21 -04:00
Ricardo Luís Vaz Silva
74a49ca919 change light strength to light linearity 0.0 = inverse square, 1.0 = linear 2024-10-11 11:43:09 +02:00
nashmuhandes
55940ba21d Merge branch 'master' of https://github.com/ZDoom/gzdoom 2024-10-10 22:04:23 +08:00
Rachael Alexanderson
24792913ca
- don't spam the console log if there's math errors - mostly affects Linux/MacOS because there is no distinction from console apps or GUI apps so they put all the data in the console which can cause lag 2024-10-10 07:28:29 -04:00
inkoalawetrust
61bd3a739a Added MF9_FORCESECTORDAMAGE.
This flag forces non-player actors to take  damage from hurt floors even if SECMF_HURTMONSTERS isn't true.
2024-10-09 13:51:48 -03:00
Christoph Oelckers
d90de3a8a1
avoid floats in integer math. 2024-10-09 09:15:29 -04:00
Ricardo Luís Vaz Silva
c1442f1c21 clean up HWViewpointUniforms 2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
4615a8e103 update GetDynSpriteLight to use new strength field 2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
479e0c301e add light_noshadowmap/light_dontlightactors/light_dontlightmap to UDMF 2024-10-09 04:44:51 +02:00