Commit graph

19,610 commits

Author SHA1 Message Date
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
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
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
SAN4EZDREAMS
0418bec4b1
Menudef bool arguments expect integers Fix 2025-08-01 17:53:05 -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
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
397976738f
- integrate zmusic into normal build process 2025-07-30 00:37:50 -04:00
drfrag
ecc8701260 - Fix crash in FileSystem::ReadFile when loading empty lumps. 2025-07-29 08:20:20 -04:00
Boondorl
b6b3c311e1 Export DecalBase
Allows setting this between Actors with type safety. Now also serializes these fields.
2025-07-28 15:24:04 -03:00
Boondorl
4acc5f2a7d Lock down MessageBox handler 2025-07-28 14:36:54 -03:00
Boondorl
a4ed63033e Fixed quick save rotator breaking save logic
The game should only ever save during the gameplay loop and never on the spot. Also fixes the quick save rotator skipping certain checks.
2025-07-28 02:50:10 -04:00
Marcus Minhorst
9a6569a916 Added option to disable sound when moving cursor by hovering. 2025-07-27 17:33:44 -03:00
Marcus Minhorst
cbe710b549 Added option to disable sound when moving cursor by using scrollwheel. 2025-07-27 17:33:44 -03:00
Boondorl
9a4c2dc111 Ensure BlockingMobj checks don't fail on destroyed Actors when handling physics 2025-07-27 17:18:53 -03:00
Marcus Minhorst
87ad07f298 Added SDL HoldingQueryKey implemenation
Co-authored-by: Boondorl <boondorl@live.com>
2025-07-26 21:59:16 -03:00
Marcus Minhorst
b568cbfd17 Added release notes for previous version 2025-07-26 21:57:11 -03:00
Boondorl
66c5beccbd Added UUID for game sessions
Allows the SavegameManager to destroy all saves related to the current UUID session so hardcore mods can enforce this safely instead of needing to go nuclear.
2025-07-26 11:43:59 -03:00
Boondorl
443e899759 Fixed assert in P_GeometryRadiusAttack
Clamp the floor to the ceiling so malformed sectors don't break height checking.
2025-07-25 04:18:59 -03:00
Ricardo Luís Vaz Silva
9b44f2315d fix BlockingMobj ignoring the GC and possibly becoming a stale pointer 2025-07-24 06:23:32 -03:00
Boondorl
f0283a7773 Added -optfile argument
Allows specify optional files from the commandline (note: this currently isn't hooked up to the filesystem proper for marking, this is purely for the file parsing until then).
2025-07-23 01:03:02 -03:00
Boondorl
9731a82b7c Added ability to stop PWADs from autoloading IWADs
This will be useful for accessing the multiplayer tab and also allows accessing settings like language before auto booting up.
2025-07-23 00:40:36 -03:00
Boondorl
7d1f2df404
Added scale and alpha interpolation
Similar to angles, needs to be enabled via flags to prevent breaking existing sprites.
2025-07-22 11:35:20 -03:00
Chris Robinson
f17f732b7a Handle the sample type passed to S_CreateCustomStream 2025-07-22 11:21:18 -03:00
Chris Robinson
e902ad62fa Consolidate code to get the OpenAL format 2025-07-22 11:21:18 -03:00
Chris Robinson
c5910976d2 Use the new ZMusic_GetStreamInfoEx function 2025-07-22 11:21:18 -03:00
nashmuhandes
47f6f4cb1c Allow the blood splat decal distance to be customizable in MAPINFO's GameInfo block 2025-07-22 10:37:22 -03:00
Rachael Alexanderson
7d2d874afb - allow voodoo dolls to trigger lock messages 2025-07-22 10:36:16 -03:00
Ricardo Luís Vaz Silva
d17a4fd221 fix angled roll if xy billboard is enabled 2025-07-22 10:36:07 -03:00
Dileep V. Reddy
19291c5e5c Sprite lean/angled roll with geometric consistency in multiplayer and mirrors. An ANGLEDROLL flag ties actor's sprite-rolling axis to physical direction instead of viewpoint. Y-Billboarding occurs about a rolled axis (unlike flatsprites which don't billboard). This makes roll consistent when viewed from all angles and in reflections. Useful for sprite-based laser beams and lean mechanics with third-person cameras and/or multiplayer mods. 2025-07-22 10:36:07 -03:00
Dileep V. Reddy
da13a7e839 Stencil broke stacked sectors. Fixing. 2025-07-20 23:48:47 -03:00
Boondorl
53ffe3ddda Stopped save games from being deleteable outside menus 2025-07-20 05:41:50 -03:00
Marcus Minhorst
3121214091 Added mime type associations and quick launch options 2025-07-19 11:40:02 -03:00
Marcus Minhorst
5f9f07a93c Added appstream screenshots 2025-07-19 11:38:55 -03:00
Marcus Minhorst
649ddd7774 Replaced uint with unsigned int 2025-07-19 11:37:24 -03:00
Boondorl
b2c57b6656 Fixed invalid name for state parameter
This is the same name the macro uses to return it...
2025-07-19 11:23:52 -03:00
Marcus Minhorst
30cc12912b Added uint typedef under windows 2025-07-18 21:11:50 -03:00
Marcus Minhorst
9b0f5d9b0d Fixes sign-compare warnings 2025-07-18 21:11:50 -03:00