Commit graph

19,883 commits

Author SHA1 Message Date
Magnus Norddahl
2040be87a5 One more save fix 2024-12-12 23:10:13 +01:00
Magnus Norddahl
bd3b41cffb Don't save dynamic lightmap textures 2024-12-12 21:19:17 +01:00
Magnus Norddahl
1004d6ae20 Exclude inactive triangles from subdivide 2024-12-12 20:18:27 +01:00
Magnus Norddahl
ab7c7cb465 Allocate from the start of the free lists 2024-12-12 20:08:38 +01:00
Magnus Norddahl
c46896599c Use the SSE2 version in debug builds as its faster when the optimizer isn't running 2024-12-12 20:08:08 +01:00
Magnus Norddahl
22aab27058 Add some lame free list info 2024-12-12 18:58:47 +01:00
Boondorl
0b8989968d 3D floor performance fix
Prevent dummy trace sectors from sending updates to the accel struct
2024-12-12 16:05:09 +08:00
Magnus Norddahl
9729d8abc0 Fix median not getting initialized
Added some SSE2 code that wasn't faster unfortunately
2024-12-11 01:28:52 +01:00
Magnus Norddahl
6190ffecda Also expand the bbox for the TLAS tree 2024-12-10 23:12:12 +01:00
Magnus Norddahl
bc5bf8ca7b Increase the bounding box for numerical stability 2024-12-10 23:10:16 +01:00
Magnus Norddahl
dafc612b68 Add measurement of how long DoomLevelMesh::BeginFrame took 2024-12-10 23:05:57 +01:00
nashmuhandes
ca469e57ed Revert "Show hitboxes even for invisible things (not sure if this is the most elegant solution; will revert this commit if I could come up with a better way)"
This reverts commit 1fc1f467a0.

(Revert note: the fix here is messy and incorrect. Roll the code back to a cleaner slate to help smoothen the merge with the pending GZDoom 4.14 update, THEN later figure out how to fix this properly)
2024-12-10 17:14:12 +08:00
dpjudas
55aa1d44eb Resize node buffer if too small 2024-12-08 04:40:24 +01:00
Magnus Norddahl
db4472b067 Maps with a ZDRayInfo must always have dynamic lights (gl_lights cvar is ignored in this situation) 2024-12-06 20:58:12 +01:00
nashmuhandes
1fc1f467a0 Show hitboxes even for invisible things (not sure if this is the most elegant solution; will revert this commit if I could come up with a better way) 2024-11-14 23:29:36 +08:00
Magnus Norddahl
7b75a080b9 Remove "first/second chance not available" spam from crash reports 2024-11-12 23:14:51 +01:00
nashmuhandes
8402f3f7fa Update Discord AppID 2024-11-05 05:31:34 +08:00
Boondorl
57202305d6 Added toggle for lm_dynamic 2024-11-02 09:20:23 +01:00
nashmuhandes
2c45d9aa99 Merge remote-tracking branch 'remotes/ZDoom/gzdoom/4.13' 2024-11-01 21:17:09 +08:00
Major Cooke
0c29e3a778
Fixed STRETCHPIXELS flag not being exposed.
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-31 07:57:41 -04:00
Magnus Norddahl
f5a0e01b2c Support STARTUPSONG for the generic startupscreen 2024-10-30 00:37:08 +01:00
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
Ricardo Luís Vaz Silva
b84d28e9a7
Allow using Self as the class name in the default block to refer to the current class 2024-10-28 12:07:49 -04:00
Dileep V. Reddy
dc6f116315
Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection. 2024-10-28 12:07:44 -04:00
Rachael Alexanderson
3c36102eed
- cap the size of the string copy calls in LevelStatEntry() 2024-10-28 12:07:29 -04:00
Christoph Oelckers
2cbb980388
Check array size for overflow.
Since ZScript is a 32 bit VM, the largest safe value for an array's physical size is 2GB. Any larger value will be destroyed by the compiler which relies on signed 32 bit values too much.
2024-10-28 12:07:15 -04:00
Christoph Oelckers
adeb48d598
Do a check if a local variable exceeds the available stack space.
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
2024-10-28 12:07:10 -04: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