Commit graph

20,802 commits

Author SHA1 Message Date
Magnus Norddahl
e3cde7a9e9 More big beautiful porting 2025-08-08 00:43:45 +02:00
Magnus Norddahl
3fdd22ef91 Merge remote-tracking branch 'gzdoom/master' into big_beautiful_merge 2025-08-06 21:06:53 +02: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
nashmuhandes
e129c2d3bd Default the status bar scale to a more useful size for modern displays. 2025-08-06 08:42:32 +08:00
nashmuhandes
e1c2c93f28 Bump max decals. This isn't year 2000 anymore. Also use a number divisible by 100 as that's the amount the menu slider increases by. 2025-08-06 08:28:59 +08:00
nashmuhandes
cc31619678 Enable filtered sprite edge blending by default. While VKDoom doesn't filter textures initially; should the user choose to enable it, at least make the sprites look better. 2025-08-06 08:27:26 +08:00
nashmuhandes
8ef879f43b Turn off rocket trails by default (Doom didn't originally have this) 2025-08-06 08:25:40 +08:00
Rachael Alexanderson
6b951b1ac7
- enable ENABLE_PROCESSED_OUTPUT in console mode in Windows 2025-08-05 14:14:36 -04:00
Magnus Norddahl
23a344b086 Apply sunlight as a true light source for line horizons 2025-08-05 10:53:26 +02: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
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
Magnus Norddahl
45c9c281e2 Disable camera frustum clipping for portals 2025-08-04 00:58:48 +02:00
Magnus Norddahl
f7e17f27b9 Fix atlas free bug 2025-08-03 23:09:09 +02: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
Magnus Norddahl
a66e584be0 Add the camera frustum culling to the normal hwrenderer as well 2025-08-01 09:34:13 +02: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
Magnus Norddahl
378d99fcc4 Don't try draw canvas texture as indexed 2025-07-25 03:19:38 +02:00
Magnus Norddahl
b23617475c Use palette textures for translucent/sprites and apply the translation remap when requesting an indexed texture 2025-07-25 02:50:45 +02: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