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
dpjudas
55aa1d44eb
Resize node buffer if too small
2024-12-08 04:40:24 +01:00
Magnus Norddahl
7b75a080b9
Remove "first/second chance not available" spam from crash reports
2024-11-12 23:14:51 +01: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
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
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
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
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
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
6921bf18ce
do not open resource files from non-open file readers.
2024-10-19 08:06:53 -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
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
Rachael Alexanderson
9a9440a6f7
- enable console subsystem processing for Windows, enable runtime detection
2024-10-15 10:56:57 -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
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
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
159ae02a2a
fix includes
2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
04ee3c335e
switch from uniform to shader keys
2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
37a7907221
Allow setting light attenuation mode from mapinfo
2024-10-09 04:44:51 +02:00
nashmuhandes
58ddcd4806
Merge commit ' 6b5be653dc'
2024-10-06 21:29:38 +08:00
Christoph Oelckers
413aefb0ab
added CVAR to select the preferred MOD player and SNDINFO option to set it per song.
2024-10-05 12:37:55 +02:00
Christoph Oelckers
f0676cdf01
fixed a few memory leaks
2024-10-05 10:22:05 +02:00
Magnus Norddahl
7df842bbed
Add the shaders needed to create convoluted PBR maps
2024-10-04 02:46:07 +02:00
Christoph Oelckers
3798fd815f
the MISSILE(EVEN)MORE flags still need to be accessible by ZScript for backwards compatibility.
...
Since these do not exist anymore an internal interface to Handle/CheckDeprecatedFlags was added.
2024-10-03 12:32:09 +02:00
Magnus Norddahl
c0bbe3a43a
Hook up some more PBR stuff
2024-10-03 02:37:08 +02:00
nashmuhandes
5ac0b1b84c
Apply limits to the ZDRayInfo lm_sampledist value
2024-10-02 01:37:30 +08:00
nashmuhandes
9cd2f7530d
Change default LightmapSampleDistance value to match the default value in UDB
2024-10-02 00:54:19 +08:00
Cacodemon345
e88d912892
ID24 interlevel lumps implementation
2024-10-01 16:48:07 +02:00
Magnus Norddahl
4d934ab310
Add missing declaration on posix systems
2024-09-30 20:13:50 +02:00
Magnus Norddahl
a5099699e8
Extract the call stack from the minidump file and display the call stack if PDB files are available
2024-09-30 19:49:23 +02:00
Magnus Norddahl
d69d190dc3
Add savelightmap and deletelightmap ccmds
2024-09-30 18:48:48 +02:00