Commit graph

22,495 commits

Author SHA1 Message Date
Marcus Minhorst
e05928dc1b Fix Wformat-insufficient-arg 2025-08-09 21:20:56 -03:00
Marcus Minhorst
6e63c14eee Fixed up format specifiers in DAP 2025-08-09 21:20:56 -03:00
Marcus Minhorst
28a865e2ff Marked arg as format string 2025-08-09 21:20:56 -03:00
Sally Coolatta
4b55e7ad14 Reverse iteration order of ValidateIWADs
Scenario:
- Using `-iwad` to explicitly use an IWAD outside of your search paths
- You have other, older versions hiding in your search paths
- You then change your IWADINFO's BannerColors, cue confusion

Because `IdentifyVersion` does search paths then -iwad, and `ValidateIWADs` iterates them in normal order, the file that gets to determine the IWAD startup settings is whatever file is found on the system instead of the file specifically requested.
2025-08-08 19:38:57 -03:00
Boondorl
18300448ee Added recursive paths for IWADs and file searching
Adds a RecursivePath= key for checking subfolders in a given path. Only supports finding direct files and not directories. Currently configs and dehacked aren't supported.
2025-08-08 19:38:17 -03:00
Ricardo Luís Vaz Silva
d411893e44 fix wrong sign comparison 2025-08-08 05:49:30 -03:00
Ricardo Luís Vaz Silva
439d09059e turn assert into if 2025-08-07 21:04:26 -03:00
Ricardo Luís Vaz Silva
773c534896 remove linked lists entirely from lights 2025-08-07 21:04:26 -03:00
Ricardo Luís Vaz Silva
04c29dcf4b make sure lights are unlinked, and clear light lists even when loading saves as saves may be from different levels 2025-08-07 21:04:26 -03:00
Ricardo Luís Vaz Silva
807043b995 dynlight optimize attempt 2025-08-07 21:04:26 -03:00
Rachael Alexanderson
1dafe942c8
Convert ENDOOM to ANSI output for terminal (Linux/Mac/Windows 10+11 Console App) (#3289)
- put an ansi endoom out on the console on exit
- add truecolor support, a couple fixes and cleanups in the code
2025-08-07 05:00:25 -04:00
Marcus Minhorst
54b80b96cd Allow for progress bar completion 2025-08-06 23:48:56 -03:00
Marcus Minhorst
09b77664db Fix pointer being used as bool 2025-08-06 23:47:45 -03:00
Ricardo Luís Vaz Silva
41baae22c0 minor optimizations to oob/ortho checks 2025-08-06 14:57:34 -03:00
Ricardo Luís Vaz Silva
403b722984 and another or 😭 2025-08-06 00:21:44 -03:00
Ricardo Luís Vaz Silva
35ee1a5806 forgot an or 😅 2025-08-06 00:10:29 -03:00
Ricardo Luís Vaz Silva
01e3ff0709 fix duplicated source file with zmusic static build 2025-08-06 00:00:21 -03:00
Rachael Alexanderson
6b951b1ac7
- enable ENABLE_PROCESSED_OUTPUT in console mode in Windows 2025-08-05 14:14:36 -04:00
Marcus Minhorst
0f26139e10 Added "latest" ubuntu image and compiler configs 2025-08-04 21:41:10 -04:00
dileepvr
798308a511 fix distant z-fighitng in reflective flats
Z-fighting between flat texture and stencil at long distances was occurring, showing up as a "shimmer" at a long distance from the camera. Just increasing the vertical shift of flat texture.

Addressing this bug: https://github.com/ZDoom/gzdoom/issues/3246
2025-08-04 19:17:04 -03:00
SAN4EZDREAMS
400c327ee1 [BUG] [GCC] warning: comparison fix 1 2025-08-04 18:16:11 -04:00
Madeline Mewmews
ba933a6f80 Flesh out FORCE_INTERNAL_ZMUSIC cmake option
Signed-off-by: Madeline Mewmews <maddie@mewmews.gay>
2025-08-04 18:13:57 -04:00
Ricardo Luís Vaz Silva
2f52f73b9b fix cmake 2025-08-04 04:10:11 -03:00
Jon Daniel
c870cb7aa6 use %zu instead of %d for size_t printf 2025-08-04 04:08:20 -03:00
Boondorl
316b18a4d9 Added built-in delta time handling
Allows tracking time since last-rendered frame in seconds.
2025-08-02 19:44:00 -03:00
DyNaM1Kk
132ce96a10 Made the pause strings wrap 2025-08-02 17:36:29 -03:00
DyNaM1Kk
c98042ed02 Added option to use a string instead of pause graphic 2025-08-02 17:36:29 -03:00
Boondorl
789829f967 Fixed regression with camera while travelling
Also readds guard for trying to move travellers out of the list at map start.
2025-08-02 17:35:16 -03:00
Boondorl
a1eadc0916 Added travel support for client-side Thinkers 2025-08-02 17:35:16 -03:00
Boondorl
8604830f4c Prevent thinkers from being set to travel while not changing level 2025-08-02 17:35:16 -03:00
Boondorl
86375c1b79 Move travelling to two-step system
Mark Actors meant to travel early so their flag can be written into the snapshot, followed by moving them over all at once at the same time as previously. On finish, destroy any marked Actors to prevent duplication in hubs. Switch to a unique function that does the verification instead of ChangeStatNum and lock out STAT_TRAVELLING entirely since it shouldn't be used for regular gameplay.
2025-08-02 17:35:16 -03:00
Boondorl
00d2b43ce0 Remember statnum when travelling
Also cleans up the functions a little.
2025-08-02 17:35:16 -03:00
Boondorl
d7d71177d7 Reworked Travelling logic
Added safety barriers for STAT_STATIC and STAT_TRAVELLING to avoid potential exploits. Properly clear all internal fields pointing towards non-read barriered data and always relink properly when finishing travelling. Moved ZScript callback to after travelling has finished for all Thinkers, that way everything is initialized correctly.  Allow arbitrary thinkers (excluding native ones) to be added to the travelling list (for Actors, their positioning will need to be handled by modders). Ensure lights get re-enabled after travelling.
2025-08-02 17:35:16 -03:00
Marcus Minhorst
7ccd0dd3cd Fix oboe 2025-08-02 15:04:34 -03:00
Boondorl
1fd267a96a Improved Object handling while predicting
Added a warning if a networked Object or non-client-side Thinker was erroneously destroyed manually while predicting. This only applies to ZScript since this is the only place it's relevant. Added a warning if a non-client-side Thinker was spawned while predicting. Sweep objects before backing up while predicting to ensure invalid pointers aren't captured.
2025-08-02 15:03:18 -03:00
nashmuhandes
346f4c0e87 Add gl_weapon_purelightlevel to make view weapon sprites/models match sector light levels purely 2025-08-02 12:00:50 -04:00
Rachael Alexanderson
d72ae6d14b
- implement impure's changes to discordrpc to use crt allocator to prevent crashes with newer versions of cmake 2025-08-02 11:55:24 -04:00
Rachael Alexanderson
abb52b43ab
Merge pull request #3272 from the-phinet/workflow
Minor workflow fix
2025-08-02 11:28:29 -04:00
Marcus Minhorst
c9abd4966e change apt to apt-get 2025-08-02 11:16:16 -04:00
SAN4EZDREAMS
0418bec4b1
Menudef bool arguments expect integers Fix 2025-08-01 17:53:05 -03:00
alexey.lysiuk
2db3f7bc45 - fixed build with system-wide ZMusic intallation
tools/zipdir/zipdir.c:47:10: fatal error: 'miniz.h' file not found
2025-08-01 11:54:27 +03:00
Rachael Alexanderson
e5f42ab2d2
Merge pull request #3264 from madame-rachelle/submodules
Subtrees for ZMusic and ZWidget
2025-07-31 04:12:36 -04:00
Boondorl
d6ead264ed Fixed +playerclass not being respected when new players join a save 2025-07-31 04:11:22 -04:00
Sally Coolatta
4cc5fe942d Save/Load menu: Add delete bind for gamepads 2025-07-30 12:56:06 -03:00
Rachael Alexanderson
e4a77cf8be
Create SECURITY.md 2025-07-30 02:55:41 -04:00
Rachael Alexanderson
34c2d4f917
Squashed commit of the following:
- add submodule update scripts
    - remove auto-setup scripts, they don't work anymore
    - copy zmusic.dll into build folder (this may need to be also done on Linux sometime)
    mirror changes from commit '194fb9e' at https://github.com/dpjudas/vkdoom
    - fix for case sensitive systems
2025-07-30 01:25:09 -04:00
Rachael Alexanderson
054baa3b5e
- remove external zmusic checkout from the ci 2025-07-30 00:41:16 -04:00
Rachael Alexanderson
dbdc3e8670
- no more need for zmusic binary blobs 2025-07-30 00:38:50 -04:00
Rachael Alexanderson
397976738f
- integrate zmusic into normal build process 2025-07-30 00:37:50 -04:00
Rachael Alexanderson
8f1f0d5a02 Merge commit '9f3cb3d92e' as 'libraries/ZMusic' 2025-07-30 00:24:15 -04:00